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

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

Issue 17504006: GPU process clients can perform a "shallow" finish. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('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_c_lib_autogen.h
===================================================================
--- gpu/command_buffer/client/gles2_c_lib_autogen.h (revision 207109)
+++ gpu/command_buffer/client/gles2_c_lib_autogen.h (working copy)
@@ -167,9 +167,6 @@
void GLES2Flush() {
gles2::GetGLContext()->Flush();
}
-void GLES2ShallowFlushCHROMIUM() {
- gles2::GetGLContext()->ShallowFlushCHROMIUM();
-}
void GLES2FramebufferRenderbuffer(
GLenum target, GLenum attachment, GLenum renderbuffertarget,
GLuint renderbuffer) {
@@ -359,6 +356,12 @@
const GLint* length) {
gles2::GetGLContext()->ShaderSource(shader, count, str, length);
}
+void GLES2ShallowFinishCHROMIUM() {
+ gles2::GetGLContext()->ShallowFinishCHROMIUM();
+}
+void GLES2ShallowFlushCHROMIUM() {
+ gles2::GetGLContext()->ShallowFlushCHROMIUM();
+}
void GLES2StencilFunc(GLenum func, GLint ref, GLuint mask) {
gles2::GetGLContext()->StencilFunc(func, ref, mask);
}
@@ -827,8 +830,6 @@
glEnableVertexAttribArray), },
{ "glFinish", reinterpret_cast<GLES2FunctionPointer>(glFinish), },
{ "glFlush", reinterpret_cast<GLES2FunctionPointer>(glFlush), },
- { "glShallowFlushCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
- glShallowFlushCHROMIUM), },
{ "glFramebufferRenderbuffer", reinterpret_cast<GLES2FunctionPointer>(
glFramebufferRenderbuffer), },
{ "glFramebufferTexture2D", reinterpret_cast<GLES2FunctionPointer>(
@@ -914,6 +915,10 @@
glShaderBinary), },
{ "glShaderSource", reinterpret_cast<GLES2FunctionPointer>(
glShaderSource), },
+ { "glShallowFinishCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
+ glShallowFinishCHROMIUM), },
+ { "glShallowFlushCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
+ glShallowFlushCHROMIUM), },
{ "glStencilFunc", reinterpret_cast<GLES2FunctionPointer>(glStencilFunc), },
{ "glStencilFuncSeparate", reinterpret_cast<GLES2FunctionPointer>(
glStencilFuncSeparate), },
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698