mirror of
https://github.com/godotengine/godot-angle-static.git
synced 2026-01-04 22:09:59 +03:00
Rewrite EGL_ANGLE_platform_angle_context_virtualization to EGL_ANGLE_context_virtualization, changing the context virtualization parameter to an identifier for what virtualization group the frontend context should be added to. This allows ANGLE's GL backend to be used by multiple threads if the user creates contexts with different virtualization groups. Bug: angleproject:6406 Change-Id: I7414d4705ce10bdf63a9b824043d5dd040dad875 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3169193 Reviewed-by: Jonah Ryan-Davis <jonahr@google.com> Reviewed-by: Jamie Madill <jmadill@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org>
80 lines
1.4 KiB
Plaintext
80 lines
1.4 KiB
Plaintext
Name
|
|
|
|
ANGLE_context_virtualization
|
|
|
|
Name Strings
|
|
|
|
EGL_ANGLE_context_virtualization
|
|
|
|
Contributors
|
|
|
|
Geoff Lang, Google
|
|
|
|
Contacts
|
|
|
|
Geoff Lang, Google (geofflang 'at' chromium 'dot' org)
|
|
|
|
Status
|
|
|
|
Draft
|
|
|
|
Version
|
|
|
|
Version 2, 2021-09-17
|
|
|
|
Number
|
|
|
|
EGL Extension XXX
|
|
|
|
Extension Type
|
|
|
|
EGL display extension
|
|
|
|
Dependencies
|
|
|
|
None
|
|
|
|
Overview
|
|
|
|
This extension allows the client to create contexts that are internally
|
|
virtualized on a single native context for performance or stability.
|
|
|
|
New Types
|
|
|
|
None
|
|
|
|
New Procedures and Functions
|
|
|
|
None
|
|
|
|
New Tokens
|
|
|
|
Accepted as an attribute name in the <attrib_list> argument of
|
|
eglCreateContext:
|
|
|
|
EGL_CONTEXT_VIRTUALIZATION_GROUP_ANGLE 0x3481
|
|
|
|
Additions to the EGL Specification
|
|
|
|
None.
|
|
|
|
New Behavior
|
|
|
|
To request that a context should be part of a virtualization group,
|
|
use the attribute EGL_CONTEXT_VIRTUALIZATION_GROUP_ANGLE. EGL_DONT_CARE
|
|
can be used to allow the implementation to decide what virtualization
|
|
group is used. The default value of EGL_CONTEXT_VIRTUALIZATION_GROUP_ANGLE
|
|
is EGL_DONT_CARE. It is undefined behaviour to have multiple contexts from
|
|
the same virtualization group current different threads simultaneously.
|
|
|
|
Issues
|
|
|
|
None
|
|
|
|
Revision History
|
|
|
|
Version 1, 2018-06-11 (Geoff Lang)
|
|
- Initial draft
|
|
Version 2, 2021-09-17 (Geoff Lang)
|
|
- Change to context creation attribute
|