• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Name
2
3    ANGLE_platform_angle_d3d_luid
4
5Name Strings
6
7    EGL_ANGLE_platform_angle_d3d_luid
8
9Contributors
10
11    Patrick To, Microsoft
12
13Contacts
14
15    Patrick To, Microsoft (patrto 'at' microsoft.com)
16
17Status
18
19    Draft
20
21Version
22
23    Version 1, 2020-04-30
24
25Number
26
27    EGL Extension XXX
28
29Extension Type
30
31    EGL client extension
32
33Dependencies
34
35    Requires ANGLE_platform_angle_d3d.
36
37Overview
38
39    This extension enables the selection of a graphics adapter to back D3D.
40
41New Types
42
43    None
44
45New Procedures and Functions
46
47    None
48
49New Tokens
50
51    Accepted as an attribute name in the <attrib_list> argument of
52    eglGetPlatformDisplayEXT:
53
54        EGL_PLATFORM_ANGLE_D3D_LUID_HIGH_ANGLE          0x34A0
55        EGL_PLATFORM_ANGLE_D3D_LUID_LOW_ANGLE           0x34A1
56
57Additions to the EGL Specification
58
59    None
60
61New Behavior
62
63    To request a display that is backed by a specific graphics adapter,
64    EGL_PLATFORM_ANGLE_D3D_LUID_HIGH_ANGLE and/or
65    EGL_PLATFORM_ANGLE_D3D_LUID_LOW_ANGLE should be set to the high part and low
66    part of the adapter's LUID. If only one attribute is specified, the other is
67    assumed to be zero.
68
69    If the high part and low part combined is zero, an EGL_BAD_ATTRIBUTE error
70    is generated and EGL_NO_DISPLAY is returned.
71
72    If the LUID specified doesn't match any adapters on the system, the default
73    adapter is used.
74
75    If EGL_PLATFORM_ANGLE_D3D_LUID_HIGH_ANGLE and/or
76    EGL_PLATFORM_ANGLE_D3D_LUID_LOW_ANGLE is included in the <attrib_list>
77    argument of eglGetPlatformDisplayEXT and EGL_PLATFORM_ANGLE_TYPE_ANGLE is
78    not set to EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE, an EGL_BAD_ATTRIBUTE error
79    is generated and EGL_NO_DISPLAY is returned.
80
81Issues
82
83    None
84
85Revision History
86
87    Version 1, 2020-04-30 (Patrick To)
88      - Initial draft
89