Path: blob/main_old/extensions/EGL_ANGLE_device_eagl.txt
1693 views
Name12ANGLE_device_eagl34Name Strings56EGL_ANGLE_device_eagl78Contributors910Dean Jackson (dino 'at' apple.com)11Ken Russell (kbr 'at' google.com)1213Contact1415Ken Russell (kbr 'at' google.com)1617Status1819Draft2021Version2223Version 1, January 3, 20202425Number2627EGL Extension #XXX2829Extension Type3031EGL device extension3233Dependencies3435This extension is written against the language of EGL 1.5 as36modified by EGL_EXT_device_query.3738EGL_EXT_device_query is required.3940Overview4142ANGLE on iOS internally uses an OpenGL ES context allocated via EAGL.43This extension defines a mapping from an EGL device to the underlying44EAGLContext, after it's been queried from an EGL display.4546IP Status4748No known claims.4950New Types5152None.5354New Procedures and Functions5556None.5758New Tokens5960Accepted as a queried <attribute> in eglQueryDeviceAttribEXT:6162EGL_EAGL_CONTEXT_ANGLE 0x348C6364Add a new section 2.1.3 (EAGL Devices) after 2.1.2 (Devices)6566On iOS the underlying EAGLContext can be queried from the EGL device. The67intented purpose is to allow applications to create new EAGLContexts which68share resources with this one.6970Changes to section 3.2 (Devices)7172Replace the paragraph immediately following the prototype for73eglQueryDeviceAttribEXT:7475<attribute> must be EGL_EAGL_CONTEXT_ANGLE. On success, EGL_TRUE is76returned, and a valid EAGLContext corresponding to the EGL device is77returned in <value>. This object is compatible with OpenGL ES and EAGL API78functions. If the EGL device is not currently associated with an79EAGLContext, EGL_BAD_ATTRIBUTE is returned, and <value> is left unchanged.8081Issues8283None8485Revision History8687Version 1, January 3, 2020 (Ken Russell)88- Initial Draft899091