Path: blob/main_old/extensions/EGL_ANGLE_device_d3d.txt
1693 views
Name12ANGLE_device_d3d34Name Strings56EGL_ANGLE_device_d3d78Contributors910Jamie Madill (jmadill 'at' google.com)1112Contact1314Jamie Madill (jmadill 'at' google.com)1516Status1718Draft1920Version2122Version 1, Mar 25, 20152324Number2526EGL Extension #XXX2728Extension Type2930EGL device extension3132Dependencies3334This extension is written against the language of EGL 1.5 as35modified by EGL_EXT_device_query.3637EGL_EXT_device_query is required.3839Overview4041ANGLE has the ability to run GPU commands on a native D3D device.42This extension defines a mapping from an EGL device to a D3D43device, after it's queried from an EGL display.4445IP Status4647No known claims.4849New Types5051None.5253New Procedures and Functions5455None.5657New Tokens5859Accepted as a queried <attribute> in eglQueryDeviceAttribEXT:6061EGL_D3D9_DEVICE_ANGLE 0x33A062EGL_D3D11_DEVICE_ANGLE 0x33A16364Add a new section 2.1.3 (D3D Devices) after 2.1.2 (Devices)6566Somewhat analogous to an EGL device, a D3D device establishes a67namespace for D3D operations. In the D3D APIs, such devices are68represented by pointers. For more details, see the D3D69documentation.7071Changes to section 3.2 (Devices)7273Replace the paragraph immediately following the prototype for74eglQueryDeviceAttribEXT:7576<attribute> may be either EGL_D3D9_DEVICE_ANGLE or EGL_D3D11_DEVICE_ANGLE.77On success, EGL_TRUE is returned, and a valid D3D9 or D3D11 device pointer78corresponding to the EGL device is returned in <value>. This handle79is compatible with D3D API functions. If the EGL device is not currently80associated with a D3D9 device and <attribute> is EGL_D3D9_DEVICE_ANGLE,81or if the EGL device is not currently associated with a D3D11 device and82<attribute> is EGL_D3D11_DEVICE_ANGLE, EGL_BAD_ATTRIBUTE is returned,83and <value> is left unchanged.8485Issues8687None8889Revision History9091Version 1, Mar 25, 2015 (Jamie Madill)92- Initial Draft939495