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

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

Issue 2175043002: Add command buffer function glScheduleCALayerFilterEffectsCHROMIUM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix autogenerated tests. Created 4 years, 5 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 28cfd8041b5708e7b3b2903ad0f24e767ced5abf..b27a622eb8b9b1576875aba621820c39cd9c8229 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -2765,6 +2765,20 @@ void ScheduleCALayerSharedStateCHROMIUM(GLfloat opacity,
}
}
+void ScheduleCALayerFilterEffectsCHROMIUMImmediate(
+ GLsizei count,
+ const GLCALayerFilterEffect* effects) {
+ const uint32_t size =
+ gles2::cmds::ScheduleCALayerFilterEffectsCHROMIUMImmediate::ComputeSize(
+ count);
+ gles2::cmds::ScheduleCALayerFilterEffectsCHROMIUMImmediate* c =
+ GetImmediateCmdSpaceTotalSize<
+ gles2::cmds::ScheduleCALayerFilterEffectsCHROMIUMImmediate>(size);
+ if (c) {
+ c->Init(count, effects);
+ }
+}
+
void ScheduleCALayerCHROMIUM(GLuint contents_texture_id,
GLuint background_color,
GLuint edge_aa_mask,
« 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