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

Unified Diff: cc/output/gl_renderer.cc

Issue 2162713002: Finish plumbing for CALayerOverlay filter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | no next file » | 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 47f1b222c8b2937519ca0539f89a534ffd2bf160..9636833288a6f40142721450933eb8d63d9d64aa 100644
--- a/cc/output/gl_renderer.cc
+++ b/cc/output/gl_renderer.cc
@@ -3660,7 +3660,7 @@ 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;
+ unsigned filter = ca_layer_overlay.filter;
gl_->ScheduleCALayerCHROMIUM(
texture_id, contents_rect, ca_layer_overlay.opacity,
ca_layer_overlay.background_color, ca_layer_overlay.edge_aa_mask,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698