• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Name
2
3    ANGLE_explicit_context
4
5Name Strings
6
7    GL_ANGLE_explicit_context
8
9Contributors
10
11    Brandon Jones, Intel
12
13Contacts
14
15    Brandon Jones, Intel (brandon1.jones 'at' intel 'dot' com)
16
17Status
18
19    Complete.
20
21Version
22
23    Version 1, 2018-5-22
24
25Number
26
27    GL Extension XXX
28
29Dependencies
30
31    OpenGL ES 3.1 is required.
32
33    EGL_ANGLE_explicit_context is required.
34
35Overview
36
37    This extension adds new OpenGL ES entry points that allow the user to pass the current EGL
38    context as a function parameter. This allows users to skip lookup of the thread's current
39    context upon entry.
40
41New Types
42
43    typedef void* GLeglContextANGLE
44
45New Procedures and Functions
46
47    For every OpenGL ES entry point available in OpenGL ES 2.0, 3.0 and 3.1, an additional entry
48    point is made available. The entry points have the form of:
49
50    <return value> gl<entry point name>ContextANGLE(GLeglContextANGLE context, <entry point parameters>)
51
52    If a function already has an extension suffix, this form still applies.
53
54New Tokens
55
56    None.
57
58Additions to Chapter 2 of the OpenGL ES 3.1 Specification (OpenGL ES Fundamentals)
59
60    The ContextANGLE entry points allow the user to pass the current EGL context as a function
61    parameter to provide better performance than looking up the current EGL context at every GL
62    entry point.
63
64    Calls made with an explicit context provide no additional validation for the passed context
65    parameter.
66
67    Calls made with an explicit context will generate errors under the same conditions as they
68    would without an explicit context. Any instances of undefined behaviour without specifying
69    an explicit context are still undefined when specifying an explicit context.
70
71    When an EGL context that is not current is explicitly passed, the resulting behavior is
72    undefined.
73
74Issues
75
76    None.
77
78Revision History
79
80    Version 1, 2018-5-22 (Brandon Jones)
81        - Initial draft