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

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

Issue 617693003: gpu: Add CHROMIUM_gpu_memory_buffer_image extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@map-image-rename
Patch Set: include WebGraphicsContext3DImpl changes Created 6 years, 3 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 | « ui/gl/gl_bindings.h ('k') | webkit/common/gpu/webgraphicscontext3d_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/common/gpu/webgraphicscontext3d_impl.h
diff --git a/webkit/common/gpu/webgraphicscontext3d_impl.h b/webkit/common/gpu/webgraphicscontext3d_impl.h
index 9097b8f5adfb8d1691097895c9a6aa8db40a997b..2abfb92cccbdfba6d62bd963a042dc7e2b96cda9 100644
--- a/webkit/common/gpu/webgraphicscontext3d_impl.h
+++ b/webkit/common/gpu/webgraphicscontext3d_impl.h
@@ -539,7 +539,7 @@ class WEBKIT_GPU_EXPORT WebGraphicsContext3DImpl
WGC3Denum type, WGC3Dintptr offset, WGC3Dsizei primcount);
virtual void vertexAttribDivisorANGLE(WGC3Duint index, WGC3Duint divisor);
- // GL_CHROMIUM_map_image
+ // GL_CHROMIUM_image
virtual WGC3Duint createImageCHROMIUM(WGC3Dsizei width,
WGC3Dsizei height,
WGC3Denum internalformat,
@@ -550,6 +550,12 @@ class WEBKIT_GPU_EXPORT WebGraphicsContext3DImpl
virtual void* mapImageCHROMIUM(WGC3Duint image_id);
virtual void unmapImageCHROMIUM(WGC3Duint image_id);
+ // GL_CHROMIUM_gpu_memory_buffer_image
+ virtual WGC3Duint createGpuMemoryBufferImageCHROMIUM(WGC3Dsizei width,
+ WGC3Dsizei height,
+ WGC3Denum internalformat,
+ WGC3Denum usage);
+
// GL_EXT_multisampled_render_to_texture
virtual void framebufferTexture2DMultisampleEXT(WGC3Denum target,
WGC3Denum attachment,
« no previous file with comments | « ui/gl/gl_bindings.h ('k') | webkit/common/gpu/webgraphicscontext3d_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698