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

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

Issue 1814573002: Move flush id from WebGraphicsContext3DImpl to GLES2Implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lastflush: rebase Created 4 years, 9 months 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 1691 matching lines...) Expand 10 before | Expand all | Expand 10 after
1702 glCommitOverlayPlanesCHROMIUM(); 1702 glCommitOverlayPlanesCHROMIUM();
1703 } 1703 }
1704 void MojoGLES2Impl::SwapInterval(GLint interval) { 1704 void MojoGLES2Impl::SwapInterval(GLint interval) {
1705 MojoGLES2MakeCurrent(context_); 1705 MojoGLES2MakeCurrent(context_);
1706 glSwapInterval(interval); 1706 glSwapInterval(interval);
1707 } 1707 }
1708 void MojoGLES2Impl::FlushDriverCachesCHROMIUM() { 1708 void MojoGLES2Impl::FlushDriverCachesCHROMIUM() {
1709 MojoGLES2MakeCurrent(context_); 1709 MojoGLES2MakeCurrent(context_);
1710 glFlushDriverCachesCHROMIUM(); 1710 glFlushDriverCachesCHROMIUM();
1711 } 1711 }
1712 GLuint MojoGLES2Impl::GetLastFlushIdCHROMIUM() {
1713 MojoGLES2MakeCurrent(context_);
1714 return glGetLastFlushIdCHROMIUM();
1715 }
1712 void MojoGLES2Impl::MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) { 1716 void MojoGLES2Impl::MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) {
1713 MojoGLES2MakeCurrent(context_); 1717 MojoGLES2MakeCurrent(context_);
1714 glMatrixLoadfCHROMIUM(matrixMode, m); 1718 glMatrixLoadfCHROMIUM(matrixMode, m);
1715 } 1719 }
1716 void MojoGLES2Impl::MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { 1720 void MojoGLES2Impl::MatrixLoadIdentityCHROMIUM(GLenum matrixMode) {
1717 MojoGLES2MakeCurrent(context_); 1721 MojoGLES2MakeCurrent(context_);
1718 glMatrixLoadIdentityCHROMIUM(matrixMode); 1722 glMatrixLoadIdentityCHROMIUM(matrixMode);
1719 } 1723 }
1720 GLuint MojoGLES2Impl::GenPathsCHROMIUM(GLsizei range) { 1724 GLuint MojoGLES2Impl::GenPathsCHROMIUM(GLsizei range) {
1721 MojoGLES2MakeCurrent(context_); 1725 MojoGLES2MakeCurrent(context_);
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
1924 void MojoGLES2Impl::UniformMatrix4fvStreamTextureMatrixCHROMIUM( 1928 void MojoGLES2Impl::UniformMatrix4fvStreamTextureMatrixCHROMIUM(
1925 GLint location, 1929 GLint location,
1926 GLboolean transpose, 1930 GLboolean transpose,
1927 const GLfloat* default_value) { 1931 const GLfloat* default_value) {
1928 MojoGLES2MakeCurrent(context_); 1932 MojoGLES2MakeCurrent(context_);
1929 glUniformMatrix4fvStreamTextureMatrixCHROMIUM(location, transpose, 1933 glUniformMatrix4fvStreamTextureMatrixCHROMIUM(location, transpose,
1930 default_value); 1934 default_value);
1931 } 1935 }
1932 1936
1933 } // namespace mojo 1937 } // 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