summaryrefslogtreecommitdiffstats
path: root/webkit/gpu
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/gpu')
-rw-r--r--webkit/gpu/webgraphicscontext3d_in_process_impl.cc11
-rw-r--r--webkit/gpu/webgraphicscontext3d_in_process_impl.h8
2 files changed, 19 insertions, 0 deletions
diff --git a/webkit/gpu/webgraphicscontext3d_in_process_impl.cc b/webkit/gpu/webgraphicscontext3d_in_process_impl.cc
index 4b45e3027..e8f905a 100644
--- a/webkit/gpu/webgraphicscontext3d_in_process_impl.cc
+++ b/webkit/gpu/webgraphicscontext3d_in_process_impl.cc
@@ -672,6 +672,17 @@ WebString WebGraphicsContext3DInProcessImpl::
void WebGraphicsContext3DInProcessImpl::requestExtensionCHROMIUM(const char*) {
}
+void WebGraphicsContext3DInProcessImpl::blitFramebufferCHROMIUM(
+ int srcX0, int srcY0, int srcX1, int srcY1,
+ int dstX0, int dstY0, int dstX1, int dstY1,
+ unsigned mask, unsigned filter) {
+}
+
+void WebGraphicsContext3DInProcessImpl::renderbufferStorageMultisampleCHROMIUM(
+ unsigned long target, int samples, unsigned internalformat,
+ unsigned width, unsigned height) {
+}
+
// Helper macros to reduce the amount of code.
#define DELEGATE_TO_GL(name, glname) \
diff --git a/webkit/gpu/webgraphicscontext3d_in_process_impl.h b/webkit/gpu/webgraphicscontext3d_in_process_impl.h
index 234879d..6113157 100644
--- a/webkit/gpu/webgraphicscontext3d_in_process_impl.h
+++ b/webkit/gpu/webgraphicscontext3d_in_process_impl.h
@@ -75,6 +75,14 @@ class WebGraphicsContext3DInProcessImpl : public WebKit::WebGraphicsContext3D {
virtual WebKit::WebString getRequestableExtensionsCHROMIUM();
virtual void requestExtensionCHROMIUM(const char*);
+ virtual void blitFramebufferCHROMIUM(
+ int srcX0, int srcY0, int srcX1, int srcY1,
+ int dstX0, int dstY0, int dstX1, int dstY1,
+ unsigned mask, unsigned filter);
+ virtual void renderbufferStorageMultisampleCHROMIUM(
+ unsigned long target, int samples, unsigned internalformat,
+ unsigned width, unsigned height);
+
virtual void activeTexture(unsigned long texture);
virtual void attachShader(WebKit::WebGLId program, WebKit::WebGLId shader);
virtual void bindAttribLocation(