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

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

Issue 2067503003: Add a new command buffer function glScheduleCALayerInUseQueryCHROMIUM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor fix. Created 4 years, 6 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_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 fface991c5e200a3eba8a467342f47109a376e4f..f8f08ba1069da46123c182a70af98b4ceafdc0e2 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -2770,6 +2770,16 @@ void ScheduleCALayerCHROMIUM(GLuint contents_texture_id,
}
}
+void ScheduleCALayerInUseQueryCHROMIUMImmediate(GLuint n) {
+ const uint32_t s = 0;
+ gles2::cmds::ScheduleCALayerInUseQueryCHROMIUMImmediate* c =
+ GetImmediateCmdSpaceTotalSize<
+ gles2::cmds::ScheduleCALayerInUseQueryCHROMIUMImmediate>(s);
+ if (c) {
+ c->Init(n);
+ }
+}
+
void CommitOverlayPlanesCHROMIUM() {
gles2::cmds::CommitOverlayPlanesCHROMIUM* c =
GetCmdSpace<gles2::cmds::CommitOverlayPlanesCHROMIUM>();

Powered by Google App Engine
This is Rietveld 408576698