| OLD | NEW |
| 1 Name | 1 Name |
| 2 | 2 |
| 3 CHROMIUM_image | 3 CHROMIUM_image |
| 4 | 4 |
| 5 Name Strings | 5 Name Strings |
| 6 | 6 |
| 7 GL_CHROMIUM_image | 7 GL_CHROMIUM_image |
| 8 | 8 |
| 9 Version | 9 Version |
| 10 | 10 |
| 11 Last Modifed Date: Oct 7, 2014 | 11 Last Modifed Date: Oct 7, 2014 |
| 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 EXT_texture_format_BGRA8888 affects the definition of this extension. | 17 EXT_texture_format_BGRA8888 affects the definition of this extension. |
| 18 ARB_texture_rg affects the definition of this extension. |
| 18 | 19 |
| 19 Overview | 20 Overview |
| 20 | 21 |
| 21 This extension defines a new resource type that is suitable for | 22 This extension defines a new resource type that is suitable for |
| 22 sharing 2D arrays of image data between client APIs. | 23 sharing 2D arrays of image data between client APIs. |
| 23 | 24 |
| 24 Issues | 25 Issues |
| 25 | 26 |
| 26 None | 27 None |
| 27 | 28 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 38 | 39 |
| 39 Create an image from <buffer> with width equal to <width> and | 40 Create an image from <buffer> with width equal to <width> and |
| 40 height equal to <height> and format equal to <internalformat>. | 41 height equal to <height> and format equal to <internalformat>. |
| 41 | 42 |
| 42 Returns a unique identifier for the image that could be used in | 43 Returns a unique identifier for the image that could be used in |
| 43 subsequent operations. | 44 subsequent operations. |
| 44 | 45 |
| 45 INVALID_VALUE is generated if <width> or <height> is nonpositive. | 46 INVALID_VALUE is generated if <width> or <height> is nonpositive. |
| 46 | 47 |
| 47 INVALID_ENUM is generated if <internalformat> is not one of | 48 INVALID_ENUM is generated if <internalformat> is not one of |
| 48 RGB, RGBA or GL_BGRA_EXT. | 49 R8, RGB, RGBA or BGRA_EXT. |
| 49 | 50 |
| 50 void DestroyImageCHROMIUM(GLuint image_id) | 51 void DestroyImageCHROMIUM(GLuint image_id) |
| 51 | 52 |
| 52 Frees the image previously created by a call to CreateImageCHROMIUM. | 53 Frees the image previously created by a call to CreateImageCHROMIUM. |
| 53 | 54 |
| 54 INVALID_OPERATION is generated if <image_id> is not a valid image id. | 55 INVALID_OPERATION is generated if <image_id> is not a valid image id. |
| 55 | 56 |
| 56 Dependencies on EXT_texture_format_BGRA8888 | 57 Dependencies on EXT_texture_format_BGRA8888 |
| 57 | 58 |
| 58 If EXT_texture_format_BGRA8888 is not supported: | 59 If EXT_texture_format_BGRA8888 is not supported: |
| 59 * delete any reference to the GL_BGRA_EXT format. | 60 * delete any reference to the BGRA_EXT format. |
| 61 |
| 62 Dependencies on ARB_texture_rg |
| 63 |
| 64 If ARB_texture_rg is not supported: |
| 65 * delete any reference to the R8 format. |
| 60 | 66 |
| 61 Errors | 67 Errors |
| 62 | 68 |
| 63 None. | 69 None. |
| 64 | 70 |
| 65 New State | 71 New State |
| 66 | 72 |
| 67 None. | 73 None. |
| 68 | 74 |
| 69 Revision History | 75 Revision History |
| 70 | 76 |
| 71 5/9/2013 Documented the extension | 77 5/9/2013 Documented the extension |
| 72 4/30/2014 Moved usage flag to creation function. | 78 4/30/2014 Moved usage flag to creation function. |
| 73 10/7/2014 Remove map/unmap API. | 79 10/7/2014 Remove map/unmap API. |
| 74 4/6/2015 Add GL_BGRA_EXT format. | 80 4/6/2015 Add BGRA_EXT format. |
| 81 2/7/2015 Add R8 format. |
| OLD | NEW |