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

Unified Diff: webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h

Issue 14456004: GPU client side changes for GpuMemoryBuffers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@glapi
Patch Set: Updated the extension documentation 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
Index: webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h
diff --git a/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h b/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h
index 28e96d5b450bbce1d106369dd64fcbf55aeda6c1..d3265484dc7b15743043858cade8a5235fe75f17 100644
--- a/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h
+++ b/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h
@@ -403,6 +403,7 @@ class WEBKIT_GPU_EXPORT WebGraphicsContext3DInProcessCommandBufferImpl
virtual void deleteBuffer(WebGLId);
virtual void deleteFramebuffer(WebGLId);
+ /* virtual void deleteImageBuffer(WebGLId); */
greggman 2013/05/10 00:12:22 If this is no longer needed delete it? We don't ge
kaanb 2013/05/13 23:00:36 Done.
virtual void deleteProgram(WebGLId);
virtual void deleteRenderbuffer(WebGLId);
virtual void deleteShader(WebGLId);
@@ -474,7 +475,12 @@ class WEBKIT_GPU_EXPORT WebGraphicsContext3DInProcessCommandBufferImpl
virtual void texStorage2DEXT(
WGC3Denum target, WGC3Dint levels, WGC3Duint internalformat,
WGC3Dint width, WGC3Dint height);
-
+ virtual WGC3Duint createImageCHROMIUM(WGC3Dsizei width, WGC3Dsizei height);
+ virtual void destroyImageCHROMIUM(WGC3Duint image_id);
+ virtual void getImageParameterivCHROMIUM(
+ WGC3Duint image_id, WGC3Denum pname, WGC3Dint* params);
+ virtual void* mapImageCHROMIUM(WGC3Duint image_id, WGC3Denum access);
+ virtual WGC3Dboolean unmapImageCHROMIUM(WGC3Duint image_id);
virtual WebGLId createQueryEXT();
virtual void deleteQueryEXT(WebGLId query);
virtual WGC3Dboolean isQueryEXT(WebGLId query);

Powered by Google App Engine
This is Rietveld 408576698