summaryrefslogtreecommitdiff
path: root/Source/Platform/chromium/public/WebGraphicsContext3D.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Platform/chromium/public/WebGraphicsContext3D.h')
-rw-r--r--Source/Platform/chromium/public/WebGraphicsContext3D.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/Platform/chromium/public/WebGraphicsContext3D.h b/Source/Platform/chromium/public/WebGraphicsContext3D.h
index 8f85851a0..1707f87c0 100644
--- a/Source/Platform/chromium/public/WebGraphicsContext3D.h
+++ b/Source/Platform/chromium/public/WebGraphicsContext3D.h
@@ -33,6 +33,7 @@
#include "WebCommon.h"
#include "WebGraphicsMemoryAllocation.h"
+#include "WebGraphicsMemoryStats.h"
#include "WebNonCopyable.h"
#include "WebString.h"
@@ -162,6 +163,7 @@ public:
// GL_CHROMIUM_gpu_memory_manager - sets callback to observe changes to memory allocation limits.
virtual void setMemoryAllocationChangedCallbackCHROMIUM(WebGraphicsMemoryAllocationChangedCallbackCHROMIUM* callback) { }
+ virtual void sendManagedMemoryStatsCHROMIUM(const WebGraphicsManagedMemoryStats* stats) { }
// GL_EXT_discard_framebuffer - discard/ensure existance of surface backbuffer.
// FIXME: make these pure virtual once they are implemented by clients.
@@ -451,6 +453,10 @@ public:
virtual WGC3Dboolean isVertexArrayOES(WebGLId array) { return false; }
virtual void bindVertexArrayOES(WebGLId array) { }
+ // GL_CHROMIUM_texture_from_image
+ virtual void bindTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint imageId) { }
+ virtual void releaseTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint imageId) { }
+
GrGLInterface* createGrGLInterface();
protected: