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

Unified Diff: gpu/command_buffer/client/gles2_implementation.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
Index: gpu/command_buffer/client/gles2_implementation.cc
diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc
index 22032b0147c4d3a9ba33a19a6373b8bf1327ff28..d19a44bde87da59b966d07ab4e1aea89a407ad60 100644
--- a/gpu/command_buffer/client/gles2_implementation.cc
+++ b/gpu/command_buffer/client/gles2_implementation.cc
@@ -4768,7 +4768,8 @@ void GLES2Implementation::ScheduleCALayerCHROMIUM(GLuint contents_texture_id,
GLboolean is_clipped,
const GLfloat* clip_rect,
GLint sorting_context_id,
- const GLfloat* transform) {
+ const GLfloat* transform,
+ GLuint filter) {
size_t shm_size = 28 * sizeof(GLfloat);
ScopedTransferBufferPtr buffer(shm_size, helper_, transfer_buffer_);
if (!buffer.valid() || buffer.size() < shm_size) {
@@ -4783,7 +4784,7 @@ void GLES2Implementation::ScheduleCALayerCHROMIUM(GLuint contents_texture_id,
memcpy(mem + 12, transform, 16 * sizeof(GLfloat));
helper_->ScheduleCALayerCHROMIUM(contents_texture_id, opacity,
background_color, edge_aa_mask, is_clipped,
- sorting_context_id, buffer.shm_id(),
+ sorting_context_id, filter, buffer.shm_id(),
buffer.offset());
}
« no previous file with comments | « gpu/command_buffer/client/gles2_cmd_helper_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698