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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/Platform/chromium/public/WebGraphicsContext3D.h b/Source/Platform/chromium/public/WebGraphicsContext3D.h
index ae71c9a65..c0f790b8a 100644
--- a/Source/Platform/chromium/public/WebGraphicsContext3D.h
+++ b/Source/Platform/chromium/public/WebGraphicsContext3D.h
@@ -171,6 +171,9 @@ public:
virtual bool setParentContext(WebGraphicsContext3D* parentContext) { return false; }
+ virtual unsigned insertSyncPoint() { return 0; }
+ virtual void waitSyncPoint(unsigned) { }
+
// Helper for software compositing path. Reads back the frame buffer into
// the memory region pointed to by "pixels" with size "bufferSize". It is
// expected that the storage for "pixels" covers (4 * width * height) bytes.
@@ -430,6 +433,11 @@ public:
// GL_CHROMIUM_shallow_flush
virtual void shallowFlushCHROMIUM() { }
+ // GL_CHROMIUM_texture_mailbox
+ virtual void genMailboxCHROMIUM(WGC3Dbyte* mailbox) { }
+ virtual void produceTextureCHROMIUM(WGC3Denum target, const WGC3Dbyte* mailbox) { }
+ virtual void consumeTextureCHROMIUM(WGC3Denum target, const WGC3Dbyte* mailbox) { }
+
GrGLInterface* createGrGLInterface();
protected: