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

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

Issue 2354713004: Implement WEBGL_compressed_texture_es3_0 extension for WebGL 1/2 (Closed)
Patch Set: fixup Created 4 years, 3 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
« no previous file with comments | « no previous file | gpu/command_buffer/build_gles2_cmd_buffer.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Name
2
3 CHROMIUM_compressed_texture_es3_0
4
5 Name Strings
6
7 GL_CHROMIUM_compressed_texture_es3_0
8
9 Version
10
11 Last Modifed Date: September 19, 2016
12
13 Dependencies
14
15 OpenGL ES 2.0 is required.
16
17 Overview
18
19 This extension exposes the OpenGL ES 3.0 core compressed texture
20 formats in OpenGL ES 2.0.
21
22 New Procedures and Functions
23
24 None
25
26 New Tokens
27
28 Accepted by the <internalformat> parameter of CompressedTexImage2D and the
29 <format> parameter of CompressedTexSubImage2D:
30
31 COMPRESSED_R11_EAC 0x9270
32 COMPRESSED_SIGNED_R11_EAC 0x9271
33 COMPRESSED_RG11_EAC 0x9272
34 COMPRESSED_SIGNED_RG11_EAC 0x9273
35 COMPRESSED_RGB8_ETC2 0x9274
36 COMPRESSED_SRGB8_ETC2 0x9275
37 COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276
38 COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277
39 COMPRESSED_RGBA8_ETC2_EAC 0x9278
40 COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279
41
42 Querying COMPRESSED_TEXTURE_FORMATS will include these new formats.
43
44 New Procedures and Functions
45
46 None.
47
48 Errors
49
50 The error INVALID_VALUE is generated if the <internalformat> parameter of
51 CompressedTexImage2D or the <format> parameter of CompressedTexSubImage2D is
52 COMPRESSED_R11_EAC, COMPRESSED_SIGNED_R11_EAC, COMPRESSED_RGB8_ETC2,
53 COMPRESSED_SRGB8_ETC2, COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 or
54 COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2, and imageSize is not
55
56 floor((width + 3) / 4) * floor((height + 3) / 4) * 8
57
58 The error INVALID_VALUE is generated if the <internalformat> parameter of
59 CompressedTexImage2D or the <format> paremeter of CompressedTexSubImage2D is
60 COMPRESSED_RG11_EAC, COMPRESSED_SIGNED_RG11_EAC, COMPRESSED_RGBA8_ETC2_EAC,
61 or COMPRESSED_SRGB8_ALPHA8_ETC2_EAC, and imageSize is not
62
63 floor((width + 3) / 4) * floor((height + 3) / 4) * 16
64
65
66 New State
67
68 None.
69
70 Revision History
71
72 9/19/2016 First revision
OLDNEW
« no previous file with comments | « no previous file | gpu/command_buffer/build_gles2_cmd_buffer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698