| OLD | NEW |
| (Empty) | |
| 1 Name |
| 2 |
| 3 CHROMIUM_texture_from_image |
| 4 |
| 5 Name Strings |
| 6 |
| 7 GL_CHROMIUM_texture_from_image |
| 8 |
| 9 Version |
| 10 |
| 11 Last Modified Date: October 2, 2016 |
| 12 |
| 13 Dependencies |
| 14 |
| 15 OpenGL ES 2.0 is required. |
| 16 |
| 17 Requires the CHROMIUM_image extension. |
| 18 |
| 19 Overview |
| 20 |
| 21 This extension provides a mechanism for creating image texture targets |
| 22 from GL images. |
| 23 |
| 24 Issues |
| 25 |
| 26 None |
| 27 |
| 28 New Tokens |
| 29 |
| 30 None |
| 31 |
| 32 New Procedures and Functions |
| 33 |
| 34 The command |
| 35 |
| 36 void BindTexImage2DCHROMIUM(GLenum target, |
| 37 GLint image_id, |
| 38 GLint fence_id) |
| 39 |
| 40 defines a two-dimensional texture image. The texture image is taken |
| 41 from <image_id> and need not be copied. If <fence_id> is non-zero then |
| 42 the bind operation is deferred until the condition of the sync object |
| 43 referenced by <fence_id> is satisfied. |
| 44 |
| 45 INVALID_OPERATION is generated if no texture is bound to <target>. |
| 46 |
| 47 INVALID_OPERATION is generated if <image_id> is not a valid image id. |
| 48 |
| 49 To release an image that is being used as a texture, call |
| 50 |
| 51 void ReleaseTexImage2DCHROMIUM(GLenum target, |
| 52 GLint image_id) |
| 53 |
| 54 INVALID_OPERATION is generated if no texture is bound to <target>. |
| 55 |
| 56 INVALID_OPERATION is generated if <image_id> is not a valid image id. |
| 57 |
| 58 Errors |
| 59 |
| 60 None. |
| 61 |
| 62 New State |
| 63 |
| 64 None. |
| 65 |
| 66 Revision History |
| 67 |
| 68 10/2/2016 Documented the extension |
| OLD | NEW |