Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(295)

Side by Side Diff: gpu/GLES2/extensions/CHROMIUM/CHROMIUM_image.txt

Issue 962723002: Change CHROMIUM_image declarations to support multi planar input. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Trybot issues fixed. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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(ClientBuffer* buffers,
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
reveman 2015/03/12 19:37:22 "<buffers> is an empty pointer" what does that mea
emircan 2015/03/12 22:34:26 Done.
emircan 2015/03/12 22:34:26 Done.
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.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698