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 20 matching lines...) Expand all Loading... | |
31 processing occurs. This is the equivalent of having neither flag set. | 31 processing occurs. This is the equivalent of having neither flag set. |
32 | 32 |
33 The extension also supports copying BGRA textures and copying | 33 The extension also supports copying BGRA textures and copying |
34 EXTERNAL_OES texture to BGRA texture, which is not explicitly | 34 EXTERNAL_OES texture to BGRA texture, which is not explicitly |
35 granted by EXT_texture_format_BGRA8888. | 35 granted by EXT_texture_format_BGRA8888. |
36 | 36 |
37 New Procedures and Functions | 37 New Procedures and Functions |
38 | 38 |
39 void glCopyTextureCHROMIUM (GLenum target, GLenum source_id, | 39 void glCopyTextureCHROMIUM (GLenum target, GLenum source_id, |
40 GLenum dest_id, GLint level, | 40 GLenum dest_id, GLint level, |
41 GLint internal_format) | 41 GLint internal_format, GLint dest_type) |
42 | 42 |
43 Copies the contents of texture referred to by <source_id> to texture | 43 Copies the contents of texture referred to by <source_id> to texture |
44 <dest_id>. | 44 <dest_id>. |
45 | 45 |
46 Texture level 0 is copied from the source image to level <level> of the | 46 Texture level 0 is copied from the source image to level <level> of the |
47 destination texture. | 47 destination texture. The level parameter must be 0 at present. |
48 | 48 |
49 The internal format of the destination texture is converted to that | 49 The internal format of the destination texture is converted to that |
50 specified by <internal_format> | 50 specified by <internal_format>. |
51 | |
52 The format type of the destination texture is converted to that specified | |
53 by <dest_type>. | |
51 | 54 |
52 <target> uses the same parameters as TexImage2D. | 55 <target> uses the same parameters as TexImage2D. |
53 | 56 |
54 INVALID_VALUE is generated if <target> is not GL_TEXTURE_2D. | 57 INVALID_VALUE is generated if <target> is not GL_TEXTURE_2D. |
55 | 58 |
56 INVALID_VALUE is generated if <source_id> or <dest_id> are not valid texture | 59 INVALID_VALUE is generated if <source_id> or <dest_id> are not valid texture |
57 objects. | 60 objects. |
58 | 61 |
59 INVALID_VALUE is generated if textures corresponding to <dest_id> have not | 62 INVALID_VALUE is generated if textures corresponding to <dest_id> have not |
60 been bound as GL_TEXTURE_2D object. | 63 been bound as GL_TEXTURE_2D object. |
(...skipping 11 matching lines...) Expand all Loading... | |
72 New Tokens | 75 New Tokens |
73 | 76 |
74 None. | 77 None. |
75 | 78 |
76 New State | 79 New State |
77 | 80 |
78 None. | 81 None. |
79 | 82 |
80 Revision History | 83 Revision History |
81 | 84 |
82 8/1/2011 Documented the extension | 85 8/1/2011 Documented the extension |
Ken Russell (switch to Gerrit)
2013/04/04 19:58:28
Please describe this change in the revision histor
| |
OLD | NEW |