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

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: Trybot issues fixed. 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..89604e1125b3d42413a7e780e15c087041499ca0 100644
--- a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_image.txt
+++ b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_image.txt
@@ -29,21 +29,25 @@ 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_VALUE is generated if <buffers> is an empty pointer, or <width> or
reveman 2015/03/12 19:37:22 "<buffers> is an empty pointer" what does that mea
emircan 2015/03/12 22:34:26 Done.
emircan 2015/03/12 22:34:26 Done.
+ <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