Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(656)

Side by Side Diff: mojo/gpu/mojo_gles2_impl_autogen.cc

Issue 1218223005: command_buffer: Implement CHROMIUM_framebuffer_mixed_samples extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new-05-path-fragment-input-gen
Patch Set: rebase, add bogus spec text Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 1879 matching lines...) Expand 10 before | Expand all | Expand 10 after
1890 } 1890 }
1891 void MojoGLES2Impl::ProgramPathFragmentInputGenCHROMIUM(GLuint program, 1891 void MojoGLES2Impl::ProgramPathFragmentInputGenCHROMIUM(GLuint program,
1892 GLint location, 1892 GLint location,
1893 GLenum genMode, 1893 GLenum genMode,
1894 GLint components, 1894 GLint components,
1895 const GLfloat* coeffs) { 1895 const GLfloat* coeffs) {
1896 MojoGLES2MakeCurrent(context_); 1896 MojoGLES2MakeCurrent(context_);
1897 glProgramPathFragmentInputGenCHROMIUM(program, location, genMode, components, 1897 glProgramPathFragmentInputGenCHROMIUM(program, location, genMode, components,
1898 coeffs); 1898 coeffs);
1899 } 1899 }
1900 void MojoGLES2Impl::CoverageModulationCHROMIUM(GLenum components) {
1901 MojoGLES2MakeCurrent(context_);
1902 glCoverageModulationCHROMIUM(components);
1903 }
1900 GLenum MojoGLES2Impl::GetGraphicsResetStatusKHR() { 1904 GLenum MojoGLES2Impl::GetGraphicsResetStatusKHR() {
1901 MojoGLES2MakeCurrent(context_); 1905 MojoGLES2MakeCurrent(context_);
1902 return glGetGraphicsResetStatusKHR(); 1906 return glGetGraphicsResetStatusKHR();
1903 } 1907 }
1904 void MojoGLES2Impl::BlendBarrierKHR() { 1908 void MojoGLES2Impl::BlendBarrierKHR() {
1905 MojoGLES2MakeCurrent(context_); 1909 MojoGLES2MakeCurrent(context_);
1906 glBlendBarrierKHR(); 1910 glBlendBarrierKHR();
1907 } 1911 }
1908 void MojoGLES2Impl::ApplyScreenSpaceAntialiasingCHROMIUM() { 1912 void MojoGLES2Impl::ApplyScreenSpaceAntialiasingCHROMIUM() {
1909 MojoGLES2MakeCurrent(context_); 1913 MojoGLES2MakeCurrent(context_);
(...skipping 11 matching lines...) Expand all
1921 const char* name) { 1925 const char* name) {
1922 MojoGLES2MakeCurrent(context_); 1926 MojoGLES2MakeCurrent(context_);
1923 glBindFragDataLocationEXT(program, colorNumber, name); 1927 glBindFragDataLocationEXT(program, colorNumber, name);
1924 } 1928 }
1925 GLint MojoGLES2Impl::GetFragDataIndexEXT(GLuint program, const char* name) { 1929 GLint MojoGLES2Impl::GetFragDataIndexEXT(GLuint program, const char* name) {
1926 MojoGLES2MakeCurrent(context_); 1930 MojoGLES2MakeCurrent(context_);
1927 return glGetFragDataIndexEXT(program, name); 1931 return glGetFragDataIndexEXT(program, name);
1928 } 1932 }
1929 1933
1930 } // namespace mojo 1934 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698