Edit

kc3-lang/angle/extensions/EGL_ANGLE_platform_angle_d3d_luid.txt

Branch :

  • Show log

    Commit

  • Author : Patrick To
    Date : 2020-01-02 19:07:38
    Hash : a2ec926c
    Message : Specify LUID in D3D11 Add an extension to provide the ability to specify the LUID of the GPU adapter to use when using D3D11. Corresponding chromium CL: https://chromium-review.googlesource.com/c/chromium/src/+/2096778 Bug: chromium:792657 Change-Id: Iefebea221a4b7a20f150b445ae1adf375444726d Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2096663 Commit-Queue: Rafael Cintron <rafael.cintron@microsoft.com> Reviewed-by: Zhenyao Mo <zmo@chromium.org>

  • extensions/EGL_ANGLE_platform_angle_d3d_luid.txt
  • Name
    
        ANGLE_platform_angle_d3d_luid
    
    Name Strings
    
        EGL_ANGLE_platform_angle_d3d_luid
    
    Contributors
    
        Patrick To, Microsoft
    
    Contacts
    
        Patrick To, Microsoft (patrto 'at' microsoft.com)
    
    Status
    
        Draft
    
    Version
    
        Version 1, 2020-04-30
    
    Number
    
        EGL Extension XXX
    
    Extension Type
    
        EGL client extension
    
    Dependencies
    
        Requires ANGLE_platform_angle_d3d.
    
    Overview
    
        This extension enables the selection of a graphics adapter to back D3D.
    
    New Types
    
        None
    
    New Procedures and Functions
    
        None
    
    New Tokens
    
        Accepted as an attribute name in the <attrib_list> argument of
        eglGetPlatformDisplayEXT:
    
            EGL_PLATFORM_ANGLE_D3D_LUID_HIGH_ANGLE          0x34A0
            EGL_PLATFORM_ANGLE_D3D_LUID_LOW_ANGLE           0x34A1
    
    Additions to the EGL Specification
    
        None
    
    New Behavior
    
        To request a display that is backed by a specific graphics adapter,
        EGL_PLATFORM_ANGLE_D3D_LUID_HIGH_ANGLE and/or
        EGL_PLATFORM_ANGLE_D3D_LUID_LOW_ANGLE should be set to the high part and low
        part of the adapter's LUID. If only one attribute is specified, the other is
        assumed to be zero.
    
        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 LUID specified doesn't match any adapters on the system, the default
        adapter is used.
    
        If EGL_PLATFORM_ANGLE_D3D_LUID_HIGH_ANGLE and/or
        EGL_PLATFORM_ANGLE_D3D_LUID_LOW_ANGLE is included in the <attrib_list>
        argument of eglGetPlatformDisplayEXT and EGL_PLATFORM_ANGLE_TYPE_ANGLE is
        not set to EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE, an EGL_BAD_ATTRIBUTE error
        is generated and EGL_NO_DISPLAY is returned.
    
    Issues
    
        None
    
    Revision History
    
        Version 1, 2020-04-30 (Patrick To)
          - Initial draft