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

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

Issue 1602313002: Removed client side support for old sync points. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed DrawingBufferTest reference Created 4 years, 11 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 1612 matching lines...) Expand 10 before | Expand all | Expand 10 after
1623 void MojoGLES2Impl::DiscardFramebufferEXT(GLenum target, 1623 void MojoGLES2Impl::DiscardFramebufferEXT(GLenum target,
1624 GLsizei count, 1624 GLsizei count,
1625 const GLenum* attachments) { 1625 const GLenum* attachments) {
1626 MojoGLES2MakeCurrent(context_); 1626 MojoGLES2MakeCurrent(context_);
1627 glDiscardFramebufferEXT(target, count, attachments); 1627 glDiscardFramebufferEXT(target, count, attachments);
1628 } 1628 }
1629 void MojoGLES2Impl::LoseContextCHROMIUM(GLenum current, GLenum other) { 1629 void MojoGLES2Impl::LoseContextCHROMIUM(GLenum current, GLenum other) {
1630 MojoGLES2MakeCurrent(context_); 1630 MojoGLES2MakeCurrent(context_);
1631 glLoseContextCHROMIUM(current, other); 1631 glLoseContextCHROMIUM(current, other);
1632 } 1632 }
1633 GLuint MojoGLES2Impl::InsertSyncPointCHROMIUM() {
1634 MojoGLES2MakeCurrent(context_);
1635 return glInsertSyncPointCHROMIUM();
1636 }
1637 void MojoGLES2Impl::WaitSyncPointCHROMIUM(GLuint sync_point) {
1638 MojoGLES2MakeCurrent(context_);
1639 glWaitSyncPointCHROMIUM(sync_point);
1640 }
1641 GLuint64 MojoGLES2Impl::InsertFenceSyncCHROMIUM() { 1633 GLuint64 MojoGLES2Impl::InsertFenceSyncCHROMIUM() {
1642 MojoGLES2MakeCurrent(context_); 1634 MojoGLES2MakeCurrent(context_);
1643 return glInsertFenceSyncCHROMIUM(); 1635 return glInsertFenceSyncCHROMIUM();
1644 } 1636 }
1645 void MojoGLES2Impl::GenSyncTokenCHROMIUM(GLuint64 fence_sync, 1637 void MojoGLES2Impl::GenSyncTokenCHROMIUM(GLuint64 fence_sync,
1646 GLbyte* sync_token) { 1638 GLbyte* sync_token) {
1647 MojoGLES2MakeCurrent(context_); 1639 MojoGLES2MakeCurrent(context_);
1648 glGenSyncTokenCHROMIUM(fence_sync, sync_token); 1640 glGenSyncTokenCHROMIUM(fence_sync, sync_token);
1649 } 1641 }
1650 void MojoGLES2Impl::GenUnverifiedSyncTokenCHROMIUM(GLuint64 fence_sync, 1642 void MojoGLES2Impl::GenUnverifiedSyncTokenCHROMIUM(GLuint64 fence_sync,
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
1920 const char* name) { 1912 const char* name) {
1921 MojoGLES2MakeCurrent(context_); 1913 MojoGLES2MakeCurrent(context_);
1922 glBindFragDataLocationEXT(program, colorNumber, name); 1914 glBindFragDataLocationEXT(program, colorNumber, name);
1923 } 1915 }
1924 GLint MojoGLES2Impl::GetFragDataIndexEXT(GLuint program, const char* name) { 1916 GLint MojoGLES2Impl::GetFragDataIndexEXT(GLuint program, const char* name) {
1925 MojoGLES2MakeCurrent(context_); 1917 MojoGLES2MakeCurrent(context_);
1926 return glGetFragDataIndexEXT(program, name); 1918 return glGetFragDataIndexEXT(program, name);
1927 } 1919 }
1928 1920
1929 } // namespace mojo 1921 } // 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