15bd8deadSopenharmony_ciName
25bd8deadSopenharmony_ci
35bd8deadSopenharmony_ci    EXT_context_priority
45bd8deadSopenharmony_ci
55bd8deadSopenharmony_ciName Strings
65bd8deadSopenharmony_ci
75bd8deadSopenharmony_ci    GLX_EXT_context_priority
85bd8deadSopenharmony_ci
95bd8deadSopenharmony_ciContributors
105bd8deadSopenharmony_ci
115bd8deadSopenharmony_ci    Adam Jackson, Red Hat
125bd8deadSopenharmony_ci
135bd8deadSopenharmony_ci    Cloned from EGL_IMG_context_priority, whose contributors included:
145bd8deadSopenharmony_ci
155bd8deadSopenharmony_ci    Ben Bowman, Imagination Techonologies
165bd8deadSopenharmony_ci    Graham Connor, Imagination Techonologies
175bd8deadSopenharmony_ci
185bd8deadSopenharmony_ciContacts
195bd8deadSopenharmony_ci
205bd8deadSopenharmony_ci    Adam Jackson <ajax@redhat.com>
215bd8deadSopenharmony_ci
225bd8deadSopenharmony_ciStatus
235bd8deadSopenharmony_ci
245bd8deadSopenharmony_ci    Complete
255bd8deadSopenharmony_ci
265bd8deadSopenharmony_ciVersion
275bd8deadSopenharmony_ci
285bd8deadSopenharmony_ci    Version 2, 10 April 2019
295bd8deadSopenharmony_ci
305bd8deadSopenharmony_ciNumber
315bd8deadSopenharmony_ci
325bd8deadSopenharmony_ci    OpenGL Extension #535
335bd8deadSopenharmony_ci
345bd8deadSopenharmony_ciDependencies
355bd8deadSopenharmony_ci
365bd8deadSopenharmony_ci    Requires GLX_ARB_create_context.
375bd8deadSopenharmony_ci
385bd8deadSopenharmony_ci    This extension is written against the text of the GLX 1.4 specification.
395bd8deadSopenharmony_ci
405bd8deadSopenharmony_ciOverview
415bd8deadSopenharmony_ci
425bd8deadSopenharmony_ci    This extension allows a GLXContext to be created with a priority
435bd8deadSopenharmony_ci    hint. It is possible that an implementation will not honour the
445bd8deadSopenharmony_ci    hint, especially if there are constraints on the number of high
455bd8deadSopenharmony_ci    priority contexts available in the system, or system policy limits
465bd8deadSopenharmony_ci    access to high priority contexts to appropriate system privilege
475bd8deadSopenharmony_ci    level. A query is provided to find the real priority level assigned
485bd8deadSopenharmony_ci    to the context after creation.
495bd8deadSopenharmony_ci
505bd8deadSopenharmony_ciNew Types
515bd8deadSopenharmony_ci
525bd8deadSopenharmony_ci    None
535bd8deadSopenharmony_ci
545bd8deadSopenharmony_ciNew Procedures and Functions
555bd8deadSopenharmony_ci
565bd8deadSopenharmony_ci    None
575bd8deadSopenharmony_ci
585bd8deadSopenharmony_ciNew Tokens
595bd8deadSopenharmony_ci
605bd8deadSopenharmony_ci    New attributes accepted by the <attrib_list> argument of
615bd8deadSopenharmony_ci    glXCreateContextAttribsARB:
625bd8deadSopenharmony_ci
635bd8deadSopenharmony_ci        GLX_CONTEXT_PRIORITY_LEVEL_EXT          0x3100
645bd8deadSopenharmony_ci
655bd8deadSopenharmony_ci    New attribute values accepted in the <attrib_list> argument
665bd8deadSopenharmony_ci    of glXCreateContextAttribsARB:
675bd8deadSopenharmony_ci
685bd8deadSopenharmony_ci        GLX_CONTEXT_PRIORITY_HIGH_EXT           0x3101
695bd8deadSopenharmony_ci        GLX_CONTEXT_PRIORITY_MEDIUM_EXT         0x3102
705bd8deadSopenharmony_ci        GLX_CONTEXT_PRIORITY_LOW_EXT            0x3103
715bd8deadSopenharmony_ci
725bd8deadSopenharmony_ciAdditions to the GLX_ARB_create_context specification
735bd8deadSopenharmony_ci
745bd8deadSopenharmony_ci    Add to the text of attributes supported by glXCreateContextAttribsARB:
755bd8deadSopenharmony_ci
765bd8deadSopenharmony_ci        "GLX_CONTEXT_PRIORITY_LEVEL_EXT determines the priority level of
775bd8deadSopenharmony_ci        the context to be created. This attribute is a hint, as an
785bd8deadSopenharmony_ci        implementation may not support multiple contexts at some
795bd8deadSopenharmony_ci        priority levels and system policy may limit access to high
805bd8deadSopenharmony_ci        priority contexts to appropriate system privilege level. The
815bd8deadSopenharmony_ci        default value for GLX_CONTEXT_PRIORITY_LEVEL_EXT is
825bd8deadSopenharmony_ci        GLX_CONTEXT_PRIORITY_MEDIUM_EXT."
835bd8deadSopenharmony_ci
845bd8deadSopenharmony_ciAdditions to the GLX 1.4 specification
855bd8deadSopenharmony_ci
865bd8deadSopenharmony_ci    To Table 3.5 "Context attributes" add the row:
875bd8deadSopenharmony_ci
885bd8deadSopenharmony_ci    Attribute                       Type    Description
895bd8deadSopenharmony_ci    GLX_CONTEXT_PRIORITY_LEVEL_EXT  int     Context priority level
905bd8deadSopenharmony_ci
915bd8deadSopenharmony_ciIssues
925bd8deadSopenharmony_ci
935bd8deadSopenharmony_ci    Refer to the issues in EGL_IMG_context_priority for further background.
945bd8deadSopenharmony_ci
955bd8deadSopenharmony_ci    1) What enumerant values should we use here?
965bd8deadSopenharmony_ci
975bd8deadSopenharmony_ci    RESOLVED: Reuse the enums from EGL_IMG_context_priority. The window
985bd8deadSopenharmony_ci    system binding APIs have trended towards sharing enumerant space. The
995bd8deadSopenharmony_ci    range is not otherwise assigned for GLX, and Imagination have consented
1005bd8deadSopenharmony_ci    to its reuse in GLX.
1015bd8deadSopenharmony_ci
1025bd8deadSopenharmony_ciRevision History
1035bd8deadSopenharmony_ci
1045bd8deadSopenharmony_ci    Version 2, 10 April 2019 (Adam Jackson)
1055bd8deadSopenharmony_ci    - Resolve enumerant issue.
1065bd8deadSopenharmony_ci
1075bd8deadSopenharmony_ci    Version 1, 20 February 2019 (Adam Jackson)
1085bd8deadSopenharmony_ci    - Clone from EGL_IMG_context_priority
109