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

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 for commit 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 1890 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « mojo/gpu/mojo_gles2_impl_autogen.h ('k') | mojo/public/c/gles2/gles2_call_visitor_chromium_extension_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698