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 1097 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1108 GLboolean transpose, | 1108 GLboolean transpose, |
1109 const GLfloat* value) { | 1109 const GLfloat* value) { |
1110 NOTREACHED() << "Unimplemented UniformMatrix4x2fv."; | 1110 NOTREACHED() << "Unimplemented UniformMatrix4x2fv."; |
1111 } | 1111 } |
1112 void MojoGLES2Impl::UniformMatrix4x3fv(GLint location, | 1112 void MojoGLES2Impl::UniformMatrix4x3fv(GLint location, |
1113 GLsizei count, | 1113 GLsizei count, |
1114 GLboolean transpose, | 1114 GLboolean transpose, |
1115 const GLfloat* value) { | 1115 const GLfloat* value) { |
1116 NOTREACHED() << "Unimplemented UniformMatrix4x3fv."; | 1116 NOTREACHED() << "Unimplemented UniformMatrix4x3fv."; |
1117 } | 1117 } |
| 1118 void MojoGLES2Impl::UniformMatrix4fvWithStreamTextureMatrixCHROMIUM( |
| 1119 GLint location, |
| 1120 GLboolean transpose, |
| 1121 const GLfloat* default_value) { |
| 1122 MojoGLES2MakeCurrent(context_); |
| 1123 glUniformMatrix4fvWithStreamTextureMatrixCHROMIUM(location, transpose, |
| 1124 default_value); |
| 1125 } |
1118 void MojoGLES2Impl::UseProgram(GLuint program) { | 1126 void MojoGLES2Impl::UseProgram(GLuint program) { |
1119 MojoGLES2MakeCurrent(context_); | 1127 MojoGLES2MakeCurrent(context_); |
1120 glUseProgram(program); | 1128 glUseProgram(program); |
1121 } | 1129 } |
1122 void MojoGLES2Impl::ValidateProgram(GLuint program) { | 1130 void MojoGLES2Impl::ValidateProgram(GLuint program) { |
1123 MojoGLES2MakeCurrent(context_); | 1131 MojoGLES2MakeCurrent(context_); |
1124 glValidateProgram(program); | 1132 glValidateProgram(program); |
1125 } | 1133 } |
1126 void MojoGLES2Impl::VertexAttrib1f(GLuint indx, GLfloat x) { | 1134 void MojoGLES2Impl::VertexAttrib1f(GLuint indx, GLfloat x) { |
1127 MojoGLES2MakeCurrent(context_); | 1135 MojoGLES2MakeCurrent(context_); |
(...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1912 const char* name) { | 1920 const char* name) { |
1913 MojoGLES2MakeCurrent(context_); | 1921 MojoGLES2MakeCurrent(context_); |
1914 glBindFragDataLocationEXT(program, colorNumber, name); | 1922 glBindFragDataLocationEXT(program, colorNumber, name); |
1915 } | 1923 } |
1916 GLint MojoGLES2Impl::GetFragDataIndexEXT(GLuint program, const char* name) { | 1924 GLint MojoGLES2Impl::GetFragDataIndexEXT(GLuint program, const char* name) { |
1917 MojoGLES2MakeCurrent(context_); | 1925 MojoGLES2MakeCurrent(context_); |
1918 return glGetFragDataIndexEXT(program, name); | 1926 return glGetFragDataIndexEXT(program, name); |
1919 } | 1927 } |
1920 | 1928 |
1921 } // namespace mojo | 1929 } // namespace mojo |
OLD | NEW |