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 GLsizei count, |
| 1015 GLint custom_matrix_id, |
| 1016 GLboolean transpose, |
| 1017 const GLfloat* default_value) { |
| 1018 gles2::GetGLContext()->UniformMatrix4fvWithCustomMatrixCHROMIUM( |
| 1019 location, count, custom_matrix_id, transpose, default_value); |
| 1020 } |
1012 void GL_APIENTRY GLES2UseProgram(GLuint program) { | 1021 void GL_APIENTRY GLES2UseProgram(GLuint program) { |
1013 gles2::GetGLContext()->UseProgram(program); | 1022 gles2::GetGLContext()->UseProgram(program); |
1014 } | 1023 } |
1015 void GL_APIENTRY GLES2ValidateProgram(GLuint program) { | 1024 void GL_APIENTRY GLES2ValidateProgram(GLuint program) { |
1016 gles2::GetGLContext()->ValidateProgram(program); | 1025 gles2::GetGLContext()->ValidateProgram(program); |
1017 } | 1026 } |
1018 void GL_APIENTRY GLES2VertexAttrib1f(GLuint indx, GLfloat x) { | 1027 void GL_APIENTRY GLES2VertexAttrib1f(GLuint indx, GLfloat x) { |
1019 gles2::GetGLContext()->VertexAttrib1f(indx, x); | 1028 gles2::GetGLContext()->VertexAttrib1f(indx, x); |
1020 } | 1029 } |
1021 void GL_APIENTRY GLES2VertexAttrib1fv(GLuint indx, const GLfloat* values) { | 1030 void GL_APIENTRY GLES2VertexAttrib1fv(GLuint indx, const GLfloat* values) { |
(...skipping 1423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2445 }, | 2454 }, |
2446 { | 2455 { |
2447 "glUniformMatrix4x2fv", | 2456 "glUniformMatrix4x2fv", |
2448 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix4x2fv), | 2457 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix4x2fv), |
2449 }, | 2458 }, |
2450 { | 2459 { |
2451 "glUniformMatrix4x3fv", | 2460 "glUniformMatrix4x3fv", |
2452 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix4x3fv), | 2461 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix4x3fv), |
2453 }, | 2462 }, |
2454 { | 2463 { |
| 2464 "glUniformMatrix4fvWithCustomMatrixCHROMIUM", |
| 2465 reinterpret_cast<GLES2FunctionPointer>( |
| 2466 glUniformMatrix4fvWithCustomMatrixCHROMIUM), |
| 2467 }, |
| 2468 { |
2455 "glUseProgram", reinterpret_cast<GLES2FunctionPointer>(glUseProgram), | 2469 "glUseProgram", reinterpret_cast<GLES2FunctionPointer>(glUseProgram), |
2456 }, | 2470 }, |
2457 { | 2471 { |
2458 "glValidateProgram", | 2472 "glValidateProgram", |
2459 reinterpret_cast<GLES2FunctionPointer>(glValidateProgram), | 2473 reinterpret_cast<GLES2FunctionPointer>(glValidateProgram), |
2460 }, | 2474 }, |
2461 { | 2475 { |
2462 "glVertexAttrib1f", | 2476 "glVertexAttrib1f", |
2463 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib1f), | 2477 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib1f), |
2464 }, | 2478 }, |
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3006 "glGetFragDataIndexEXT", | 3020 "glGetFragDataIndexEXT", |
3007 reinterpret_cast<GLES2FunctionPointer>(glGetFragDataIndexEXT), | 3021 reinterpret_cast<GLES2FunctionPointer>(glGetFragDataIndexEXT), |
3008 }, | 3022 }, |
3009 { | 3023 { |
3010 NULL, NULL, | 3024 NULL, NULL, |
3011 }, | 3025 }, |
3012 }; | 3026 }; |
3013 | 3027 |
3014 } // namespace gles2 | 3028 } // namespace gles2 |
3015 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 3029 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |