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

Unified Diff: chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc

Issue 6369016: Add GL_CHROMIUM_framebuffer_multisample support to Chromium's... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc
===================================================================
--- chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc (revision 72421)
+++ chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc (working copy)
@@ -387,6 +387,23 @@
glRequestExtensionCHROMIUM(extension);
}
+void WebGraphicsContext3DCommandBufferImpl::blitFramebufferCHROMIUM(
+ int srcX0, int srcY0, int srcX1, int srcY1,
+ int dstX0, int dstY0, int dstX1, int dstY1,
+ unsigned mask, unsigned filter) {
+ glBlitFramebufferEXT(srcX0, srcY0, srcX1, srcY1,
+ dstX0, dstY0, dstX1, dstY1,
+ mask, filter);
+}
+
+void WebGraphicsContext3DCommandBufferImpl::
+ renderbufferStorageMultisampleCHROMIUM(
+ unsigned long target, int samples, unsigned internalformat,
+ unsigned width, unsigned height) {
+ glRenderbufferStorageMultisampleEXT(target, samples, internalformat,
+ width, height);
+}
+
// Helper macros to reduce the amount of code.
#define DELEGATE_TO_GL(name, glname) \
« no previous file with comments | « chrome/renderer/webgraphicscontext3d_command_buffer_impl.h ('k') | webkit/gpu/webgraphicscontext3d_in_process_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698