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 3, October 3, 2019 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 When the ANGLE_texture_rectangle extension is supported then Enable, 67 Disable, and IsEnabled accept the symbolic constant 68 TEXTURE_RECTANGLE_ANGLE, which controls whether ARB_texture_rectangle is 69 allowed to be used by shaders at compilation time. This is initially 70 enabled. WebGL implementations may want to use ARB_texture_rectangle when 71 compiling their own shaders but not expose the extension to WebGL user 72 shaders. This only affects shader compilation and not any other part of 73 the ANGLE_texture_rectangle extension, nor the behavior of already 74 compiled shaders. 75 76New State 77 78 None 79 80Conformance Tests 81 82 TBD 83 84Issues 85 86 None 87 88Revision History 89 90 Rev. Date Author Changes 91 ---- ------------- --------- ---------------------------------------- 92 1 Sept 16, 2016 geofflang Initial version 93 2 Nov 28, 2016 geofflang Break the extension requests into a 94 separate extension. 95 3 Oct 3, 2019 jdarpinian Allow disabling ARB_texture_rectangle 96