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

Unified 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, 4 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/gpu/mojo_gles2_impl_autogen.cc
diff --git a/mojo/gpu/mojo_gles2_impl_autogen.cc b/mojo/gpu/mojo_gles2_impl_autogen.cc
index 7842a3ae1c040bc7e71fbd2bf9bba0c2bcbf137f..2fb812ee6f5af9b3fce6248554ddd7c58f24a394 100644
--- a/mojo/gpu/mojo_gles2_impl_autogen.cc
+++ b/mojo/gpu/mojo_gles2_impl_autogen.cc
@@ -1542,7 +1542,8 @@ void MojoGLES2Impl::WaitAllAsyncTexImage2DCHROMIUM() {
void MojoGLES2Impl::DiscardFramebufferEXT(GLenum target,
GLsizei count,
const GLenum* attachments) {
- NOTREACHED() << "Unimplemented DiscardFramebufferEXT.";
+ MojoGLES2MakeCurrent(context_);
+ glDiscardFramebufferEXT(target, count, attachments);
}
void MojoGLES2Impl::LoseContextCHROMIUM(GLenum current, GLenum other) {
NOTREACHED() << "Unimplemented LoseContextCHROMIUM.";
« 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