This repository has been archived by the owner on Dec 5, 2023. It is now read-only.
forked from thejudge156/angle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
EGL_ANGLE_vulkan_display.txt
95 lines (58 loc) · 2.01 KB
/
EGL_ANGLE_vulkan_display.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
Name
ANGLE_vulkan_display
Name Strings
EGL_ANGLE_vulkan_display
Contributors
Xiaoxuan Liu, Arm Ltd.
Sunny Sun, Arm Ltd.
Contacts
Xiaoxuan Liu, Arm Ltd. (xiaoxuan 'dot' liu 'at' arm 'dot' com)
Status
Draft
Version
Version 1, 2020-10-29
Number
EGL Extension XXX
Extension Type
EGL client extension
Dependencies
Requires EGL_EXT_platform_angle_vulkan.
Overview
This extension allows ANGLE to use simple display mode through
VK_KHR_display without native platform support (e.g. X11, GBM).
The EGLSurfaces to be created from native types only contain the
basic width and height info.
New Types
The basic structure to represent a display window, used by vulkan
backend to create valid display with VK_KHR_display.
typedef struct displayWindow
{
khronos_uint16_t width;
khronos_uint16_t height;
} DisplayWindow;
New Procedures and Functions
None
New Tokens
Accepted as values for the EGL_PLATFORM_ANGLE_NATIVE_PLATFORM_TYPE_ANGLE
attribute:
EGL_PLATFORM_VULKAN_DISPLAY_MODE_SIMPLE_ANGLE 0x34A4
EGL_PLATFORM_VULKAN_DISPLAY_MODE_HEADLESS_ANGLE 0x34A5
Additions to the EGL Specification
None
New Behavior
To obtain an simple EGLDisplay backed by a ANGLE vulkan with
VK_KHR_display, request a display that is backed by a Vulkan driver
through EGL_ANGLE_platform_angle_vulkan. And the value of attribute
EGL_PLATFORM_ANGLE_NATIVE_PLATFORM_TYPE_ANGLE should be
EGL_PLATFORM_VULKAN_DISPLAY_MODE_SIMPLE_ANGLE or
EGL_PLATFORM_VULKAN_DISPLAY_MODE_HEADLESS_ANGLE.
If an EGLDisplay is backed by ANGLE vulkan VK_KHR_display and the
value of attribute EGL_PLATFORM_ANGLE_NATIVE_PLATFORM_TYPE_ANGLE is
set but neither EGL_PLATFORM_VULKAN_DISPLAY_MODE_SIMPLE_ANGLE or
EGL_PLATFORM_VULKAN_DISPLAY_MODE_HEADLESS_ANGLE, then EGL_NO_DISPLAY
should be returned.
Issues
None
Revision History
Version 1, 2020-10-29 (Xiaoxuan Liu)
- Initial draft