| 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 |
| 11 Last Modifed Date: April 3, 2012 | 11 Last Modifed Date: April 3, 2012 |
| 12 | 12 |
| 13 Dependencies | 13 Dependencies |
| 14 | 14 |
| 15 OpenGL ES 2.0 is required. | 15 OpenGL ES 2.0 is required. |
| 16 | 16 |
| 17 CHROMIUM_flipy affects the definition of this extension. | 17 CHROMIUM_flipy affects the definition of this extension. |
| 18 EXT_texture_format_BGRA8888 affects the definition of this extension. | 18 EXT_texture_format_BGRA8888 affects the definition of this extension. |
| 19 | 19 |
| 20 Overview | 20 Overview |
| 21 | 21 |
| 22 This extension expands on the functionality provided by the | 22 This extension expands on the functionality provided by the |
| 23 glCopyTexImage2D command. A new function is exported, | 23 glCopyTexImage2D command. A new function is exported, |
| 24 glCopyTextureCHROMIUM, that performs the same copy operation as | 24 glCopyTextureCHROMIUM, that performs the same copy operation as |
| 25 glCopyTexImage2D, while respecting the pixel-storage modifiers | 25 glCopyTexImage2D, while respecting the pixel-storage modifiers |
| 26 UNPACK_FLIP_Y_CHROMIUM and GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM. | 26 UNPACK_FLIP_Y_CHROMIUM, GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM and |
| 27 GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM. |
| 28 |
| 29 If GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM and |
| 30 GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM are enabled. Then no alpha |
| 31 processing occurs. This is the equivalent of having neither flag set. |
| 27 | 32 |
| 28 The extension also supports copying BGRA textures, which is not explicitly | 33 The extension also supports copying BGRA textures, which is not explicitly |
| 29 granted by EXT_texture_format_BGRA8888. | 34 granted by EXT_texture_format_BGRA8888. |
| 30 | 35 |
| 31 New Procedures and Functions | 36 New Procedures and Functions |
| 32 | 37 |
| 33 void glCopyTextureCHROMIUM (GLenum target, GLenum source_id, | 38 void glCopyTextureCHROMIUM (GLenum target, GLenum source_id, |
| 34 GLenum dest_id, GLint level, | 39 GLenum dest_id, GLint level, |
| 35 GLint internal_format) | 40 GLint internal_format) |
| 36 | 41 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 64 | 69 |
| 65 None. | 70 None. |
| 66 | 71 |
| 67 New State | 72 New State |
| 68 | 73 |
| 69 None. | 74 None. |
| 70 | 75 |
| 71 Revision History | 76 Revision History |
| 72 | 77 |
| 73 8/1/2011 Documented the extension | 78 8/1/2011 Documented the extension |
| OLD | NEW |