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

Unified Diff: gpu/command_buffer/client/gles2_c_lib_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/BUILD.gn ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/gles2_c_lib_autogen.h
diff --git a/gpu/command_buffer/client/gles2_c_lib_autogen.h b/gpu/command_buffer/client/gles2_c_lib_autogen.h
index 23d3d6ea8554a725f155e873d4f43a890a48dbd8..803e66f3952d7e2d59abd10390ff0a5a4adff050 100644
--- a/gpu/command_buffer/client/gles2_c_lib_autogen.h
+++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h
@@ -119,6 +119,9 @@ void GLES2ClearDepthf(GLclampf depth) {
void GLES2ClearStencil(GLint s) {
gles2::GetGLContext()->ClearStencil(s);
}
+GLenum GLES2ClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) {
+ return gles2::GetGLContext()->ClientWaitSync(sync, flags, timeout);
+}
void GLES2ColorMask(GLboolean red,
GLboolean green,
GLboolean blue,
@@ -929,6 +932,9 @@ void GLES2VertexAttribPointer(GLuint indx,
void GLES2Viewport(GLint x, GLint y, GLsizei width, GLsizei height) {
gles2::GetGLContext()->Viewport(x, y, width, height);
}
+void GLES2WaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) {
+ gles2::GetGLContext()->WaitSync(sync, flags, timeout);
+}
void GLES2BlitFramebufferCHROMIUM(GLint srcX0,
GLint srcY0,
GLint srcX1,
@@ -1421,6 +1427,10 @@ extern const NameToFunc g_gles2_function_table[] = {
reinterpret_cast<GLES2FunctionPointer>(glClearStencil),
},
{
+ "glClientWaitSync",
+ reinterpret_cast<GLES2FunctionPointer>(glClientWaitSync),
+ },
+ {
"glColorMask",
reinterpret_cast<GLES2FunctionPointer>(glColorMask),
},
@@ -2146,6 +2156,10 @@ extern const NameToFunc g_gles2_function_table[] = {
reinterpret_cast<GLES2FunctionPointer>(glViewport),
},
{
+ "glWaitSync",
+ reinterpret_cast<GLES2FunctionPointer>(glWaitSync),
+ },
+ {
"glBlitFramebufferCHROMIUM",
reinterpret_cast<GLES2FunctionPointer>(glBlitFramebufferCHROMIUM),
},
« no previous file with comments | « gpu/command_buffer/client/BUILD.gn ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698