aboutsummaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorGeoff Lang <geofflang@chromium.org>2018-03-14 11:03:30 -0400
committerCommit Bot <commit-bot@chromium.org>2018-03-14 20:46:16 +0000
commit0ab41fa5eb235dc0a06f63fc03e41b5593eb5263 (patch)
tree76cb883433a02a882ac15f8ec14a5f3e383da875 /extensions
parent1b14d7cec16e54b4f27c50ef7b6cdb95c15911ea (diff)
downloadangle-0ab41fa5eb235dc0a06f63fc03e41b5593eb5263.tar.gz
Add an EGL extension to disable GL extensions by default.
BUG=angleproject:2404 Change-Id: I2667ddc92d5c9ef6e0ef115f2fdf0c3d3643d945 Reviewed-on: https://chromium-review.googlesource.com/962702 Reviewed-by: Frank Henigman <fjhenigman@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/EGL_ANGLE_create_context_extensions_enabled.txt88
1 files changed, 88 insertions, 0 deletions
diff --git a/extensions/EGL_ANGLE_create_context_extensions_enabled.txt b/extensions/EGL_ANGLE_create_context_extensions_enabled.txt
new file mode 100644
index 0000000000..898559f644
--- /dev/null
+++ b/extensions/EGL_ANGLE_create_context_extensions_enabled.txt
@@ -0,0 +1,88 @@
+Name
+
+ ANGLE_create_context_extensions_enabled
+
+Name Strings
+
+ EGL_ANGLE_create_context_extensions_enabled
+
+Contributors
+
+ Geoff Lang
+
+Contacts
+
+ Geoff Lang (geofflang 'at' google.com)
+
+Status
+
+ Draft
+
+Version
+
+ Version 1, Marchh 14, 2018
+
+Number
+
+ EGL Extension #??
+
+Dependencies
+
+ This extension is written against the wording of the EGL 1.4
+ Specification.
+
+ This extension has interactions with
+ EGL_ANGLE_create_context_webgl_compatibility.
+
+Overview
+
+ This extension allows the creation of an OpenGL or OpenGL ES context that
+ enables or disables all requestable extensions by default.
+
+New Types
+
+ None
+
+New Procedures and Functions
+
+ None
+
+New Tokens
+
+ Accepted as an attribute name in the <*attrib_list> argument to
+ eglCreateContext:
+
+ EGL_EXTENSIONS_ENABLED_ANGLE 0x345F
+
+Additions to the EGL 1.4 Specification
+
+ Add the following to section 3.7.1 "Creating Rendering Contexts":
+
+ EGL_EXTENSIONS_ENABLED_ANGLE indicates whether the context should be
+ created with all requestable extensions initially enabled or disabled. The
+ default value of EGL_EXTENSIONS_ENABLED_ANGLE is EGL_TRUE. However, if
+ EGL_ANGLE_create_context_webgl_compatibility is also supported and
+ EGL_CONTEXT_WEBGL_COMPATIBILITY_ANGLE has a value of EGL_TRUE, the default
+ value of EGL_EXTENSIONS_ENABLED_ANGLE is EGL_FALSE.
+
+Errors
+
+ None
+
+New State
+
+ None
+
+Conformance Tests
+
+ TBD
+
+Issues
+
+ None
+
+Revision History
+
+ Rev. Date Author Changes
+ ---- ------------- --------- ----------------------------------------
+ 1 Mar 14, 2018 geofflang Initial version