OLD | NEW |
(Empty) | |
| 1 Name |
| 2 |
| 3 CHROMIUM_gpu_memory_buffer_image |
| 4 |
| 5 Name Strings |
| 6 |
| 7 GL_CHROMIUM_gpu_memory_buffer_image |
| 8 |
| 9 Version |
| 10 |
| 11 Last Modifed Date: Sep 29, 2014 |
| 12 |
| 13 Dependencies |
| 14 |
| 15 OpenGL ES 2.0 is required. |
| 16 |
| 17 GL_CHROMIUM_image is required. |
| 18 |
| 19 Overview |
| 20 |
| 21 This extension provide a mechanism for creating a GpuMemoryBuffer |
| 22 backed image resource. |
| 23 |
| 24 Issues |
| 25 |
| 26 None |
| 27 |
| 28 New Tokens |
| 29 |
| 30 Accepted by the <usage> parameter of CreateGpuMemoryBufferImageCHROMIUM: |
| 31 |
| 32 MAP_CHROMIUM 0x78F1 |
| 33 SCANOUT_CHROMIUM 0x78F2 |
| 34 |
| 35 New Procedures and Functions |
| 36 |
| 37 GLuint CreateGpuMemoryBufferImageCHROMIUM(GLsizei width, |
| 38 GLsizei height, |
| 39 GLenum internalformat, |
| 40 GLenum usage) |
| 41 |
| 42 Create a GpuMemoryBuffer backed image with width equal to <width> |
| 43 and height equal to <height> and format equal to <internalformat>. |
| 44 |
| 45 Returns a unique identifier for the image that could be used in |
| 46 subsequent operations. |
| 47 |
| 48 INVALID_VALUE is generated if <width> or <height> is nonpositive. |
| 49 |
| 50 INVALID_ENUM is generated if <internalformat> is not one of |
| 51 RGB or RGBA. |
| 52 |
| 53 INVALID_ENUM is generated if <usage> is not one of |
| 54 MAP_CHROMIUM or SCANOUT_CHROMIUM. |
| 55 |
| 56 Errors |
| 57 |
| 58 None. |
| 59 |
| 60 New State |
| 61 |
| 62 None. |
| 63 |
| 64 Revision History |
| 65 |
| 66 9/29/2014 Documented the extension. |
OLD | NEW |