| 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 If <unpack_premultiply_alpha> and <unpack_unmultiply_alpha> are true, | 77 If <unpack_premultiply_alpha> and <unpack_unmultiply_alpha> are true, |
| 78 no alpha processing occurs. This is the equivalent of having neither flag | 78 no alpha processing occurs. This is the equivalent of having neither flag |
| 79 set. | 79 set. |
| 80 | 80 |
| 81 INVALID_OPERATION is generated if <internal_format> is not one of the valid
formats | 81 INVALID_OPERATION is generated if <internal_format> is not one of the valid
formats |
| 82 described above. | 82 described above. |
| 83 | 83 |
| 84 INVALID_OPERATION is generated if the internal format of <source_id> is not
one of | 84 INVALID_OPERATION is generated if the internal format of <source_id> is not
one of |
| 85 formats from the table above. | 85 formats from the table above. |
| 86 | 86 |
| 87 INVALID_VALUE is generated if <target> is not GL_TEXTURE_2D, | 87 INVALID_VALUE is generated if <target> is not GL_TEXTURE_2D. |
| 88 GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, | |
| 89 GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, | |
| 90 GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. | |
| 91 | 88 |
| 92 INVALID_VALUE is generated if <source_id> or <dest_id> are not valid texture | 89 INVALID_VALUE is generated if <source_id> or <dest_id> are not valid texture |
| 93 objects. | 90 objects. |
| 94 | 91 |
| 95 INVALID_VALUE is generated if textures corresponding to <dest_id> have not | 92 INVALID_VALUE is generated if textures corresponding to <dest_id> have not |
| 96 been bound as GL_TEXTURE_2D or GL_TEXTURE_CUBE_MAP object. | 93 been bound as GL_TEXTURE_2D object. |
| 97 | |
| 98 INVALID_VALUE is generated if the bound target of textures corresponding to | |
| 99 <dest_id> doesn't match <target>. | |
| 100 | 94 |
| 101 INVALID_VALUE is generated if textures corresponding to <source_id> have not | 95 INVALID_VALUE is generated if textures corresponding to <source_id> have not |
| 102 been bound as GL_TEXTURE_2D, GL_TEXTURE_RECTANGLE_ARB or | 96 been bound as GL_TEXTURE_2D, GL_TEXTURE_RECTANGLE_ARB or |
| 103 GL_TEXTURE_EXTERNAL_OES objects. | 97 GL_TEXTURE_EXTERNAL_OES objects. |
| 104 | 98 |
| 105 INVALID_VALUE is generated if level 0 of the source texture is not defined. | 99 INVALID_VALUE is generated if level 0 of the source texture is not defined. |
| 106 | 100 |
| 107 The command | 101 The command |
| 108 | 102 |
| 109 void glCopySubTextureCHROMIUM (GLenum target, GLenum source_id, | 103 void glCopySubTextureCHROMIUM (GLenum target, GLenum source_id, |
| (...skipping 17 matching lines...) Expand all Loading... |
| 127 <x> and <y> specify specify a texel offset in the x and y direction | 121 <x> and <y> specify specify a texel offset in the x and y direction |
| 128 respectively within the source texture. | 122 respectively within the source texture. |
| 129 | 123 |
| 130 <width> specifies the width of the texture subimage. | 124 <width> specifies the width of the texture subimage. |
| 131 | 125 |
| 132 <height> specifies the width of the texture subimage. | 126 <height> specifies the width of the texture subimage. |
| 133 | 127 |
| 134 INVALID_OPERATION is generated if source internal_format and destination | 128 INVALID_OPERATION is generated if source internal_format and destination |
| 135 internal_format are not one of the valid formats described above. | 129 internal_format are not one of the valid formats described above. |
| 136 | 130 |
| 137 INVALID_VALUE is generated if <target> is not GL_TEXTURE_2D, | 131 INVALID_VALUE is generated if <target> is not GL_TEXTURE_2D. |
| 138 GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, | |
| 139 GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, | |
| 140 GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. | |
| 141 | 132 |
| 142 INVALID_OPERATION is generated if the destination texture has not been | 133 INVALID_OPERATION is generated if the destination texture has not been |
| 143 defined. | 134 defined. |
| 144 | 135 |
| 145 INVALID_VALUE is generated if level 0 of the source texture or | 136 INVALID_VALUE is generated if level 0 of the source texture or |
| 146 the destination texture is not defined. | 137 the destination texture is not defined. |
| 147 | 138 |
| 148 INVALID_VALUE is generated if <xoffset> < 0 , or <yoffset> < 0. | 139 INVALID_VALUE is generated if <xoffset> < 0 , or <yoffset> < 0. |
| 149 | 140 |
| 150 INVALID_VALUE is generated if (<xoffset> + <width>) > dest_width, | 141 INVALID_VALUE is generated if (<xoffset> + <width>) > dest_width, |
| (...skipping 21 matching lines...) Expand all Loading... |
| 172 | 163 |
| 173 None. | 164 None. |
| 174 | 165 |
| 175 Revision History | 166 Revision History |
| 176 | 167 |
| 177 8/1/2011 Documented the extension | 168 8/1/2011 Documented the extension |
| 178 7/4/2013 Add a new parameter dest_type to glCopyTextureCHROMIUM() | 169 7/4/2013 Add a new parameter dest_type to glCopyTextureCHROMIUM() |
| 179 16/7/2014 Add GL_TEXTURE_RECTANGLE_ARB as valid source_id target | 170 16/7/2014 Add GL_TEXTURE_RECTANGLE_ARB as valid source_id target |
| 180 19/6/2015 Add arguments unpack_flip_y, unpack_premultiply_alpha, and | 171 19/6/2015 Add arguments unpack_flip_y, unpack_premultiply_alpha, and |
| 181 unpack_unmultiply_alpha to both commands. | 172 unpack_unmultiply_alpha to both commands. |
| 182 6/8/2015 support GL_TEXTURE_CUBE_MAP destination target. | |
| OLD | NEW |