OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 // It's formatted by clang-format using chromium coding style: | 7 // It's formatted by clang-format using chromium coding style: |
8 // clang-format -i -style=chromium filename | 8 // clang-format -i -style=chromium filename |
9 // DO NOT EDIT! | 9 // DO NOT EDIT! |
10 | 10 |
(...skipping 991 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1002 GLboolean transpose, | 1002 GLboolean transpose, |
1003 const GLfloat* value) { | 1003 const GLfloat* value) { |
1004 gles2::GetGLContext()->UniformMatrix4x2fv(location, count, transpose, value); | 1004 gles2::GetGLContext()->UniformMatrix4x2fv(location, count, transpose, value); |
1005 } | 1005 } |
1006 void GL_APIENTRY GLES2UniformMatrix4x3fv(GLint location, | 1006 void GL_APIENTRY GLES2UniformMatrix4x3fv(GLint location, |
1007 GLsizei count, | 1007 GLsizei count, |
1008 GLboolean transpose, | 1008 GLboolean transpose, |
1009 const GLfloat* value) { | 1009 const GLfloat* value) { |
1010 gles2::GetGLContext()->UniformMatrix4x3fv(location, count, transpose, value); | 1010 gles2::GetGLContext()->UniformMatrix4x3fv(location, count, transpose, value); |
1011 } | 1011 } |
| 1012 void GL_APIENTRY |
| 1013 GLES2UniformMatrix4fvWithCustomMatrixCHROMIUM(GLint location, |
| 1014 GLenum custom_matrix, |
| 1015 GLboolean transpose, |
| 1016 const GLfloat* default_value) { |
| 1017 gles2::GetGLContext()->UniformMatrix4fvWithCustomMatrixCHROMIUM( |
| 1018 location, custom_matrix, transpose, default_value); |
| 1019 } |
1012 void GL_APIENTRY GLES2UseProgram(GLuint program) { | 1020 void GL_APIENTRY GLES2UseProgram(GLuint program) { |
1013 gles2::GetGLContext()->UseProgram(program); | 1021 gles2::GetGLContext()->UseProgram(program); |
1014 } | 1022 } |
1015 void GL_APIENTRY GLES2ValidateProgram(GLuint program) { | 1023 void GL_APIENTRY GLES2ValidateProgram(GLuint program) { |
1016 gles2::GetGLContext()->ValidateProgram(program); | 1024 gles2::GetGLContext()->ValidateProgram(program); |
1017 } | 1025 } |
1018 void GL_APIENTRY GLES2VertexAttrib1f(GLuint indx, GLfloat x) { | 1026 void GL_APIENTRY GLES2VertexAttrib1f(GLuint indx, GLfloat x) { |
1019 gles2::GetGLContext()->VertexAttrib1f(indx, x); | 1027 gles2::GetGLContext()->VertexAttrib1f(indx, x); |
1020 } | 1028 } |
1021 void GL_APIENTRY GLES2VertexAttrib1fv(GLuint indx, const GLfloat* values) { | 1029 void GL_APIENTRY GLES2VertexAttrib1fv(GLuint indx, const GLfloat* values) { |
(...skipping 1423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2445 }, | 2453 }, |
2446 { | 2454 { |
2447 "glUniformMatrix4x2fv", | 2455 "glUniformMatrix4x2fv", |
2448 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix4x2fv), | 2456 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix4x2fv), |
2449 }, | 2457 }, |
2450 { | 2458 { |
2451 "glUniformMatrix4x3fv", | 2459 "glUniformMatrix4x3fv", |
2452 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix4x3fv), | 2460 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix4x3fv), |
2453 }, | 2461 }, |
2454 { | 2462 { |
| 2463 "glUniformMatrix4fvWithCustomMatrixCHROMIUM", |
| 2464 reinterpret_cast<GLES2FunctionPointer>( |
| 2465 glUniformMatrix4fvWithCustomMatrixCHROMIUM), |
| 2466 }, |
| 2467 { |
2455 "glUseProgram", reinterpret_cast<GLES2FunctionPointer>(glUseProgram), | 2468 "glUseProgram", reinterpret_cast<GLES2FunctionPointer>(glUseProgram), |
2456 }, | 2469 }, |
2457 { | 2470 { |
2458 "glValidateProgram", | 2471 "glValidateProgram", |
2459 reinterpret_cast<GLES2FunctionPointer>(glValidateProgram), | 2472 reinterpret_cast<GLES2FunctionPointer>(glValidateProgram), |
2460 }, | 2473 }, |
2461 { | 2474 { |
2462 "glVertexAttrib1f", | 2475 "glVertexAttrib1f", |
2463 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib1f), | 2476 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib1f), |
2464 }, | 2477 }, |
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3006 "glGetFragDataIndexEXT", | 3019 "glGetFragDataIndexEXT", |
3007 reinterpret_cast<GLES2FunctionPointer>(glGetFragDataIndexEXT), | 3020 reinterpret_cast<GLES2FunctionPointer>(glGetFragDataIndexEXT), |
3008 }, | 3021 }, |
3009 { | 3022 { |
3010 NULL, NULL, | 3023 NULL, NULL, |
3011 }, | 3024 }, |
3012 }; | 3025 }; |
3013 | 3026 |
3014 } // namespace gles2 | 3027 } // namespace gles2 |
3015 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 3028 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |