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

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

Issue 2841573002: Revert of Fix blits from multisampled renderbuffers to alpha:false WebGL back buffer. (Closed)
Patch Set: Created 3 years, 7 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 14 matching lines...) Expand all
25 Issues 25 Issues
26 26
27 None 27 None
28 28
29 New Tokens 29 New Tokens
30 30
31 None 31 None
32 32
33 New Procedures and Functions 33 New Procedures and Functions
34 34
35 GLuint CreateImageCHROMIUM(ClientBuffer buffer, 35 GLuint CreateImageCHROMIUM(ClientBuffer buffer,
36 GLsizei width, 36 GLsizei width,
37 GLsizei height, 37 GLsizei height,
38 GLenum internalformat) 38 GLenum internalformat)
39 39
40 Create an image from <buffer> with width equal to <width> and 40 Create an image from <buffer> with width equal to <width> and
41 height equal to <height> and format equal to <internalformat>. 41 height equal to <height> and format equal to <internalformat>.
42 42
43 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
44 subsequent operations. 44 subsequent operations.
45 45
46 INVALID_VALUE is generated if <width> or <height> is nonpositive. 46 INVALID_VALUE is generated if <width> or <height> is nonpositive.
47 47
48 INVALID_VALUE is generated if <internalformat> is not one of 48 INVALID_VALUE is generated if <internalformat> is not one of
49 RED, RGB, RGBA, BGRA_EXT, ATC_RGB_AMD, ATC_RGBA_INTERPOLATED_ALPHA_AMD, 49 RED, RGB, RGBA, BGRA_EXT, ATC_RGB_AMD, ATC_RGBA_INTERPOLATED_ALPHA_AMD,
50 COMPRESSED_RGB_S3TC_DXT1_EXT, COMPRESSED_RGBA_S3TC_DXT5_EXT or 50 COMPRESSED_RGB_S3TC_DXT1_EXT, COMPRESSED_RGBA_S3TC_DXT5_EXT or
51 ETC1_RGB8_OES. 51 ETC1_RGB8_OES.
52 52
53 void DestroyImageCHROMIUM(GLuint image_id) 53 void DestroyImageCHROMIUM(GLuint image_id)
54 54
55 Frees the image previously created by a call to CreateImageCHROMIUM. 55 Frees the image previously created by a call to CreateImageCHROMIUM.
56 56
57 INVALID_OPERATION is generated if <image_id> is not a valid image id. 57 INVALID_OPERATION is generated if <image_id> is not a valid image id.
58 58
59 void BindTexImage2DCHROMIUM(GLenum target, GLint image_id)
60
61 Binds the texture object currently bound to <target> to the image
62 <image_id> previously created by a call to CreateImageCHROMIUM.
63
64 INVALID_OPERATION is generated if no texture is bound to <target>.
65
66 INVALID_OPERATION is generated if <image_id> is not a valid image id.
67
68 void BindTexImage2DWithInternalformatCHROMIUM(GLenum target,
69 GLenum internalformat,
70 GLint image_id)
71
72 Behaves exactly like BindTexImage2DCHROMIUM, but forces the
73 texture to use the specified <internalformat> rather than the
74 default one. This function is provided solely as a workaround for
75 driver bugs on some platforms. BindTexImage2DCHROMIUM should be
76 used by almost all users.
77
78 void ReleaseTexImage2DCHROMIUM(GLenum target, GLint image_id)
79
80 Unbinds the texture object bound to <target> from the image
81 <image_id> previously created by a call to CreateImageCHROMIUM. If
82 the texture is not currently bound to the image, has no effect,
83 though may still generate errors.
84
85 INVALID_OPERATION is generated if no texture is bound to <target>.
86
87 INVALID_OPERATION is generated if <image_id> is not a valid image id.
88
89 Dependencies on EXT_texture_format_BGRA8888 59 Dependencies on EXT_texture_format_BGRA8888
90 60
91 If EXT_texture_format_BGRA8888 is not supported: 61 If EXT_texture_format_BGRA8888 is not supported:
92 * delete any reference to the BGRA_EXT format. 62 * delete any reference to the BGRA_EXT format.
93 63
94 Dependencies on ARB_texture_rg 64 Dependencies on ARB_texture_rg
95 65
96 If ARB_texture_rg is not supported: 66 If ARB_texture_rg is not supported:
97 * delete any reference to the RED format. 67 * delete any reference to the RED format.
98 68
(...skipping 24 matching lines...) Expand all
123 93
124 Revision History 94 Revision History
125 95
126 5/9/2013 Documented the extension 96 5/9/2013 Documented the extension
127 4/30/2014 Moved usage flag to creation function. 97 4/30/2014 Moved usage flag to creation function.
128 10/7/2014 Remove map/unmap API. 98 10/7/2014 Remove map/unmap API.
129 4/6/2015 Add BGRA_EXT format. 99 4/6/2015 Add BGRA_EXT format.
130 2/7/2015 Add R8 format. 100 2/7/2015 Add R8 format.
131 5/13/2015 Add compressed formats. 101 5/13/2015 Add compressed formats.
132 11/5/2015 Change R8 format to RED. 102 11/5/2015 Change R8 format to RED.
OLDNEW
« no previous file with comments | « content/test/gpu/gpu_tests/webgl2_conformance_expectations.py ('k') | gpu/GLES2/gl2chromium_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698