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

Unified Diff: mojo/gpu/mojo_gles2_impl_autogen.cc

Issue 1338433002: Mandoline: Add WebGL support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix gn check issue 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/gles2/gles2_impl.cc ('k') | mojo/runner/native_application_support.cc » ('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 d706d62943ef5b9385929481a1552ce14d75223c..d393a0f216814e62b5579eab80820384f2f5ca0f 100644
--- a/mojo/gpu/mojo_gles2_impl_autogen.cc
+++ b/mojo/gpu/mojo_gles2_impl_autogen.cc
@@ -12,6 +12,7 @@
#include "base/logging.h"
#include "third_party/mojo/src/mojo/public/c/gles2/chromium_copy_texture.h"
+#include "third_party/mojo/src/mojo/public/c/gles2/chromium_framebuffer_multisample.h"
#include "third_party/mojo/src/mojo/public/c/gles2/chromium_image.h"
#include "third_party/mojo/src/mojo/public/c/gles2/chromium_miscellaneous.h"
#include "third_party/mojo/src/mojo/public/c/gles2/chromium_pixel_transfer_buffer_object.h"
@@ -1221,7 +1222,9 @@ void MojoGLES2Impl::BlitFramebufferCHROMIUM(GLint srcX0,
GLint dstY1,
GLbitfield mask,
GLenum filter) {
- NOTREACHED() << "Unimplemented BlitFramebufferCHROMIUM.";
+ MojoGLES2MakeCurrent(context_);
+ glBlitFramebufferCHROMIUM(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1,
+ dstY1, mask, filter);
}
void MojoGLES2Impl::RenderbufferStorageMultisampleCHROMIUM(
GLenum target,
@@ -1229,7 +1232,9 @@ void MojoGLES2Impl::RenderbufferStorageMultisampleCHROMIUM(
GLenum internalformat,
GLsizei width,
GLsizei height) {
- NOTREACHED() << "Unimplemented RenderbufferStorageMultisampleCHROMIUM.";
+ MojoGLES2MakeCurrent(context_);
+ glRenderbufferStorageMultisampleCHROMIUM(target, samples, internalformat,
+ width, height);
}
void MojoGLES2Impl::RenderbufferStorageMultisampleEXT(GLenum target,
GLsizei samples,
« no previous file with comments | « mojo/gles2/gles2_impl.cc ('k') | mojo/runner/native_application_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698