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