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

Unified Diff: webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h

Issue 255713008: Change glimage to accept a type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: First draft Created 6 years, 8 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/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h
diff --git a/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h b/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h
index 0e4348dccf01db892ea941f1c1bc13b2720485bf..d32fb7b6005512094789699922791f650efd1788 100644
--- a/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h
+++ b/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h
@@ -477,12 +477,19 @@ class WEBKIT_GPU_EXPORT WebGraphicsContext3DInProcessCommandBufferImpl
virtual void texStorage2DEXT(
WGC3Denum target, WGC3Dint levels, WGC3Duint internalformat,
WGC3Dint width, WGC3Dint height);
+ // TODO: remove this old function after blink cleanup.
virtual WGC3Duint createImageCHROMIUM(
WGC3Dsizei width, WGC3Dsizei height, WGC3Denum internalformat);
+ virtual WGC3Duint createImageCHROMIUM(WGC3Dsizei width,
+ WGC3Dsizei height,
+ WGC3Denum internalformat,
+ WGC3Denum usage);
virtual void destroyImageCHROMIUM(WGC3Duint image_id);
virtual void getImageParameterivCHROMIUM(
WGC3Duint image_id, WGC3Denum pname, WGC3Dint* params);
+ // TODO: remove this old function after blink cleanup.
virtual void* mapImageCHROMIUM(WGC3Duint image_id, WGC3Denum access);
+ virtual void* mapImageCHROMIUM(WGC3Duint image_id);
virtual void unmapImageCHROMIUM(WGC3Duint image_id);
virtual WebGLId createQueryEXT();
virtual void deleteQueryEXT(WebGLId query);

Powered by Google App Engine
This is Rietveld 408576698