Chromium Code Reviews| Index: gpu/GLES2/extensions/CHROMIUM/CHROMIUM_compressed_copy_texture.txt |
| diff --git a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_compressed_copy_texture.txt b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_compressed_copy_texture.txt |
| index c236ce3835bb328f82d547547daac01a6e1cc807..94969ca9cbbf810a0bf2828f26bc86531e801ade 100644 |
| --- a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_compressed_copy_texture.txt |
| +++ b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_compressed_copy_texture.txt |
| @@ -8,7 +8,7 @@ Name Strings |
| Version |
| - Last Modifed Date: Jun 15, 2015 |
| + Last Modifed Date: August 5, 2015 |
| Dependencies |
| @@ -71,6 +71,48 @@ New Procedures and Functions |
| INVALID_VALUE is generated if level 0 of the source texture is not defined. |
| + The command |
| + |
| + void glCompressedCopySubTextureCHROMIUM (GLenum target, |
| + GLenum source_id, |
| + GLenum dest_id, |
| + GLint xoffset, GLint yoffset, |
| + GLint x, GLint y, |
| + GLsizei width, GLsizei height) |
| + |
| + Copies the sub contents of texture referred to by <source_id> to <dest_id> |
| + texture without redefining <dest_id> texture. |
| + |
| + <target> uses the same parameters as TexImage2D. |
| + |
| + <xoffset> and <yoffset> specify a texel offset in the x and y direction |
| + respectively within the destination texture. |
| + |
| + <x> and <y> specify specify a texel offset in the x and y direction |
|
reveman
2015/08/10 16:00:46
nit: s/specify specify/specify/
|
| + respectively within the source texture. |
| + |
| + <width> specifies the width of the texture subimage. |
| + |
| + <height> specifies the width of the texture subimage. |
| + |
| + INVALID_OPERATION is generated if internal format of source texture is not |
| + one of the following: GL_ATC_RGB_AMD, GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD, |
| + GL_COMPRESSED_RGB_S3TC_DXT1_EXT, GL_COMPRESSED_RGBA_S3TC_DXT5_EXT, |
| + GL_ETC1_RGB8_OES |
| + |
| + INVALID_VALUE is generated if <target> is not GL_TEXTURE_2D. |
| + |
| + INVALID_OPERATION is generated if the destination texture has not been |
| + defined. |
| + |
| + INVALID_VALUE is generated if level 0 of the source texture or |
| + the destination texture is not defined. |
| + |
| + INVALID_VALUE is generated if <xoffset> < 0 , or <yoffset> < 0. |
| + |
| + INVALID_VALUE is generated if (<xoffset> + <width>) > dest_width, |
| + or (<yoffset> + <height>) > dest_height. |
| + |
| Errors |
| None. |
| @@ -86,3 +128,4 @@ New State |
| Revision History |
| 15/6/2015 Documented the extension. |
| + 5/8/2015 Added glCompressedCopySubTextureCHROMIUM. |