OLD | NEW |
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 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 void GLES2Scissor(GLint x, GLint y, GLsizei width, GLsizei height) { | 348 void GLES2Scissor(GLint x, GLint y, GLsizei width, GLsizei height) { |
349 gles2::GetGLContext()->Scissor(x, y, width, height); | 349 gles2::GetGLContext()->Scissor(x, y, width, height); |
350 } | 350 } |
351 void GLES2ShaderBinary( | 351 void GLES2ShaderBinary( |
352 GLsizei n, const GLuint* shaders, GLenum binaryformat, const void* binary, | 352 GLsizei n, const GLuint* shaders, GLenum binaryformat, const void* binary, |
353 GLsizei length) { | 353 GLsizei length) { |
354 gles2::GetGLContext()->ShaderBinary( | 354 gles2::GetGLContext()->ShaderBinary( |
355 n, shaders, binaryformat, binary, length); | 355 n, shaders, binaryformat, binary, length); |
356 } | 356 } |
357 void GLES2ShaderSource( | 357 void GLES2ShaderSource( |
358 GLuint shader, GLsizei count, const GLchar* const* str, | 358 GLuint shader, GLsizei count, const char** str, const GLint* length) { |
359 const GLint* length) { | |
360 gles2::GetGLContext()->ShaderSource(shader, count, str, length); | 359 gles2::GetGLContext()->ShaderSource(shader, count, str, length); |
361 } | 360 } |
362 void GLES2StencilFunc(GLenum func, GLint ref, GLuint mask) { | 361 void GLES2StencilFunc(GLenum func, GLint ref, GLuint mask) { |
363 gles2::GetGLContext()->StencilFunc(func, ref, mask); | 362 gles2::GetGLContext()->StencilFunc(func, ref, mask); |
364 } | 363 } |
365 void GLES2StencilFuncSeparate( | 364 void GLES2StencilFuncSeparate( |
366 GLenum face, GLenum func, GLint ref, GLuint mask) { | 365 GLenum face, GLenum func, GLint ref, GLuint mask) { |
367 gles2::GetGLContext()->StencilFuncSeparate(face, func, ref, mask); | 366 gles2::GetGLContext()->StencilFuncSeparate(face, func, ref, mask); |
368 } | 367 } |
369 void GLES2StencilMask(GLuint mask) { | 368 void GLES2StencilMask(GLuint mask) { |
(...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1058 { "glLoseContextCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( | 1057 { "glLoseContextCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
1059 glLoseContextCHROMIUM), }, | 1058 glLoseContextCHROMIUM), }, |
1060 { "glWaitSyncPointCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( | 1059 { "glWaitSyncPointCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
1061 glWaitSyncPointCHROMIUM), }, | 1060 glWaitSyncPointCHROMIUM), }, |
1062 { NULL, NULL, }, | 1061 { NULL, NULL, }, |
1063 }; | 1062 }; |
1064 | 1063 |
1065 } // namespace gles2 | 1064 } // namespace gles2 |
1066 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 1065 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
1067 | 1066 |
OLD | NEW |