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

Unified Diff: gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h

Issue 2849743002: Allow binding multiple textures to one DC Layer overlay. (Closed)
Patch Set: put texture id array in ScheduleDCLayer Created 3 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_trace_implementation_impl_autogen.h
diff --git a/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h b/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
index 4b096cddf4cb1594e551ab0bedcc8b3b4cbe719e..aeb2554889deac54c5fdc44bbcb74ece53d68d73 100644
--- a/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
+++ b/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
@@ -2222,16 +2222,17 @@ void GLES2TraceImplementation::ScheduleDCLayerSharedStateCHROMIUM(
}
void GLES2TraceImplementation::ScheduleDCLayerCHROMIUM(
- GLuint contents_texture_id,
+ GLsizei num_textures,
+ const GLuint* contents_texture_ids,
const GLfloat* contents_rect,
GLuint background_color,
GLuint edge_aa_mask,
const GLfloat* bounds_rect,
GLuint filter) {
TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ScheduleDCLayerCHROMIUM");
- gl_->ScheduleDCLayerCHROMIUM(contents_texture_id, contents_rect,
- background_color, edge_aa_mask, bounds_rect,
- filter);
+ gl_->ScheduleDCLayerCHROMIUM(num_textures, contents_texture_ids,
+ contents_rect, background_color, edge_aa_mask,
+ bounds_rect, filter);
}
void GLES2TraceImplementation::MatrixLoadfCHROMIUM(GLenum matrixMode,
« no previous file with comments | « gpu/command_buffer/client/gles2_trace_implementation_autogen.h ('k') | gpu/command_buffer/cmd_buffer_functions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698