OLD | NEW |
1 Name | 1 Name |
2 | 2 |
3 CHROMIUM_copy_texture | 3 CHROMIUM_copy_texture |
4 | 4 |
5 Name Strings | 5 Name Strings |
6 | 6 |
7 GL_CHROMIUM_copy_texture | 7 GL_CHROMIUM_copy_texture |
8 | 8 |
9 Version | 9 Version |
10 | 10 |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 INVALID_VALUE is generated if <target> is not GL_TEXTURE_2D. | 129 INVALID_VALUE is generated if <target> is not GL_TEXTURE_2D. |
130 | 130 |
131 INVALID_OPERATION is generated if the destination texture has not been | 131 INVALID_OPERATION is generated if the destination texture has not been |
132 defined. | 132 defined. |
133 | 133 |
134 INVALID_VALUE is generated if level 0 of the source texture or | 134 INVALID_VALUE is generated if level 0 of the source texture or |
135 the destination texture is not defined. | 135 the destination texture is not defined. |
136 | 136 |
137 INVALID_VALUE is generated if <xoffset> < 0 , or <yoffset> < 0. | 137 INVALID_VALUE is generated if <xoffset> < 0 , or <yoffset> < 0. |
138 | 138 |
139 INVALID_VALUE is generated if (<xoffset> + source_width) > dest_width, | 139 INVALID_VALUE is generated if (<xoffset> + <width>) > dest_width, |
140 or (<yoffset> + source_height) > dest_height. | 140 or (<yoffset> + <height>) > dest_height. |
141 | 141 |
142 Dependencies on ARB_texture_rg | 142 Dependencies on ARB_texture_rg |
143 | 143 |
144 If ARB_texture_rg is not supported: | 144 If ARB_texture_rg is not supported: |
145 * delete any reference to the R8 format. | 145 * delete any reference to the R8 format. |
146 | 146 |
147 Errors | 147 Errors |
148 | 148 |
149 None. | 149 None. |
150 | 150 |
151 New Tokens | 151 New Tokens |
152 | 152 |
153 None. | 153 None. |
154 | 154 |
155 New State | 155 New State |
156 | 156 |
157 None. | 157 None. |
158 | 158 |
159 Revision History | 159 Revision History |
160 | 160 |
161 8/1/2011 Documented the extension | 161 8/1/2011 Documented the extension |
162 7/4/2013 Add a new parameter dest_type to glCopyTextureCHROMIUM() | 162 7/4/2013 Add a new parameter dest_type to glCopyTextureCHROMIUM() |
163 16/7/2014 Add GL_TEXTURE_RECTANGLE_ARB as valid source_id target | 163 16/7/2014 Add GL_TEXTURE_RECTANGLE_ARB as valid source_id target |
164 19/6/2015 Add arguments unpack_flip_y, unpack_premultiply_alpha, and | 164 19/6/2015 Add arguments unpack_flip_y, unpack_premultiply_alpha, and |
165 unpack_unmultiply_alpha to both commands. | 165 unpack_unmultiply_alpha to both commands. |
OLD | NEW |