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 |
(...skipping 11 matching lines...) Expand all Loading... | |
22 Issues | 22 Issues |
23 | 23 |
24 None | 24 None |
25 | 25 |
26 New Tokens | 26 New Tokens |
27 | 27 |
28 None | 28 None |
29 | 29 |
30 New Procedures and Functions | 30 New Procedures and Functions |
31 | 31 |
32 GLuint CreateImageCHROMIUM(ClientBuffer buffer, | 32 GLuint CreateImageCHROMIUM(const ClientBuffer* const buffers, |
reveman
2015/03/03 05:30:13
From the client's point of view, the image being c
emircan
2015/03/04 03:03:16
I removed the consts from the API call, and kept i
| |
33 GLsizei width, | 33 GLsizei width, |
34 GLsizei height, | 34 GLsizei height, |
35 GLenum internalformat) | 35 GLenum internalformat) |
36 | 36 |
37 Create an image from <buffer> with width equal to <width> and | 37 Create an image from <buffers> with width equal to <width> and |
38 height equal to <height> and format equal to <internalformat>. | 38 height equal to <height> and format equal to <internalformat>. |
39 | 39 |
40 <buffers> specifies an array in which ClientBuffer elements corresponding | |
41 to image planes are stored. The number of ClientBuffer objects are inferred | |
42 through the specified <internalformat>. | |
43 | |
40 Returns a unique identifier for the image that could be used in | 44 Returns a unique identifier for the image that could be used in |
41 subsequent operations. | 45 subsequent operations. |
42 | 46 |
43 INVALID_VALUE is generated if <width> or <height> is nonpositive. | 47 INVALID_VALUE is generated if <buffers> is an empty pointer, or <width> or |
48 <height> is nonpositive. | |
44 | 49 |
45 INVALID_ENUM is generated if <internalformat> is not one of | 50 INVALID_ENUM is generated if <internalformat> is not one of RGB or RGBA. |
46 RGB or RGBA. | |
47 | 51 |
48 void DestroyImageCHROMIUM(GLuint image_id) | 52 void DestroyImageCHROMIUM(GLuint image_id) |
49 | 53 |
50 Frees the image previously created by a call to CreateImageCHROMIUM. | 54 Frees the image previously created by a call to CreateImageCHROMIUM. |
51 | 55 |
52 INVALID_OPERATION is generated if <image_id> is not a valid image id. | 56 INVALID_OPERATION is generated if <image_id> is not a valid image id. |
53 | 57 |
54 Errors | 58 Errors |
55 | 59 |
56 None. | 60 None. |
57 | 61 |
58 New State | 62 New State |
59 | 63 |
60 None. | 64 None. |
61 | 65 |
62 Revision History | 66 Revision History |
63 | 67 |
64 5/9/2013 Documented the extension | 68 5/9/2013 Documented the extension |
65 4/30/2014 Moved usage flag to creation function. | 69 4/30/2014 Moved usage flag to creation function. |
66 10/7/2014 Remove map/unmap API. | 70 10/7/2014 Remove map/unmap API. |
OLD | NEW |