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

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

Issue 2736643004: Add DCLayerOverlayProcessor and supporting DCLayer structures. (Closed)
Patch Set: split CALayerOverlay into DCLayerOverlay Created 3 years, 9 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/client/gles2_c_lib_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/gles2_cmd_helper_autogen.h
diff --git a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
index db32e559622e13997114bd135621dc47812d2905..b3cba3c2391347856949115a0c9734e5cf4e17d9 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -2814,6 +2814,32 @@ void FlushDriverCachesCHROMIUM() {
}
}
+void ScheduleDCLayerSharedStateCHROMIUM(GLfloat opacity,
+ GLboolean is_clipped,
+ GLint z_order,
+ GLuint shm_id,
+ GLuint shm_offset) {
+ gles2::cmds::ScheduleDCLayerSharedStateCHROMIUM* c =
+ GetCmdSpace<gles2::cmds::ScheduleDCLayerSharedStateCHROMIUM>();
+ if (c) {
+ c->Init(opacity, is_clipped, z_order, shm_id, shm_offset);
+ }
+}
+
+void ScheduleDCLayerCHROMIUM(GLuint contents_texture_id,
+ GLuint background_color,
+ GLuint edge_aa_mask,
+ GLuint filter,
+ GLuint shm_id,
+ GLuint shm_offset) {
+ gles2::cmds::ScheduleDCLayerCHROMIUM* c =
+ GetCmdSpace<gles2::cmds::ScheduleDCLayerCHROMIUM>();
+ if (c) {
+ c->Init(contents_texture_id, background_color, edge_aa_mask, filter, shm_id,
+ shm_offset);
+ }
+}
+
void MatrixLoadfCHROMIUMImmediate(GLenum matrixMode, const GLfloat* m) {
const uint32_t size =
gles2::cmds::MatrixLoadfCHROMIUMImmediate::ComputeSize();
« no previous file with comments | « gpu/command_buffer/client/gles2_c_lib_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698