1Name 2 3 ANGLE_device_d3d 4 5Name Strings 6 7 EGL_ANGLE_device_d3d 8 9Contributors 10 11 Jamie Madill (jmadill 'at' google.com) 12 13Contact 14 15 Jamie Madill (jmadill 'at' google.com) 16 17Status 18 19 Draft 20 21Version 22 23 Version 1, Mar 25, 2015 24 25Number 26 27 EGL Extension #XXX 28 29Extension Type 30 31 EGL device extension 32 33Dependencies 34 35 This extension is written against the language of EGL 1.5 as 36 modified by EGL_EXT_device_query. 37 38 EGL_EXT_device_query is required. 39 40Overview 41 42 ANGLE has the ability to run GPU commands on a native D3D device. 43 This extension defines a mapping from an EGL device to a D3D 44 device, after it's queried from an EGL display. 45 46IP Status 47 48 No known claims. 49 50New Types 51 52 None. 53 54New Procedures and Functions 55 56 None. 57 58New Tokens 59 60 Accepted as a queried <attribute> in eglQueryDeviceAttribEXT: 61 62 EGL_D3D9_DEVICE_ANGLE 0x33A0 63 EGL_D3D11_DEVICE_ANGLE 0x33A1 64 65Add a new section 2.1.3 (D3D Devices) after 2.1.2 (Devices) 66 67 Somewhat analogous to an EGL device, a D3D device establishes a 68 namespace for D3D operations. In the D3D APIs, such devices are 69 represented by pointers. For more details, see the D3D 70 documentation. 71 72Changes to section 3.2 (Devices) 73 74 Replace the paragraph immediately following the prototype for 75 eglQueryDeviceAttribEXT: 76 77 <attribute> may be either EGL_D3D9_DEVICE_ANGLE or EGL_D3D11_DEVICE_ANGLE. 78 On success, EGL_TRUE is returned, and a valid D3D9 or D3D11 device pointer 79 corresponding to the EGL device is returned in <value>. This handle 80 is compatible with D3D API functions. If the EGL device is not currently 81 associated with a D3D9 device and <attribute> is EGL_D3D9_DEVICE_ANGLE, 82 or if the EGL device is not currently associated with a D3D11 device and 83 <attribute> is EGL_D3D11_DEVICE_ANGLE, EGL_BAD_ATTRIBUTE is returned, 84 and <value> is left unchanged. 85 86Issues 87 88 None 89 90Revision History 91 92 Version 1, Mar 25, 2015 (Jamie Madill) 93 - Initial Draft 94