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..d8cad272bccaa71bca52c975715502df09a107a4 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(const ClientBuffer* const buffers, |
|
reveman
2015/03/03 05:30:13
From the client's point of view, the image being c
emircan
2015/03/04 03:03:16
I removed the consts from the API call, and kept i
|
| 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 |
| + <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) |