Path: blob/main_old/extensions/ANGLE_explicit_context_gles1.txt
1693 views
Name12ANGLE_explicit_context_gles134Name Strings56GL_ANGLE_explicit_context_gles178Contributors910Brandon Jones, Intel1112Contacts1314Brandon Jones, Intel (brandon1.jones 'at' intel 'dot' com)1516Status1718Complete.1920Version2122Version 1, 2018-5-222324Number2526GL Extension XXX2728Dependencies2930OpenGL ES 1.0 is required.3132EGL_ANGLE_explicit_context is required.3334Overview3536This extension adds new OpenGL ES entry points that allow the user to pass the current EGL37context as a function parameter. This allows users to skip lookup of the thread's current38context upon entry.3940New Types4142typedef void* GLeglContextANGLE4344New Procedures and Functions4546For every OpenGL ES entry point available in OpenGL ES 1.0, an additional entry point is made47available. The entry points have the form of:4849<return value> gl<entry point name>ContextANGLE(GLeglContextANGLE context, <entry point parameters>)5051If a function already has an extension suffix, this form still applies.5253New Tokens5455None.5657Additions to Chapter 2 of the OpenGL ES 1.0 Specification (OpenGL ES Operation)5859The ContextANGLE entry points allow the user to pass the current EGL context as a function60parameter to provide better performance than looking up the current EGL context at every GL61entry point.6263Calls made with an explicit context provide no additional validation for the passed context64parameter.6566Calls made with an explicit context will generate errors under the same conditions as they67would without an explicit context. Any instances of undefined behaviour without specifying68an explicit context are still undefined when specifying an explicit context.6970When an EGL context that is not current is explicitly passed, the resulting behavior is71undefined.7273Issues7475None.7677Revision History7879Version 1, 2018-5-22 (Brandon Jones)80- Initial draft8182