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 1903 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1914 void MojoGLES2Impl::BindFragDataLocationEXT(GLuint program, | 1914 void MojoGLES2Impl::BindFragDataLocationEXT(GLuint program, |
1915 GLuint colorNumber, | 1915 GLuint colorNumber, |
1916 const char* name) { | 1916 const char* name) { |
1917 MojoGLES2MakeCurrent(context_); | 1917 MojoGLES2MakeCurrent(context_); |
1918 glBindFragDataLocationEXT(program, colorNumber, name); | 1918 glBindFragDataLocationEXT(program, colorNumber, name); |
1919 } | 1919 } |
1920 GLint MojoGLES2Impl::GetFragDataIndexEXT(GLuint program, const char* name) { | 1920 GLint MojoGLES2Impl::GetFragDataIndexEXT(GLuint program, const char* name) { |
1921 MojoGLES2MakeCurrent(context_); | 1921 MojoGLES2MakeCurrent(context_); |
1922 return glGetFragDataIndexEXT(program, name); | 1922 return glGetFragDataIndexEXT(program, name); |
1923 } | 1923 } |
| 1924 void MojoGLES2Impl::UniformMatrix4fvStreamTextureMatrixCHROMIUM( |
| 1925 GLint location, |
| 1926 GLboolean transpose, |
| 1927 const GLfloat* default_value) { |
| 1928 MojoGLES2MakeCurrent(context_); |
| 1929 glUniformMatrix4fvStreamTextureMatrixCHROMIUM(location, transpose, |
| 1930 default_value); |
| 1931 } |
1924 | 1932 |
1925 } // namespace mojo | 1933 } // namespace mojo |
OLD | NEW |