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

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder.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: Comments from ccameron. 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
Index: gpu/command_buffer/service/gles2_cmd_decoder.cc
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc
index affed33b0e82a8399fc076eb5e414d73e347da4a..10d31c1c34cb5c5cf79d1fbb9e659fa74fb8a8bd 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
@@ -9883,10 +9883,10 @@ error::Error GLES2DecoderImpl::HandleScheduleCALayerCHROMIUM(
mem[13], mem[17], mem[21], mem[25],
mem[14], mem[18], mem[22], mem[26],
mem[15], mem[19], mem[23], mem[27]);
- if (!surface_->ScheduleCALayer(image, contents_rect, c.opacity,
- c.background_color, c.edge_aa_mask,
- bounds_rect, c.is_clipped ? true : false,
- clip_rect, transform, c.sorting_context_id)) {
+ if (!surface_->ScheduleCALayer(
+ image, contents_rect, c.opacity, c.background_color, c.edge_aa_mask,
+ bounds_rect, c.is_clipped ? true : false, clip_rect, transform,
+ c.sorting_context_id, c.filter)) {
piman 2016/04/14 03:00:34 How do we validate c.filter for correct values? Ar
erikchen 2016/04/14 17:23:19 I added validation logic. I updated the documentat
LOCAL_SET_GL_ERROR(GL_INVALID_OPERATION, "glScheduleCALayerCHROMIUM",
"failed to schedule CALayer");
}
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_format_test_autogen.h ('k') | gpu/ipc/service/image_transport_surface_overlay_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698