| 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 1890 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1901 } | 1901 } |
| 1902 void MojoGLES2Impl::ProgramPathFragmentInputGenCHROMIUM(GLuint program, | 1902 void MojoGLES2Impl::ProgramPathFragmentInputGenCHROMIUM(GLuint program, |
| 1903 GLint location, | 1903 GLint location, |
| 1904 GLenum genMode, | 1904 GLenum genMode, |
| 1905 GLint components, | 1905 GLint components, |
| 1906 const GLfloat* coeffs) { | 1906 const GLfloat* coeffs) { |
| 1907 MojoGLES2MakeCurrent(context_); | 1907 MojoGLES2MakeCurrent(context_); |
| 1908 glProgramPathFragmentInputGenCHROMIUM(program, location, genMode, components, | 1908 glProgramPathFragmentInputGenCHROMIUM(program, location, genMode, components, |
| 1909 coeffs); | 1909 coeffs); |
| 1910 } | 1910 } |
| 1911 void MojoGLES2Impl::CoverageModulationCHROMIUM(GLenum components) { |
| 1912 MojoGLES2MakeCurrent(context_); |
| 1913 glCoverageModulationCHROMIUM(components); |
| 1914 } |
| 1911 GLenum MojoGLES2Impl::GetGraphicsResetStatusKHR() { | 1915 GLenum MojoGLES2Impl::GetGraphicsResetStatusKHR() { |
| 1912 MojoGLES2MakeCurrent(context_); | 1916 MojoGLES2MakeCurrent(context_); |
| 1913 return glGetGraphicsResetStatusKHR(); | 1917 return glGetGraphicsResetStatusKHR(); |
| 1914 } | 1918 } |
| 1915 void MojoGLES2Impl::BlendBarrierKHR() { | 1919 void MojoGLES2Impl::BlendBarrierKHR() { |
| 1916 MojoGLES2MakeCurrent(context_); | 1920 MojoGLES2MakeCurrent(context_); |
| 1917 glBlendBarrierKHR(); | 1921 glBlendBarrierKHR(); |
| 1918 } | 1922 } |
| 1919 void MojoGLES2Impl::ApplyScreenSpaceAntialiasingCHROMIUM() { | 1923 void MojoGLES2Impl::ApplyScreenSpaceAntialiasingCHROMIUM() { |
| 1920 MojoGLES2MakeCurrent(context_); | 1924 MojoGLES2MakeCurrent(context_); |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1932 const char* name) { | 1936 const char* name) { |
| 1933 MojoGLES2MakeCurrent(context_); | 1937 MojoGLES2MakeCurrent(context_); |
| 1934 glBindFragDataLocationEXT(program, colorNumber, name); | 1938 glBindFragDataLocationEXT(program, colorNumber, name); |
| 1935 } | 1939 } |
| 1936 GLint MojoGLES2Impl::GetFragDataIndexEXT(GLuint program, const char* name) { | 1940 GLint MojoGLES2Impl::GetFragDataIndexEXT(GLuint program, const char* name) { |
| 1937 MojoGLES2MakeCurrent(context_); | 1941 MojoGLES2MakeCurrent(context_); |
| 1938 return glGetFragDataIndexEXT(program, name); | 1942 return glGetFragDataIndexEXT(program, name); |
| 1939 } | 1943 } |
| 1940 | 1944 |
| 1941 } // namespace mojo | 1945 } // namespace mojo |
| OLD | NEW |