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

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

Issue 859043005: Add Sync related APIs to GPU command buffer: Part I (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make win bots happy Created 5 years, 11 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.h » ('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 dc0adccd88980b4029c419f75f2c01b825dd80fe..8ba8b43186383d14d34b72cb8349fd153e0c6105 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -427,6 +427,13 @@ void DeleteSamplersImmediate(GLsizei n, const GLuint* samplers) {
}
}
+void DeleteSync(GLuint sync) {
+ gles2::cmds::DeleteSync* c = GetCmdSpace<gles2::cmds::DeleteSync>();
+ if (c) {
+ c->Init(sync);
+ }
+}
+
void DeleteShader(GLuint shader) {
gles2::cmds::DeleteShader* c = GetCmdSpace<gles2::cmds::DeleteShader>();
if (c) {
@@ -529,6 +536,13 @@ void EnableVertexAttribArray(GLuint index) {
}
}
+void FenceSync(uint32_t client_id) {
+ gles2::cmds::FenceSync* c = GetCmdSpace<gles2::cmds::FenceSync>();
+ if (c) {
+ c->Init(client_id);
+ }
+}
+
void Finish() {
gles2::cmds::Finish* c = GetCmdSpace<gles2::cmds::Finish>();
if (c) {
@@ -1042,6 +1056,13 @@ void IsShader(GLuint shader,
}
}
+void IsSync(GLuint sync, uint32_t result_shm_id, uint32_t result_shm_offset) {
+ gles2::cmds::IsSync* c = GetCmdSpace<gles2::cmds::IsSync>();
+ if (c) {
+ c->Init(sync, result_shm_id, result_shm_offset);
+ }
+}
+
void IsTexture(GLuint texture,
uint32_t result_shm_id,
uint32_t result_shm_offset) {
« no previous file with comments | « gpu/command_buffer/client/gles2_c_lib_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698