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

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

Issue 1317123004: Expose EXT_discard_framebuffer (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « mojo/gles2/gles2_impl.cc ('k') | mojo/public/platform/native/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1524 matching lines...) Expand 10 before | Expand all | Expand 10 after
1535 } 1535 }
1536 void MojoGLES2Impl::WaitAsyncTexImage2DCHROMIUM(GLenum target) { 1536 void MojoGLES2Impl::WaitAsyncTexImage2DCHROMIUM(GLenum target) {
1537 NOTREACHED() << "Unimplemented WaitAsyncTexImage2DCHROMIUM."; 1537 NOTREACHED() << "Unimplemented WaitAsyncTexImage2DCHROMIUM.";
1538 } 1538 }
1539 void MojoGLES2Impl::WaitAllAsyncTexImage2DCHROMIUM() { 1539 void MojoGLES2Impl::WaitAllAsyncTexImage2DCHROMIUM() {
1540 NOTREACHED() << "Unimplemented WaitAllAsyncTexImage2DCHROMIUM."; 1540 NOTREACHED() << "Unimplemented WaitAllAsyncTexImage2DCHROMIUM.";
1541 } 1541 }
1542 void MojoGLES2Impl::DiscardFramebufferEXT(GLenum target, 1542 void MojoGLES2Impl::DiscardFramebufferEXT(GLenum target,
1543 GLsizei count, 1543 GLsizei count,
1544 const GLenum* attachments) { 1544 const GLenum* attachments) {
1545 NOTREACHED() << "Unimplemented DiscardFramebufferEXT."; 1545 MojoGLES2MakeCurrent(context_);
1546 glDiscardFramebufferEXT(target, count, attachments);
1546 } 1547 }
1547 void MojoGLES2Impl::LoseContextCHROMIUM(GLenum current, GLenum other) { 1548 void MojoGLES2Impl::LoseContextCHROMIUM(GLenum current, GLenum other) {
1548 NOTREACHED() << "Unimplemented LoseContextCHROMIUM."; 1549 NOTREACHED() << "Unimplemented LoseContextCHROMIUM.";
1549 } 1550 }
1550 GLuint MojoGLES2Impl::InsertSyncPointCHROMIUM() { 1551 GLuint MojoGLES2Impl::InsertSyncPointCHROMIUM() {
1551 MojoGLES2MakeCurrent(context_); 1552 MojoGLES2MakeCurrent(context_);
1552 return glInsertSyncPointCHROMIUM(); 1553 return glInsertSyncPointCHROMIUM();
1553 } 1554 }
1554 void MojoGLES2Impl::WaitSyncPointCHROMIUM(GLuint sync_point) { 1555 void MojoGLES2Impl::WaitSyncPointCHROMIUM(GLuint sync_point) {
1555 MojoGLES2MakeCurrent(context_); 1556 MojoGLES2MakeCurrent(context_);
(...skipping 26 matching lines...) Expand all
1582 } 1583 }
1583 void MojoGLES2Impl::MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { 1584 void MojoGLES2Impl::MatrixLoadIdentityCHROMIUM(GLenum matrixMode) {
1584 NOTREACHED() << "Unimplemented MatrixLoadIdentityCHROMIUM."; 1585 NOTREACHED() << "Unimplemented MatrixLoadIdentityCHROMIUM.";
1585 } 1586 }
1586 void MojoGLES2Impl::BlendBarrierKHR() { 1587 void MojoGLES2Impl::BlendBarrierKHR() {
1587 MojoGLES2MakeCurrent(context_); 1588 MojoGLES2MakeCurrent(context_);
1588 glBlendBarrierKHR(); 1589 glBlendBarrierKHR();
1589 } 1590 }
1590 1591
1591 } // namespace mojo 1592 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/gles2/gles2_impl.cc ('k') | mojo/public/platform/native/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698