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

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

Issue 962723002: Change CHROMIUM_image declarations to support multi planar input. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reveman@ comments. Created 5 years, 9 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: gpu/GLES2/extensions/CHROMIUM/CHROMIUM_image.txt
diff --git a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_image.txt b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_image.txt
index 2974e43bd32b7d01d4384cb62c7011a90d07a660..51f6b463094776bc93e2aff017d6bb6455e5dc8a 100644
--- a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_image.txt
+++ b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_image.txt
@@ -29,21 +29,24 @@ New Tokens
New Procedures and Functions
- GLuint CreateImageCHROMIUM(ClientBuffer buffer,
+ GLuint CreateImageCHROMIUM(ClientBuffer* buffers,
GLsizei width,
GLsizei height,
GLenum internalformat)
- Create an image from <buffer> with width equal to <width> and
+ Create an image from <buffers> with width equal to <width> and
height equal to <height> and format equal to <internalformat>.
+ <buffers> specifies an array in which ClientBuffer elements corresponding
+ to image planes are stored. The number of ClientBuffer objects are inferred
+ through the specified <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 <internalformat> is not one of RGB or RGBA.
void DestroyImageCHROMIUM(GLuint image_id)

Powered by Google App Engine
This is Rietveld 408576698