Title: [135530] trunk/Source/Platform
- Revision
- 135530
- Author
- [email protected]
- Date
- 2012-11-22 09:38:24 -0800 (Thu, 22 Nov 2012)
Log Message
[Chromium] Add GL_CHROMIUM_pixel_transfer_buffer_object extension support.
https://bugs.webkit.org/show_bug.cgi?id=102528
Patch by David Reveman <[email protected]> on 2012-11-22
Reviewed by James Robinson.
Add mapBufferCHROMIUM and unmapBufferCHROMIUM prototypes to WebGraphicsContext3D.h.
* chromium/public/WebGraphicsContext3D.h:
(WebGraphicsContext3D):
(WebKit::WebGraphicsContext3D::mapBufferCHROMIUM):
(WebKit::WebGraphicsContext3D::unmapBufferCHROMIUM):
Modified Paths
Diff
Modified: trunk/Source/Platform/ChangeLog (135529 => 135530)
--- trunk/Source/Platform/ChangeLog 2012-11-22 17:34:36 UTC (rev 135529)
+++ trunk/Source/Platform/ChangeLog 2012-11-22 17:38:24 UTC (rev 135530)
@@ -1,3 +1,17 @@
+2012-11-22 David Reveman <[email protected]>
+
+ [Chromium] Add GL_CHROMIUM_pixel_transfer_buffer_object extension support.
+ https://bugs.webkit.org/show_bug.cgi?id=102528
+
+ Reviewed by James Robinson.
+
+ Add mapBufferCHROMIUM and unmapBufferCHROMIUM prototypes to WebGraphicsContext3D.h.
+
+ * chromium/public/WebGraphicsContext3D.h:
+ (WebGraphicsContext3D):
+ (WebKit::WebGraphicsContext3D::mapBufferCHROMIUM):
+ (WebKit::WebGraphicsContext3D::unmapBufferCHROMIUM):
+
2012-11-21 Harald Alvestrand <[email protected]>
WebMediaStreamComponent: Add assignment and copy operators
Modified: trunk/Source/Platform/chromium/public/WebGraphicsContext3D.h (135529 => 135530)
--- trunk/Source/Platform/chromium/public/WebGraphicsContext3D.h 2012-11-22 17:34:36 UTC (rev 135529)
+++ trunk/Source/Platform/chromium/public/WebGraphicsContext3D.h 2012-11-22 17:38:24 UTC (rev 135530)
@@ -457,6 +457,10 @@
virtual void bindTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint imageId) { }
virtual void releaseTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint imageId) { }
+ // GL_CHROMIUM_pixel_transfer_buffer_object
+ virtual void* mapBufferCHROMIUM(WGC3Denum target, WGC3Denum access) { return 0; }
+ virtual WGC3Dboolean unmapBufferCHROMIUM(WGC3Denum target) { return false; }
+
GrGLInterface* createGrGLInterface();
protected:
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes