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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file is auto-generated from 5 // This file is auto-generated from
6 // gpu/command_buffer/build_gles2_cmd_buffer.py 6 // gpu/command_buffer/build_gles2_cmd_buffer.py
7 // DO NOT EDIT! 7 // DO NOT EDIT!
8 8
9 // These functions emulate GLES2 over command buffers. 9 // These functions emulate GLES2 over command buffers.
10 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 10 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 } 160 }
161 void GLES2EnableVertexAttribArray(GLuint index) { 161 void GLES2EnableVertexAttribArray(GLuint index) {
162 gles2::GetGLContext()->EnableVertexAttribArray(index); 162 gles2::GetGLContext()->EnableVertexAttribArray(index);
163 } 163 }
164 void GLES2Finish() { 164 void GLES2Finish() {
165 gles2::GetGLContext()->Finish(); 165 gles2::GetGLContext()->Finish();
166 } 166 }
167 void GLES2Flush() { 167 void GLES2Flush() {
168 gles2::GetGLContext()->Flush(); 168 gles2::GetGLContext()->Flush();
169 } 169 }
170 void GLES2ShallowFlushCHROMIUM() {
171 gles2::GetGLContext()->ShallowFlushCHROMIUM();
172 }
173 void GLES2FramebufferRenderbuffer( 170 void GLES2FramebufferRenderbuffer(
174 GLenum target, GLenum attachment, GLenum renderbuffertarget, 171 GLenum target, GLenum attachment, GLenum renderbuffertarget,
175 GLuint renderbuffer) { 172 GLuint renderbuffer) {
176 gles2::GetGLContext()->FramebufferRenderbuffer( 173 gles2::GetGLContext()->FramebufferRenderbuffer(
177 target, attachment, renderbuffertarget, renderbuffer); 174 target, attachment, renderbuffertarget, renderbuffer);
178 } 175 }
179 void GLES2FramebufferTexture2D( 176 void GLES2FramebufferTexture2D(
180 GLenum target, GLenum attachment, GLenum textarget, GLuint texture, 177 GLenum target, GLenum attachment, GLenum textarget, GLuint texture,
181 GLint level) { 178 GLint level) {
182 gles2::GetGLContext()->FramebufferTexture2D( 179 gles2::GetGLContext()->FramebufferTexture2D(
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 GLsizei n, const GLuint* shaders, GLenum binaryformat, const void* binary, 349 GLsizei n, const GLuint* shaders, GLenum binaryformat, const void* binary,
353 GLsizei length) { 350 GLsizei length) {
354 gles2::GetGLContext()->ShaderBinary( 351 gles2::GetGLContext()->ShaderBinary(
355 n, shaders, binaryformat, binary, length); 352 n, shaders, binaryformat, binary, length);
356 } 353 }
357 void GLES2ShaderSource( 354 void GLES2ShaderSource(
358 GLuint shader, GLsizei count, const GLchar* const* str, 355 GLuint shader, GLsizei count, const GLchar* const* str,
359 const GLint* length) { 356 const GLint* length) {
360 gles2::GetGLContext()->ShaderSource(shader, count, str, length); 357 gles2::GetGLContext()->ShaderSource(shader, count, str, length);
361 } 358 }
359 void GLES2ShallowFinishCHROMIUM() {
360 gles2::GetGLContext()->ShallowFinishCHROMIUM();
361 }
362 void GLES2ShallowFlushCHROMIUM() {
363 gles2::GetGLContext()->ShallowFlushCHROMIUM();
364 }
362 void GLES2StencilFunc(GLenum func, GLint ref, GLuint mask) { 365 void GLES2StencilFunc(GLenum func, GLint ref, GLuint mask) {
363 gles2::GetGLContext()->StencilFunc(func, ref, mask); 366 gles2::GetGLContext()->StencilFunc(func, ref, mask);
364 } 367 }
365 void GLES2StencilFuncSeparate( 368 void GLES2StencilFuncSeparate(
366 GLenum face, GLenum func, GLint ref, GLuint mask) { 369 GLenum face, GLenum func, GLint ref, GLuint mask) {
367 gles2::GetGLContext()->StencilFuncSeparate(face, func, ref, mask); 370 gles2::GetGLContext()->StencilFuncSeparate(face, func, ref, mask);
368 } 371 }
369 void GLES2StencilMask(GLuint mask) { 372 void GLES2StencilMask(GLuint mask) {
370 gles2::GetGLContext()->StencilMask(mask); 373 gles2::GetGLContext()->StencilMask(mask);
371 } 374 }
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
820 { "glDisableVertexAttribArray", reinterpret_cast<GLES2FunctionPointer>( 823 { "glDisableVertexAttribArray", reinterpret_cast<GLES2FunctionPointer>(
821 glDisableVertexAttribArray), }, 824 glDisableVertexAttribArray), },
822 { "glDrawArrays", reinterpret_cast<GLES2FunctionPointer>(glDrawArrays), }, 825 { "glDrawArrays", reinterpret_cast<GLES2FunctionPointer>(glDrawArrays), },
823 { "glDrawElements", reinterpret_cast<GLES2FunctionPointer>( 826 { "glDrawElements", reinterpret_cast<GLES2FunctionPointer>(
824 glDrawElements), }, 827 glDrawElements), },
825 { "glEnable", reinterpret_cast<GLES2FunctionPointer>(glEnable), }, 828 { "glEnable", reinterpret_cast<GLES2FunctionPointer>(glEnable), },
826 { "glEnableVertexAttribArray", reinterpret_cast<GLES2FunctionPointer>( 829 { "glEnableVertexAttribArray", reinterpret_cast<GLES2FunctionPointer>(
827 glEnableVertexAttribArray), }, 830 glEnableVertexAttribArray), },
828 { "glFinish", reinterpret_cast<GLES2FunctionPointer>(glFinish), }, 831 { "glFinish", reinterpret_cast<GLES2FunctionPointer>(glFinish), },
829 { "glFlush", reinterpret_cast<GLES2FunctionPointer>(glFlush), }, 832 { "glFlush", reinterpret_cast<GLES2FunctionPointer>(glFlush), },
830 { "glShallowFlushCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
831 glShallowFlushCHROMIUM), },
832 { "glFramebufferRenderbuffer", reinterpret_cast<GLES2FunctionPointer>( 833 { "glFramebufferRenderbuffer", reinterpret_cast<GLES2FunctionPointer>(
833 glFramebufferRenderbuffer), }, 834 glFramebufferRenderbuffer), },
834 { "glFramebufferTexture2D", reinterpret_cast<GLES2FunctionPointer>( 835 { "glFramebufferTexture2D", reinterpret_cast<GLES2FunctionPointer>(
835 glFramebufferTexture2D), }, 836 glFramebufferTexture2D), },
836 { "glFrontFace", reinterpret_cast<GLES2FunctionPointer>(glFrontFace), }, 837 { "glFrontFace", reinterpret_cast<GLES2FunctionPointer>(glFrontFace), },
837 { "glGenBuffers", reinterpret_cast<GLES2FunctionPointer>(glGenBuffers), }, 838 { "glGenBuffers", reinterpret_cast<GLES2FunctionPointer>(glGenBuffers), },
838 { "glGenerateMipmap", reinterpret_cast<GLES2FunctionPointer>( 839 { "glGenerateMipmap", reinterpret_cast<GLES2FunctionPointer>(
839 glGenerateMipmap), }, 840 glGenerateMipmap), },
840 { "glGenFramebuffers", reinterpret_cast<GLES2FunctionPointer>( 841 { "glGenFramebuffers", reinterpret_cast<GLES2FunctionPointer>(
841 glGenFramebuffers), }, 842 glGenFramebuffers), },
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
907 glReleaseShaderCompiler), }, 908 glReleaseShaderCompiler), },
908 { "glRenderbufferStorage", reinterpret_cast<GLES2FunctionPointer>( 909 { "glRenderbufferStorage", reinterpret_cast<GLES2FunctionPointer>(
909 glRenderbufferStorage), }, 910 glRenderbufferStorage), },
910 { "glSampleCoverage", reinterpret_cast<GLES2FunctionPointer>( 911 { "glSampleCoverage", reinterpret_cast<GLES2FunctionPointer>(
911 glSampleCoverage), }, 912 glSampleCoverage), },
912 { "glScissor", reinterpret_cast<GLES2FunctionPointer>(glScissor), }, 913 { "glScissor", reinterpret_cast<GLES2FunctionPointer>(glScissor), },
913 { "glShaderBinary", reinterpret_cast<GLES2FunctionPointer>( 914 { "glShaderBinary", reinterpret_cast<GLES2FunctionPointer>(
914 glShaderBinary), }, 915 glShaderBinary), },
915 { "glShaderSource", reinterpret_cast<GLES2FunctionPointer>( 916 { "glShaderSource", reinterpret_cast<GLES2FunctionPointer>(
916 glShaderSource), }, 917 glShaderSource), },
918 { "glShallowFinishCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
919 glShallowFinishCHROMIUM), },
920 { "glShallowFlushCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
921 glShallowFlushCHROMIUM), },
917 { "glStencilFunc", reinterpret_cast<GLES2FunctionPointer>(glStencilFunc), }, 922 { "glStencilFunc", reinterpret_cast<GLES2FunctionPointer>(glStencilFunc), },
918 { "glStencilFuncSeparate", reinterpret_cast<GLES2FunctionPointer>( 923 { "glStencilFuncSeparate", reinterpret_cast<GLES2FunctionPointer>(
919 glStencilFuncSeparate), }, 924 glStencilFuncSeparate), },
920 { "glStencilMask", reinterpret_cast<GLES2FunctionPointer>(glStencilMask), }, 925 { "glStencilMask", reinterpret_cast<GLES2FunctionPointer>(glStencilMask), },
921 { "glStencilMaskSeparate", reinterpret_cast<GLES2FunctionPointer>( 926 { "glStencilMaskSeparate", reinterpret_cast<GLES2FunctionPointer>(
922 glStencilMaskSeparate), }, 927 glStencilMaskSeparate), },
923 { "glStencilOp", reinterpret_cast<GLES2FunctionPointer>(glStencilOp), }, 928 { "glStencilOp", reinterpret_cast<GLES2FunctionPointer>(glStencilOp), },
924 { "glStencilOpSeparate", reinterpret_cast<GLES2FunctionPointer>( 929 { "glStencilOpSeparate", reinterpret_cast<GLES2FunctionPointer>(
925 glStencilOpSeparate), }, 930 glStencilOpSeparate), },
926 { "glTexImage2D", reinterpret_cast<GLES2FunctionPointer>(glTexImage2D), }, 931 { "glTexImage2D", reinterpret_cast<GLES2FunctionPointer>(glTexImage2D), },
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
1101 { "glWaitSyncPointCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( 1106 { "glWaitSyncPointCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
1102 glWaitSyncPointCHROMIUM), }, 1107 glWaitSyncPointCHROMIUM), },
1103 { "glDrawBuffersEXT", reinterpret_cast<GLES2FunctionPointer>( 1108 { "glDrawBuffersEXT", reinterpret_cast<GLES2FunctionPointer>(
1104 glDrawBuffersEXT), }, 1109 glDrawBuffersEXT), },
1105 { NULL, NULL, }, 1110 { NULL, NULL, },
1106 }; 1111 };
1107 1112
1108 } // namespace gles2 1113 } // namespace gles2
1109 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 1114 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
1110 1115
OLDNEW
« 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