Name ANGLE_platform_angle_device_id Name Strings EGL_ANGLE_platform_angle_device_id Contributors Jonah Ryan-Davis, Google Kimmo Kinnunen, Apple Contacts Jonah Ryan-Davis, Google (jonahr 'at' google.com) Status Draft Version Version 2, 2022-04-09 Number EGL Extension XXX Extension Type EGL client extension Dependencies Requires ANGLE_platform_angle. EGL_ANGLE_display_power_preference interacts with this extension. Overview This extension enables the selection of a graphics device to back an ANGLE EGLDisplay. New Types None New Procedures and Functions None New Tokens Accepted as an attribute name in the argument of eglGetPlatformDisplayEXT: EGL_PLATFORM_ANGLE_DEVICE_ID_HIGH_ANGLE 0x34D6 EGL_PLATFORM_ANGLE_DEVICE_ID_LOW_ANGLE 0x34D7 Additions to the EGL Specification None New Behavior To request a display that is backed by a specific graphics device, EGL_PLATFORM_ANGLE_DEVICE_ID_HIGH_ANGLE and/or EGL_PLATFORM_ANGLE_DEVICE_ID_LOW_ANGLE should be set to the high part and low part of the device's ID. If only one attribute is specified, the other is assumed to be zero. The device's ID is specific to the platform that ANGLE is running on, but should fit into one 64-bit value. If the high part and low part combined is zero, an EGL_BAD_ATTRIBUTE error is generated and EGL_NO_DISPLAY is returned. If the ID specified doesn't match any devices on the system, the device is selected as described in the EGL_ANGLE_display_power_preference extension. Issues None Revision History Version 2, 2022-04-09 (Kimmo Kinnunen) - Describe interaction with EGL_ANGLE_display_power_preference, EGL_ANGLE_platform_angle_device_id takes precedence. Version 1, 2021-12-14 (Jonah Ryan-Davis) - Initial draft, based on EGL_ANGLE_platform_angle_d3d_luid