Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(269)

Unified Diff: Source/Platform/chromium/public/WebGraphicsContext3D.h

Issue 14502005: blink: Adding the imageBufferDataCHROMIUM API for GpuMemoryBuffers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: New WGC3D API for GpuMemoryBuffers Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/Platform/chromium/public/WebGraphicsContext3D.h
diff --git a/Source/Platform/chromium/public/WebGraphicsContext3D.h b/Source/Platform/chromium/public/WebGraphicsContext3D.h
index 5edd30d69fcbf471de9dfeb32481cfdf1f26b063..4752dc8e09b1a15e07dcf679216758f336e4331d 100644
--- a/Source/Platform/chromium/public/WebGraphicsContext3D.h
+++ b/Source/Platform/chromium/public/WebGraphicsContext3D.h
@@ -498,7 +498,11 @@ public:
virtual GrGLInterface* createGrGLInterface() { return onCreateGrGLInterface(); }
// GL_CHROMIUM_gpu_memory_buffer
- virtual void imageBufferDataCHROMIUM(WGC3Denum target, WGC3Dsizei width, WGC3Dsizei height) { }
+ virtual WGC3Duint createImageCHROMIUM(WGC3Dsizei width, WGC3Dsizei height) { return 0; }
+ virtual void destroyImageCHROMIUM(WGC3Duint imageId) { }
+ virtual void getImageParameterivCHROMIUM(WGC3Duint imageId, WGC3Denum pname, WGC3Dint* params) { }
+ virtual void* mapImageCHROMIUM(WGC3Duint imageId, WGC3Denum access) { return 0; }
+ virtual WGC3Dboolean unmapImageCHROMIUM(WGC3Duint imageId) { return false; }
protected:
virtual GrGLInterface* onCreateGrGLInterface() { return 0; }
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698