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

Unified Diff: ui/gl/gl_bindings_skia_in_process.cc

Issue 18492005: Add GL_EXT_multisampled_render_to_texture support to command buffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moved ahead to TOT Created 7 years, 5 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 | « ui/gl/gl_bindings.h ('k') | webkit/common/gpu/gl_bindings_skia_cmd_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_bindings_skia_in_process.cc
diff --git a/ui/gl/gl_bindings_skia_in_process.cc b/ui/gl/gl_bindings_skia_in_process.cc
index 101a88216f163d954a3f785a8bf91182d5f739f4..9c2cea6a07e97b15cb1fe8ea49b3fd3017017298 100644
--- a/ui/gl/gl_bindings_skia_in_process.cc
+++ b/ui/gl/gl_bindings_skia_in_process.cc
@@ -237,6 +237,13 @@ GLvoid StubGLFramebufferTexture2D(GLenum target, GLenum attachment,
glFramebufferTexture2DEXT(target, attachment, textarget, texture, level);
}
+GLvoid StubGLFramebufferTexture2DMultisample(GLenum target, GLenum attachment,
+ GLenum textarget, GLuint texture,
+ GLint level, GLsizei samples) {
+ glFramebufferTexture2DMultisampleEXT(target, attachment, textarget, texture,
+ level, samples);
+}
+
GLvoid StubGLFrontFace(GLenum mode) {
glFrontFace(mode);
}
@@ -685,6 +692,8 @@ GrGLInterface* CreateInProcessSkiaGLBinding() {
interface->fDeleteRenderbuffers = StubGLDeleteRenderbuffers;
interface->fFramebufferRenderbuffer = StubGLFramebufferRenderbuffer;
interface->fFramebufferTexture2D = StubGLFramebufferTexture2D;
+ interface->fFramebufferTexture2DMultisample =
+ StubGLFramebufferTexture2DMultisample;
interface->fGenFramebuffers = StubGLGenFramebuffers;
interface->fGenRenderbuffers = StubGLGenRenderbuffers;
interface->fGetFramebufferAttachmentParameteriv =
« no previous file with comments | « ui/gl/gl_bindings.h ('k') | webkit/common/gpu/gl_bindings_skia_cmd_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698