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..d4f823ea970f6c039b2422f7af1626d8a34848fb 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 a texel offset in the x and y direction 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. |