mirrored from https://chromium.googlesource.com/angle/angle
-
Notifications
You must be signed in to change notification settings - Fork 620
/
ANGLE_webgl_compatibility.txt
100 lines (61 loc) · 2.48 KB
/
ANGLE_webgl_compatibility.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
Name
ANGLE_webgl_compatibility
Name Strings
GL_ANGLE_webgl_compatibility
Contributors
Geoff Lang
James Darpinian
Contact
Geoff Lang (geofflang 'at' google.com)
Notice
Copyright (c) 2016 The Khronos Group Inc. Copyright terms at
http://www.khronos.org/registry/speccopyright.html
Status
Draft
Version
Version 4, October 5, 2021
Number
OpenGL ES Extension #??
Dependencies
Requires OpenGL ES 2.0
Written against the OpenGL ES 2.0 specification.
Interacts with EGL_ANGLE_create_context_webgl_compatibility (or equivalent)
extension.
Interacts with the ARB_texture_rectangle/ANGLE_texture_rectangle extension.
Overview
With this extension enabled, the OpenGL ES context will have additional
features and validation to be compatible with the WebGL specification.
New Procedures and Functions
None
New Tokens
None
Additions to the OpenGL ES Specification
Additional validation will be performed according to the the sections of
the WebGL specification entitled "Differences Between WebGL and OpenGL ES
2.0" and "Differences Between WebGL and OpenGL ES 3.0".
GLSL ES shaders targeting version 100 will be treated as though they were
targeting the WebGL 1 shader specification, and GLSL ES shaders targeting
version 300 as though they were targeting the WebGL 2 shader specification.
When the ANGLE_texture_rectangle extension is supported then Enable,
Disable, and IsEnabled accept the symbolic constant
TEXTURE_RECTANGLE_ANGLE, which controls whether ARB_texture_rectangle is
allowed to be used by shaders at compilation time. This is initially
enabled. WebGL implementations may want to use ARB_texture_rectangle when
compiling their own shaders but not expose the extension to WebGL user
shaders. This only affects shader compilation and not any other part of
the ANGLE_texture_rectangle extension, nor the behavior of already
compiled shaders.
New State
None
Conformance Tests
TBD
Issues
None
Revision History
Rev. Date Author Changes
---- ------------- --------- ----------------------------------------
1 Sept 16, 2016 geofflang Initial version
2 Nov 28, 2016 geofflang Break the extension requests into a
separate extension.
3 Oct 3, 2019 jdarpinian Allow disabling ARB_texture_rectangle
4 Oct 5, 2021 jmadill Add wording for shader specs.