File: ANGLE_get_serialized_context_string.txt

package info (click to toggle)
webkit2gtk 2.51.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 457,708 kB
  • sloc: cpp: 3,884,629; javascript: 198,661; ansic: 165,298; python: 49,171; asm: 21,849; ruby: 18,095; perl: 16,914; xml: 4,623; sh: 2,397; yacc: 2,356; java: 2,019; lex: 1,330; pascal: 372; makefile: 197
file content (71 lines) | stat: -rw-r--r-- 1,627 bytes parent folder | download | duplicates (30)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
Name

    ANGLE_get_serialized_context_string

Name Strings

    GL_ANGLE_get_serialized_context_string

Contributors

    Jamie Madill, Google

Contact

    Jamie Madill, Google (jmadill 'at' google.com)

Status

    Implemented in ANGLE.

Version

    Last Modified Date: April 2, 2021
    Revision: #1

Number

    TBD

Dependencies

    OpenGL ES 2.0 is required.

Overview

    Adds a query for a serialized string representation of a context.
    Useful for testing to easily compare two states.

New Tokens

    Accepted by the <name> parameter of glGetString:

        SERIALIZED_CONTEXT_STRING_ANGLE   0x96B0

Additions to Chapter 6 of the OpenGL ES 2.0 Specification (Querying GL State)

    Update Section 6.1.5 "String Queries" to accept the new enum specified
    above. The SERIALIZED_CONTEXT_STRING_ANGLE string is an implementation-
    dependent representation of the current context state. Two contexts
    with the same internal state are guaranteed to have the same value. Note
    that the reverse is not true - two contexts with different states are
    may also have the same serialized string.

New State

    None.

Issues

    1) Should two contexts with different states return different strings?

    RESOLVED: We don't provide a guarantee that every state is serialized
      into the string. This loose wording lets the extension provide
      some additional extra validation without being overly strict and
      making the implementation difficult. It also allow a no-op
      implementation to satisfy the extension requirements.

Revision History

    2021/04/02  jmadill  Initial revision.