1Name 2 3 ANGLE_keyed_mutex 4 5Name Strings 6 7 EGL_ANGLE_keyed_mutex 8 9Contributors 10 11 Jeff Muizelaar 12 13Contacts 14 15 Jeff Muizelaar, Mozilla (jmuizelaar 'at' mozilla.org) 16 17Status 18 19 Implemented in ANGLE. 20 21Version 22 23 Version 1, Oct 29, 2014 24 25Number 26 27 EGL Extension #?? 28 29Dependencies 30 31 Requires the EGL_ANGLE_query_surface_pointer extension. 32 33 This extension is written against the wording of the EGL 1.4 34 Specification. 35 36Overview 37 38 Some EGL implementations generate EGLSurface handles that are 39 backed by Direct3D 11 2D textures. This extension allows 40 obtaining the IDXGIKeyedMutex for such EGL surfaces. 41 42New Types 43 44 None 45 46New Procedures and Functions 47 48 None 49 50New Tokens 51 52 Accepted in the <attribute> parameter of eglQuerySurfacePointerANGLE: 53 54 EGL_DXGI_KEYED_MUTEX_ANGLE 0x33A2 55 56 Add to table 3.5, "Queryable surface attributes and types": 57 58 Attribute Type Description 59 --------- ---- ----------- 60 EGL_DXGI_KEYED_MUTEX_ANGLE pointer IDXGIKeyedMutex 61 62 Add before the last paragraph in section 3.5, "Surface attributes": 63 64 "Querying EGL_DXGI_KEYED_MUTEX_ANGLE returns a IDXGIKeyedMutex, or NULL 65 if a keyed mutex for the surface is not available. The keyed mutex 66 must be queried using eglQuerySurfaceAttribPointerANGLE. Keyed Mutexes 67 are only available from EGL surfaces backed by Direct3D 11 surfaces. 68 Before using the keyed mutex, ensure that all rendering to the EGLSurface 69 with EGL client APIs has completed." 70 71Issues 72 73Revision History 74 75 Version 1, 2014/10/29 - first draft. 76