Chromium Code Reviews| 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..65897197e5a51219f81c34f103da5712fd12c0e3 100644 |
| --- a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_image.txt |
| +++ b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_image.txt |
| @@ -29,18 +29,23 @@ 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 invalid or <width> or <height> |
|
reveman
2015/03/02 20:09:55
What does it mean for <buffers> to be invalid?
emircan
2015/03/03 02:02:18
Explained that it is an empty pointer.
|
| + is nonpositive. |
| INVALID_ENUM is generated if <internalformat> is not one of |
| RGB or RGBA. |