Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4527)

Unified Diff: cc/output/gl_renderer.cc

Issue 1887533002: Add plumbing to command buffer for CALayer min and mag filter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix parameter ordering. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gpu/GLES2/extensions/CHROMIUM/CHROMIUM_schedule_ca_layer.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/gl_renderer.cc
diff --git a/cc/output/gl_renderer.cc b/cc/output/gl_renderer.cc
index ae13dd3bcb3e934eb7e90518c5598c54c895e1e5..414ffc0733c0263e1f9fb17f067b538414ae0906 100644
--- a/cc/output/gl_renderer.cc
+++ b/cc/output/gl_renderer.cc
@@ -3613,10 +3613,12 @@ void GLRenderer::ScheduleCALayers(DrawingFrame* frame) {
GLint sorting_context_id = ca_layer_overlay.sorting_context_id;
GLfloat transform[16];
ca_layer_overlay.transform.asColMajorf(transform);
+ unsigned filter = GL_LINEAR;
gl_->ScheduleCALayerCHROMIUM(
texture_id, contents_rect, ca_layer_overlay.opacity,
ca_layer_overlay.background_color, ca_layer_overlay.edge_aa_mask,
- bounds_rect, is_clipped, clip_rect, sorting_context_id, transform);
+ bounds_rect, is_clipped, clip_rect, sorting_context_id, transform,
+ filter);
}
}
« no previous file with comments | « no previous file | gpu/GLES2/extensions/CHROMIUM/CHROMIUM_schedule_ca_layer.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698