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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 INVALID_VALUE is generated if textures corresponding to <source_id> have not | 89 INVALID_VALUE is generated if textures corresponding to <source_id> have not |
90 been bound as GL_TEXTURE_2D, GL_TEXTURE_RECTANGLE_ARB or | 90 been bound as GL_TEXTURE_2D, GL_TEXTURE_RECTANGLE_ARB or |
91 GL_TEXTURE_EXTERNAL_OES objects. | 91 GL_TEXTURE_EXTERNAL_OES objects. |
92 | 92 |
93 INVALID_VALUE is generated if level 0 of the source texture is not defined. | 93 INVALID_VALUE is generated if level 0 of the source texture is not defined. |
94 | 94 |
95 The command | 95 The command |
96 | 96 |
97 void glCopySubTextureCHROMIUM (GLenum target, GLenum source_id, | 97 void glCopySubTextureCHROMIUM (GLenum target, GLenum source_id, |
98 GLenum dest_id, | 98 GLenum dest_id, |
99 GLint xoffset, GLint yoffset) | 99 GLint xoffset, GLint yoffset, |
| 100 GLint x, GLint y, |
| 101 GLsizei width, GLsizei height) |
100 | 102 |
101 Copies the sub contents of texture referred to by <source_id> to <dest_id> | 103 Copies the sub contents of texture referred to by <source_id> to <dest_id> |
102 texture without redefining <dest_id> texture. | 104 texture without redefining <dest_id> texture. |
103 | 105 |
104 See CopyTextureCHROMIUM for the interpretation of the <target> arguments. | 106 See CopyTextureCHROMIUM for the interpretation of the <target> arguments. |
105 | 107 |
106 <xoffset> and <yoffset> specify a texel offset in the x and y direction | 108 <xoffset> and <yoffset> specify a texel offset in the x and y direction |
107 respectively within the destination texture. | 109 respectively within the destination texture. |
108 | 110 |
| 111 <x> and <y> specify specify a texel offset in the x and y direction |
| 112 respectively within the source texture. |
| 113 |
| 114 <width> specifies the width of the texture subimage. |
| 115 |
| 116 <height> specifies the width of the texture subimage. |
| 117 |
109 INVALID_OPERATION is generated if source internal_format and destination | 118 INVALID_OPERATION is generated if source internal_format and destination |
110 internal_format are not one of the valid formats described above. | 119 internal_format are not one of the valid formats described above. |
111 | 120 |
112 INVALID_VALUE is generated if <target> is not GL_TEXTURE_2D. | 121 INVALID_VALUE is generated if <target> is not GL_TEXTURE_2D. |
113 | 122 |
114 INVALID_OPERATION is generated if the destination texture has not been | 123 INVALID_OPERATION is generated if the destination texture has not been |
115 defined. | 124 defined. |
116 | 125 |
117 INVALID_VALUE is generated if level 0 of the source texture or | 126 INVALID_VALUE is generated if level 0 of the source texture or |
118 the destination texture is not defined. | 127 the destination texture is not defined. |
(...skipping 13 matching lines...) Expand all Loading... |
132 | 141 |
133 New State | 142 New State |
134 | 143 |
135 None. | 144 None. |
136 | 145 |
137 Revision History | 146 Revision History |
138 | 147 |
139 8/1/2011 Documented the extension | 148 8/1/2011 Documented the extension |
140 7/4/2013 Add a new parameter dest_type to glCopyTextureCHROMIUM() | 149 7/4/2013 Add a new parameter dest_type to glCopyTextureCHROMIUM() |
141 16/7/2014 Add GL_TEXTURE_RECTANGLE_ARB as valid source_id target. | 150 16/7/2014 Add GL_TEXTURE_RECTANGLE_ARB as valid source_id target. |
OLD | NEW |