Path: blob/main_old/extensions/EGL_ANGLE_device_creation_d3d11.txt
1693 views
Name12ANGLE_device_creation_d3d1134Name Strings56EGL_ANGLE_device_creation_d3d1178Contributors910Austin Kinross (aukinros 'at' microsoft.com)1112Contact1314Austin Kinross (aukinros 'at' microsoft.com)1516Status1718Draft1920Version2122Version 1, Nov 02, 20152324Number2526EGL Extension #XXX2728Extension Type2930EGL client extension3132Dependencies3334Requires EGL_ANGLE_device_d3d and EGL_ANGLE_device_creation.3536Written against the wording of EGL 1.5 as modified by EGL_ANGLE_device_d3d37and EGL_ANGLE_device_creation.3839Overview4041ANGLE has the ability to run GPU commands on a native D3D device. This42extension defines a way to create a EGL device which maps to an inputted43Direct3D 11 device.4445This extension is intended to be used with EGL_EXT_platform_device to46initialize a display using an existing Direct3D 11 device, but47EGL_EXT_platform_device is not required.4849IP Status5051No known claims.5253New Types5455None.5657New Procedures and Functions5859None.6061New Tokens6263None.6465Changes to section 3.2 (Devices)6667Modify the language in section 3.2 (Devices) describing valid attribute68names passed into eglCreateDeviceANGLE via <device_type>:6970"This specification defines one value for <device_type>:71EGL_D3D11_DEVICE_ANGLE. If this device type is specified then72<native_device> must be a valid pointer to a Direct3D 11 device. If73<native_device> is not a valid pointer to a Direct3D 11 device then the74resulting behavior is undefined."7576Append the following to the end of section 3.2 (Devices):7778"If a Direct3D 11 device used to create a device experiences a "lost device"79then all resulting behavior of the device (and any dependent EGL objects) is80undefined. It is the caller's responsibility to monitor for "lost device"81and to create a new device (and dependent EGL objects) as appropriate. For82more information on "lost device", see the Direct3D documentation."8384Issues8586None.8788Revision History8990Version 1, Nov 2, 2015 (Austin Kinross)91- Initial Draft929394