OLD | NEW |
1 Name | 1 Name |
2 | 2 |
3 CHROMIUM_copy_compressed_texture | 3 CHROMIUM_copy_compressed_texture |
4 | 4 |
5 Name Strings | 5 Name Strings |
6 | 6 |
7 GL_CHROMIUM_copy_compressed_texture | 7 GL_CHROMIUM_copy_compressed_texture |
8 | 8 |
9 Version | 9 Version |
10 | 10 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 INVALID_OPERATION is generated if destination texture is immutable. | 64 INVALID_OPERATION is generated if destination texture is immutable. |
65 | 65 |
66 INVALID_VALUE is generated if <source_id> or <dest_id> are not valid texture | 66 INVALID_VALUE is generated if <source_id> or <dest_id> are not valid texture |
67 objects. | 67 objects. |
68 | 68 |
69 INVALID_VALUE is generated if textures corresponding to <dest_id> have not | 69 INVALID_VALUE is generated if textures corresponding to <dest_id> have not |
70 been bound as GL_TEXTURE_2D object. | 70 been bound as GL_TEXTURE_2D object. |
71 | 71 |
72 INVALID_VALUE is generated if level 0 of the source texture is not defined. | 72 INVALID_VALUE is generated if level 0 of the source texture is not defined. |
73 | 73 |
74 The command | |
75 | |
76 void glCompressedCopySubTextureCHROMIUM (GLenum target, | |
77 GLenum source_id, | |
78 GLenum dest_id, | |
79 GLint xoffset, GLint yoffset, | |
80 GLint x, GLint y, | |
81 GLsizei width, GLsizei height) | |
82 | |
83 Copies the sub contents of texture referred to by <source_id> to <dest_id> | |
84 texture without redefining <dest_id> texture. | |
85 | |
86 <target> uses the same parameters as TexImage2D. | |
87 | |
88 <xoffset> and <yoffset> specify a texel offset in the x and y direction | |
89 respectively within the destination texture. | |
90 | |
91 <x> and <y> specify a texel offset in the x and y direction respectively | |
92 within the source texture. | |
93 | |
94 <width> specifies the width of the texture subimage. | |
95 | |
96 <height> specifies the width of the texture subimage. | |
97 | |
98 INVALID_OPERATION is generated if internal format of source texture is not | |
99 one of the following: GL_ATC_RGB_AMD, GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD, | |
100 GL_COMPRESSED_RGB_S3TC_DXT1_EXT, GL_COMPRESSED_RGBA_S3TC_DXT5_EXT, | |
101 GL_ETC1_RGB8_OES | |
102 | |
103 INVALID_VALUE is generated if <target> is not GL_TEXTURE_2D. | |
104 | |
105 INVALID_OPERATION is generated if the destination texture has not been | |
106 defined. | |
107 | |
108 INVALID_VALUE is generated if level 0 of the source texture or | |
109 the destination texture is not defined. | |
110 | |
111 INVALID_VALUE is generated if <xoffset> < 0 , or <yoffset> < 0. | |
112 | |
113 INVALID_VALUE is generated if (<xoffset> + <width>) > dest_width, | |
114 or (<yoffset> + <height>) > dest_height. | |
115 | |
116 Errors | 74 Errors |
117 | 75 |
118 None. | 76 None. |
119 | 77 |
120 New Tokens | 78 New Tokens |
121 | 79 |
122 None. | 80 None. |
123 | 81 |
124 New State | 82 New State |
125 | 83 |
126 None. | 84 None. |
127 | 85 |
128 Revision History | 86 Revision History |
129 | 87 |
130 15/6/2015 Documented the extension. | 88 15/6/2015 Documented the extension. |
131 5/8/2015 Added glCompressedCopySubTextureCHROMIUM. | 89 5/8/2015 Added glCompressedCopySubTextureCHROMIUM. |
| 90 1/6/2016 Remove glCompressedCopySubTextureCHROMIUM. |
OLD | NEW |