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

Unified Diff: gpu/GLES2/extensions/CHROMIUM/CHROMIUM_gpu_memory_buffer_image.txt

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 | « no previous file | gpu/GLES2/gl2chromium_autogen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/GLES2/extensions/CHROMIUM/CHROMIUM_gpu_memory_buffer_image.txt
diff --git a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_gpu_memory_buffer_image.txt b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_gpu_memory_buffer_image.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9f4d09d286eee60270b3d0d2ae7214540eb78719
--- /dev/null
+++ b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_gpu_memory_buffer_image.txt
@@ -0,0 +1,66 @@
+Name
+
+ CHROMIUM_gpu_memory_buffer_image
+
+Name Strings
+
+ GL_CHROMIUM_gpu_memory_buffer_image
+
+Version
+
+ Last Modifed Date: Sep 29, 2014
+
+Dependencies
+
+ OpenGL ES 2.0 is required.
+
+ GL_CHROMIUM_image is required.
+
+Overview
+
+ This extension provide a mechanism for creating a GpuMemoryBuffer
+ backed image resource.
+
+Issues
+
+ None
+
+New Tokens
+
+ Accepted by the <usage> parameter of CreateGpuMemoryBufferImageCHROMIUM:
+
+ MAP_CHROMIUM 0x78F1
+ SCANOUT_CHROMIUM 0x78F2
+
+New Procedures and Functions
+
+ GLuint CreateGpuMemoryBufferImageCHROMIUM(GLsizei width,
+ GLsizei height,
+ GLenum internalformat,
+ GLenum usage)
+
+ Create a GpuMemoryBuffer backed image with width equal to <width>
+ and height equal to <height> and format equal to <internalformat>.
+
+ Returns a unique identifier for the image that could be used in
+ subsequent operations.
+
+ INVALID_VALUE is generated if <width> or <height> is nonpositive.
+
+ INVALID_ENUM is generated if <internalformat> is not one of
+ RGB or RGBA.
+
+ INVALID_ENUM is generated if <usage> is not one of
+ MAP_CHROMIUM or SCANOUT_CHROMIUM.
+
+Errors
+
+ None.
+
+New State
+
+ None.
+
+Revision History
+
+ 9/29/2014 Documented the extension.
« no previous file with comments | « no previous file | gpu/GLES2/gl2chromium_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698