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