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