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

Unified Diff: gpu/command_buffer/client/gles2_c_lib_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
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/gles2_c_lib_autogen.h
diff --git a/gpu/command_buffer/client/gles2_c_lib_autogen.h b/gpu/command_buffer/client/gles2_c_lib_autogen.h
index 8640ab7e4c8d5bc84002bb1cd0503962d8799e96..77139dbac40232128560c392a55bad7795eb0094 100644
--- a/gpu/command_buffer/client/gles2_c_lib_autogen.h
+++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h
@@ -1523,15 +1523,17 @@ GLES2ScheduleDCLayerSharedStateCHROMIUM(GLfloat opacity,
gles2::GetGLContext()->ScheduleDCLayerSharedStateCHROMIUM(
opacity, is_clipped, clip_rect, z_order, transform);
}
-void GL_APIENTRY GLES2ScheduleDCLayerCHROMIUM(GLuint contents_texture_id,
- const GLfloat* contents_rect,
- GLuint background_color,
- GLuint edge_aa_mask,
- const GLfloat* bounds_rect,
- GLuint filter) {
+void GL_APIENTRY
+GLES2ScheduleDCLayerCHROMIUM(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) {
gles2::GetGLContext()->ScheduleDCLayerCHROMIUM(
- contents_texture_id, contents_rect, background_color, edge_aa_mask,
- bounds_rect, filter);
+ num_textures, contents_texture_ids, contents_rect, background_color,
+ edge_aa_mask, bounds_rect, filter);
}
void GL_APIENTRY GLES2MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) {
gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m);
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698