Title: [132256] trunk/Source/Platform
Revision
132256
Author
[email protected]
Date
2012-10-23 12:44:03 -0700 (Tue, 23 Oct 2012)

Log Message

[Chromium] Add CHROMIUM_texture_from_image extension support.
https://bugs.webkit.org/show_bug.cgi?id=99894

Patch by David Reveman <[email protected]> on 2012-10-23
Reviewed by James Robinson.

Add bindTexImage2DCHROMIUM and releaseTexImage2DCHROMIUM prototypes to
WebGraphicsContext3D.h.

* chromium/public/WebGraphicsContext3D.h:
(WebGraphicsContext3D):
(WebKit::WebGraphicsContext3D::bindTexImage2DCHROMIUM):
(WebKit::WebGraphicsContext3D::releaseTexImage2DCHROMIUM):

Modified Paths

Diff

Modified: trunk/Source/Platform/ChangeLog (132255 => 132256)


--- trunk/Source/Platform/ChangeLog	2012-10-23 19:40:26 UTC (rev 132255)
+++ trunk/Source/Platform/ChangeLog	2012-10-23 19:44:03 UTC (rev 132256)
@@ -1,3 +1,18 @@
+2012-10-23  David Reveman  <[email protected]>
+
+        [Chromium] Add CHROMIUM_texture_from_image extension support.
+        https://bugs.webkit.org/show_bug.cgi?id=99894
+
+        Reviewed by James Robinson.
+
+        Add bindTexImage2DCHROMIUM and releaseTexImage2DCHROMIUM prototypes to
+        WebGraphicsContext3D.h.
+
+        * chromium/public/WebGraphicsContext3D.h:
+        (WebGraphicsContext3D):
+        (WebKit::WebGraphicsContext3D::bindTexImage2DCHROMIUM):
+        (WebKit::WebGraphicsContext3D::releaseTexImage2DCHROMIUM):
+
 2012-10-23  Dana Jansens  <[email protected]>
 
         [chromium] Expose setAutomaticallyComputeRasterScale on the WebLayer API

Modified: trunk/Source/Platform/chromium/public/WebGraphicsContext3D.h (132255 => 132256)


--- trunk/Source/Platform/chromium/public/WebGraphicsContext3D.h	2012-10-23 19:40:26 UTC (rev 132255)
+++ trunk/Source/Platform/chromium/public/WebGraphicsContext3D.h	2012-10-23 19:44:03 UTC (rev 132256)
@@ -451,6 +451,10 @@
     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:
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to