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

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: Include gl_image.h 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..7a9074bb3fc83022c7a60985f8b306c496e290fa 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -2770,6 +2770,19 @@ void ScheduleCALayerCHROMIUM(GLuint contents_texture_id,
}
}
+void ScheduleCALayerInUseQueryCHROMIUMImmediate(GLsizei count,
+ const GLuint* textures) {
+ const uint32_t size =
+ gles2::cmds::ScheduleCALayerInUseQueryCHROMIUMImmediate::ComputeSize(
+ count);
+ gles2::cmds::ScheduleCALayerInUseQueryCHROMIUMImmediate* c =
+ GetImmediateCmdSpaceTotalSize<
+ gles2::cmds::ScheduleCALayerInUseQueryCHROMIUMImmediate>(size);
+ if (c) {
+ c->Init(count, textures);
+ }
+}
+
void CommitOverlayPlanesCHROMIUM() {
gles2::cmds::CommitOverlayPlanesCHROMIUM* c =
GetCmdSpace<gles2::cmds::CommitOverlayPlanesCHROMIUM>();
« no previous file with comments | « gpu/command_buffer/client/gles2_c_lib_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698