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

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

Issue 952893003: Update from https://crrev.com/317530 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fix gn for nacl Created 5 years, 10 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 bda8bb3b965d39d58d5abae54bd5af8c2fa93b3e..c58ce2c8f81c3f6cddf4f67f3a909adef46ae0e8 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -240,6 +240,19 @@ void ClearStencil(GLint s) {
}
}
+void ClientWaitSync(GLuint sync,
+ GLbitfield flags,
+ GLuint timeout_0,
+ GLuint timeout_1,
+ uint32_t result_shm_id,
+ uint32_t result_shm_offset) {
+ gles2::cmds::ClientWaitSync* c = GetCmdSpace<gles2::cmds::ClientWaitSync>();
+ if (c) {
+ c->Init(sync, flags, timeout_0, timeout_1, result_shm_id,
+ result_shm_offset);
+ }
+}
+
void ColorMask(GLboolean red,
GLboolean green,
GLboolean blue,
@@ -1982,6 +1995,16 @@ void Viewport(GLint x, GLint y, GLsizei width, GLsizei height) {
}
}
+void WaitSync(GLuint sync,
+ GLbitfield flags,
+ GLuint timeout_0,
+ GLuint timeout_1) {
+ gles2::cmds::WaitSync* c = GetCmdSpace<gles2::cmds::WaitSync>();
+ if (c) {
+ c->Init(sync, flags, timeout_0, timeout_1);
+ }
+}
+
void BlitFramebufferCHROMIUM(GLint srcX0,
GLint srcY0,
GLint srcX1,
« 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