Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/angle
Path: blob/main_old/extensions/EGL_ANGLE_device_d3d.txt
1693 views
1
Name
2
3
ANGLE_device_d3d
4
5
Name Strings
6
7
EGL_ANGLE_device_d3d
8
9
Contributors
10
11
Jamie Madill (jmadill 'at' google.com)
12
13
Contact
14
15
Jamie Madill (jmadill 'at' google.com)
16
17
Status
18
19
Draft
20
21
Version
22
23
Version 1, Mar 25, 2015
24
25
Number
26
27
EGL Extension #XXX
28
29
Extension Type
30
31
EGL device extension
32
33
Dependencies
34
35
This extension is written against the language of EGL 1.5 as
36
modified by EGL_EXT_device_query.
37
38
EGL_EXT_device_query is required.
39
40
Overview
41
42
ANGLE has the ability to run GPU commands on a native D3D device.
43
This extension defines a mapping from an EGL device to a D3D
44
device, after it's queried from an EGL display.
45
46
IP Status
47
48
No known claims.
49
50
New Types
51
52
None.
53
54
New Procedures and Functions
55
56
None.
57
58
New Tokens
59
60
Accepted as a queried <attribute> in eglQueryDeviceAttribEXT:
61
62
EGL_D3D9_DEVICE_ANGLE 0x33A0
63
EGL_D3D11_DEVICE_ANGLE 0x33A1
64
65
Add a new section 2.1.3 (D3D Devices) after 2.1.2 (Devices)
66
67
Somewhat analogous to an EGL device, a D3D device establishes a
68
namespace for D3D operations. In the D3D APIs, such devices are
69
represented by pointers. For more details, see the D3D
70
documentation.
71
72
Changes to section 3.2 (Devices)
73
74
Replace the paragraph immediately following the prototype for
75
eglQueryDeviceAttribEXT:
76
77
<attribute> may be either EGL_D3D9_DEVICE_ANGLE or EGL_D3D11_DEVICE_ANGLE.
78
On success, EGL_TRUE is returned, and a valid D3D9 or D3D11 device pointer
79
corresponding to the EGL device is returned in <value>. This handle
80
is compatible with D3D API functions. If the EGL device is not currently
81
associated with a D3D9 device and <attribute> is EGL_D3D9_DEVICE_ANGLE,
82
or if the EGL device is not currently associated with a D3D11 device and
83
<attribute> is EGL_D3D11_DEVICE_ANGLE, EGL_BAD_ATTRIBUTE is returned,
84
and <value> is left unchanged.
85
86
Issues
87
88
None
89
90
Revision History
91
92
Version 1, Mar 25, 2015 (Jamie Madill)
93
- Initial Draft
94
95