Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / gpu / GLES2 / extensions / CHROMIUM / CHROMIUM_image.txt
1 Name
2
3     CHROMIUM_image
4
5 Name Strings
6
7     GL_CHROMIUM_image
8
9 Version
10
11     Last Modifed Date: Oct 7, 2014
12
13 Dependencies
14
15     OpenGL ES 2.0 is required.
16
17 Overview
18
19     This extension defines a new resource type that is suitable for
20     sharing 2D arrays of image data between client APIs.
21
22 Issues
23
24     None
25
26 New Tokens
27
28     None
29
30 New Procedures and Functions
31
32     GLuint CreateImageCHROMIUM(ClientBuffer buffer,
33                                GLsizei width,
34                                GLsizei height,
35                                GLenum internalformat)
36
37     Create an image from <buffer> with width equal to <width> and
38     height equal to <height> and format equal to <internalformat>.
39
40     Returns a unique identifier for the image that could be used in
41     subsequent operations.
42
43     INVALID_VALUE is generated if <width> or <height> is nonpositive.
44
45     INVALID_ENUM is generated if <internalformat> is not one of
46     RGB or RGBA.
47
48     void DestroyImageCHROMIUM(GLuint image_id)
49
50     Frees the image previously created by a call to CreateImageCHROMIUM.
51
52     INVALID_OPERATION is generated if <image_id> is not a valid image id.
53
54 Errors
55
56     None.
57
58 New State
59
60     None.
61
62 Revision History
63
64     5/9/2013    Documented the extension
65     4/30/2014   Moved usage flag to creation function.
66     10/7/2014   Remove map/unmap API.