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

Unified Diff: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h

Issue 255713008: Change glimage to accept a type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 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: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
index a167c6415b9c31aa62422fd95325c6d7a8e03620..6a41e47d03bbd672a75493c4a85468010c9d87b2 100644
--- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
+++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
@@ -652,12 +652,19 @@ class WebGraphicsContext3DCommandBufferImpl
virtual void vertexAttribDivisorANGLE(WGC3Duint index, WGC3Duint divisor);
// GL_CHROMIUM_map_image
+ // TODO(alexst): 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(alexst): 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);
// GL_EXT_multisampled_render_to_texture

Powered by Google App Engine
This is Rietveld 408576698