Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/angle
Path: blob/main_old/extensions/EGL_ANGLE_device_eagl.txt
1693 views
1
Name
2
3
ANGLE_device_eagl
4
5
Name Strings
6
7
EGL_ANGLE_device_eagl
8
9
Contributors
10
11
Dean Jackson (dino 'at' apple.com)
12
Ken Russell (kbr 'at' google.com)
13
14
Contact
15
16
Ken Russell (kbr 'at' google.com)
17
18
Status
19
20
Draft
21
22
Version
23
24
Version 1, January 3, 2020
25
26
Number
27
28
EGL Extension #XXX
29
30
Extension Type
31
32
EGL device extension
33
34
Dependencies
35
36
This extension is written against the language of EGL 1.5 as
37
modified by EGL_EXT_device_query.
38
39
EGL_EXT_device_query is required.
40
41
Overview
42
43
ANGLE on iOS internally uses an OpenGL ES context allocated via EAGL.
44
This extension defines a mapping from an EGL device to the underlying
45
EAGLContext, after it's been queried from an EGL display.
46
47
IP Status
48
49
No known claims.
50
51
New Types
52
53
None.
54
55
New Procedures and Functions
56
57
None.
58
59
New Tokens
60
61
Accepted as a queried <attribute> in eglQueryDeviceAttribEXT:
62
63
EGL_EAGL_CONTEXT_ANGLE 0x348C
64
65
Add a new section 2.1.3 (EAGL Devices) after 2.1.2 (Devices)
66
67
On iOS the underlying EAGLContext can be queried from the EGL device. The
68
intented purpose is to allow applications to create new EAGLContexts which
69
share resources with this one.
70
71
Changes to section 3.2 (Devices)
72
73
Replace the paragraph immediately following the prototype for
74
eglQueryDeviceAttribEXT:
75
76
<attribute> must be EGL_EAGL_CONTEXT_ANGLE. On success, EGL_TRUE is
77
returned, and a valid EAGLContext corresponding to the EGL device is
78
returned in <value>. This object is compatible with OpenGL ES and EAGL API
79
functions. If the EGL device is not currently associated with an
80
EAGLContext, EGL_BAD_ATTRIBUTE is returned, and <value> is left unchanged.
81
82
Issues
83
84
None
85
86
Revision History
87
88
Version 1, January 3, 2020 (Ken Russell)
89
- Initial Draft
90
91