Title: [124840] trunk/Source/Platform
- Revision
- 124840
- Author
- [email protected]
- Date
- 2012-08-06 20:18:39 -0700 (Mon, 06 Aug 2012)
Log Message
[chromium] add sync points and GL_CHROMIUM_texture_mailbox entrypoints to WebGraphicsContext3D
https://bugs.webkit.org/show_bug.cgi?id=93313
Reviewed by James Robinson.
Sync points already landed chromium-side, mailbos at https://chromiumcodereview.appspot.com/10829209/
* chromium/public/WebGraphicsContext3D.h:
(WebKit::WebGraphicsContext3D::insertSyncPoint):
(WebKit::WebGraphicsContext3D::waitSyncPoint):
(WebGraphicsContext3D):
(WebKit::WebGraphicsContext3D::genMailboxCHROMIUM):
(WebKit::WebGraphicsContext3D::produceTextureCHROMIUM):
(WebKit::WebGraphicsContext3D::consumeTextureCHROMIUM):
Modified Paths
Diff
Modified: trunk/Source/Platform/ChangeLog (124839 => 124840)
--- trunk/Source/Platform/ChangeLog 2012-08-07 03:00:10 UTC (rev 124839)
+++ trunk/Source/Platform/ChangeLog 2012-08-07 03:18:39 UTC (rev 124840)
@@ -1,3 +1,20 @@
+2012-08-06 Antoine Labour <[email protected]>
+
+ [chromium] add sync points and GL_CHROMIUM_texture_mailbox entrypoints to WebGraphicsContext3D
+ https://bugs.webkit.org/show_bug.cgi?id=93313
+
+ Reviewed by James Robinson.
+
+ Sync points already landed chromium-side, mailbos at https://chromiumcodereview.appspot.com/10829209/
+
+ * chromium/public/WebGraphicsContext3D.h:
+ (WebKit::WebGraphicsContext3D::insertSyncPoint):
+ (WebKit::WebGraphicsContext3D::waitSyncPoint):
+ (WebGraphicsContext3D):
+ (WebKit::WebGraphicsContext3D::genMailboxCHROMIUM):
+ (WebKit::WebGraphicsContext3D::produceTextureCHROMIUM):
+ (WebKit::WebGraphicsContext3D::consumeTextureCHROMIUM):
+
2012-08-06 Adrienne Walker <[email protected]>
[chromium] Convert WebScrollbarThemeGeometry from a concrete class to an interface
Modified: trunk/Source/Platform/chromium/public/WebGraphicsContext3D.h (124839 => 124840)
--- trunk/Source/Platform/chromium/public/WebGraphicsContext3D.h 2012-08-07 03:00:10 UTC (rev 124839)
+++ trunk/Source/Platform/chromium/public/WebGraphicsContext3D.h 2012-08-07 03:18:39 UTC (rev 124840)
@@ -171,6 +171,9 @@
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 @@
// 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:
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes