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 1891 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1902 return glGetGraphicsResetStatusKHR(); | 1902 return glGetGraphicsResetStatusKHR(); |
1903 } | 1903 } |
1904 void MojoGLES2Impl::BlendBarrierKHR() { | 1904 void MojoGLES2Impl::BlendBarrierKHR() { |
1905 MojoGLES2MakeCurrent(context_); | 1905 MojoGLES2MakeCurrent(context_); |
1906 glBlendBarrierKHR(); | 1906 glBlendBarrierKHR(); |
1907 } | 1907 } |
1908 void MojoGLES2Impl::ApplyScreenSpaceAntialiasingCHROMIUM() { | 1908 void MojoGLES2Impl::ApplyScreenSpaceAntialiasingCHROMIUM() { |
1909 MojoGLES2MakeCurrent(context_); | 1909 MojoGLES2MakeCurrent(context_); |
1910 glApplyScreenSpaceAntialiasingCHROMIUM(); | 1910 glApplyScreenSpaceAntialiasingCHROMIUM(); |
1911 } | 1911 } |
| 1912 void MojoGLES2Impl::BindFragDataLocationIndexedEXT(GLuint program, |
| 1913 GLuint colorNumber, |
| 1914 GLuint index, |
| 1915 const char* name) { |
| 1916 MojoGLES2MakeCurrent(context_); |
| 1917 glBindFragDataLocationIndexedEXT(program, colorNumber, index, name); |
| 1918 } |
| 1919 void MojoGLES2Impl::BindFragDataLocationEXT(GLuint program, |
| 1920 GLuint colorNumber, |
| 1921 const char* name) { |
| 1922 MojoGLES2MakeCurrent(context_); |
| 1923 glBindFragDataLocationEXT(program, colorNumber, name); |
| 1924 } |
| 1925 GLint MojoGLES2Impl::GetFragDataIndexEXT(GLuint program, const char* name) { |
| 1926 MojoGLES2MakeCurrent(context_); |
| 1927 return glGetFragDataIndexEXT(program, name); |
| 1928 } |
1912 | 1929 |
1913 } // namespace mojo | 1930 } // namespace mojo |
OLD | NEW |