Path: blob/main_old/extensions/ANGLE_get_serialized_context_string.txt
1693 views
Name12ANGLE_get_serialized_context_string34Name Strings56GL_ANGLE_get_serialized_context_string78Contributors910Jamie Madill, Google1112Contact1314Jamie Madill, Google (jmadill 'at' google.com)1516Status1718Implemented in ANGLE.1920Version2122Last Modified Date: April 2, 202123Revision: #12425Number2627TBD2829Dependencies3031OpenGL ES 2.0 is required.3233Overview3435Adds a query for a serialized string representation of a context.36Useful for testing to easily compare two states.3738New Tokens3940Accepted by the <name> parameter of glGetString:4142SERIALIZED_CONTEXT_STRING_ANGLE 0x96B04344Additions to Chapter 6 of the OpenGL ES 2.0 Specification (Querying GL State)4546Update Section 6.1.5 "String Queries" to accept the new enum specified47above. The SERIALIZED_CONTEXT_STRING_ANGLE string is an implementation-48dependent representation of the current context state. Two contexts49with the same internal state are guaranteed to have the same value. Note50that the reverse is not true - two contexts with different states are51may also have the same serialized string.5253New State5455None.5657Issues58591) Should two contexts with different states return different strings?6061RESOLVED: We don't provide a guarantee that every state is serialized62into the string. This loose wording lets the extension provide63some additional extra validation without being overly strict and64making the implementation difficult. It also allow a no-op65implementation to satisfy the extension requirements.6667Revision History68692021/04/02 jmadill Initial revision.70717273