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

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

Issue 1434453008: cc: Fix R_8 GpuMemoryBuffers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove GetResourceTextureTarget Created 5 years, 1 month 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
« no previous file with comments | « cc/resources/resource_provider.cc ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 28 matching lines...) Expand all
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 R8, 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 Dependencies on EXT_texture_format_BGRA8888 59 Dependencies on EXT_texture_format_BGRA8888
60 60
61 If EXT_texture_format_BGRA8888 is not supported: 61 If EXT_texture_format_BGRA8888 is not supported:
62 * delete any reference to the BGRA_EXT format. 62 * delete any reference to the BGRA_EXT format.
63 63
64 Dependencies on ARB_texture_rg 64 Dependencies on ARB_texture_rg
65 65
66 If ARB_texture_rg is not supported: 66 If ARB_texture_rg is not supported:
67 * delete any reference to the R8 format. 67 * delete any reference to the RED format.
68 68
69 Dependencies on AMD_compressed_ATC_texture 69 Dependencies on AMD_compressed_ATC_texture
70 70
71 If AMD_compressed_ATC_texture is not supported: 71 If AMD_compressed_ATC_texture is not supported:
72 * delete any reference to the ATC_RGB_AMD and 72 * delete any reference to the ATC_RGB_AMD and
73 ATC_RGBA_INTERPOLATED_ALPHA_AMD formats. 73 ATC_RGBA_INTERPOLATED_ALPHA_AMD formats.
74 74
75 Dependencies on EXT_texture_compression_s3tc 75 Dependencies on EXT_texture_compression_s3tc
76 76
77 If EXT_texture_compression_s3tc is not supported: 77 If EXT_texture_compression_s3tc is not supported:
(...skipping 14 matching lines...) Expand all
92 None. 92 None.
93 93
94 Revision History 94 Revision History
95 95
96 5/9/2013 Documented the extension 96 5/9/2013 Documented the extension
97 4/30/2014 Moved usage flag to creation function. 97 4/30/2014 Moved usage flag to creation function.
98 10/7/2014 Remove map/unmap API. 98 10/7/2014 Remove map/unmap API.
99 4/6/2015 Add BGRA_EXT format. 99 4/6/2015 Add BGRA_EXT format.
100 2/7/2015 Add R8 format. 100 2/7/2015 Add R8 format.
101 5/13/2015 Add compressed formats. 101 5/13/2015 Add compressed formats.
102 11/5/2015 Change R8 format to RED.
OLDNEW
« no previous file with comments | « cc/resources/resource_provider.cc ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698