Title: [144654] trunk/Source/Platform
Revision
144654
Author
skyos...@chromium.org
Date
2013-03-04 11:44:03 -0800 (Mon, 04 Mar 2013)

Log Message

[chromium] Add ability to wait on async upload completion
https://bugs.webkit.org/show_bug.cgi?id=110987

Reviewed by James Robinson.

Add a graphics context entry point for waiting on asynchronous upload
completion. The wait is performed server-side so the call is
non-blocking.

See https://codereview.chromium.org/12210129/

* chromium/public/WebGraphicsContext3D.h:
(WebKit::WebGraphicsContext3D::waitAsyncTexImage2DCHROMIUM):

Modified Paths

Diff

Modified: trunk/Source/Platform/ChangeLog (144653 => 144654)


--- trunk/Source/Platform/ChangeLog	2013-03-04 19:42:57 UTC (rev 144653)
+++ trunk/Source/Platform/ChangeLog	2013-03-04 19:44:03 UTC (rev 144654)
@@ -1,3 +1,19 @@
+2013-03-04  Sami Kyostila  <skyos...@chromium.org>
+
+        [chromium] Add ability to wait on async upload completion
+        https://bugs.webkit.org/show_bug.cgi?id=110987
+
+        Reviewed by James Robinson.
+
+        Add a graphics context entry point for waiting on asynchronous upload
+        completion. The wait is performed server-side so the call is
+        non-blocking.
+
+        See https://codereview.chromium.org/12210129/
+
+        * chromium/public/WebGraphicsContext3D.h:
+        (WebKit::WebGraphicsContext3D::waitAsyncTexImage2DCHROMIUM):
+
 2013-02-26  Zhenyao Mo  <z...@google.com>
 
         EXT_draw_buffers needs implementation

Modified: trunk/Source/Platform/chromium/public/WebGraphicsContext3D.h (144653 => 144654)


--- trunk/Source/Platform/chromium/public/WebGraphicsContext3D.h	2013-03-04 19:42:57 UTC (rev 144653)
+++ trunk/Source/Platform/chromium/public/WebGraphicsContext3D.h	2013-03-04 19:44:03 UTC (rev 144654)
@@ -471,6 +471,7 @@
     // GL_CHROMIUM_async_pixel_transfers
     virtual void asyncTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint level, WGC3Denum internalformat, WGC3Dsizei width, WGC3Dsizei height, WGC3Dint border, WGC3Denum format, WGC3Denum type, const void* pixels) { }
     virtual void asyncTexSubImage2DCHROMIUM(WGC3Denum target, WGC3Dint level, WGC3Dint xoffset, WGC3Dint yoffset, WGC3Dsizei width, WGC3Dsizei height, WGC3Denum format, WGC3Denum type, const void* pixels) { }
+    virtual void waitAsyncTexImage2DCHROMIUM(WGC3Denum) { }
 
     // GL_EXT_draw_buffers
     virtual void drawBuffersEXT(WGC3Dsizei n, const WGC3Denum* bufs) { }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to