File: ANGLE_program_cache_control.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 (75 lines) | stat: -rw-r--r-- 1,574 bytes parent folder | download | duplicates (41)
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
72
73
74
75
Name

    ANGLE_program_cache_control

Name Strings

    GL_ANGLE_program_cache_control

Contributors

    Jamie Madill, Google

Contacts

    Jamie Madill (jmadill 'at' google.com)

Status

    Draft

Version

    Version 1, June 29, 2017

Number

    OpenGL ES Extension #??

Dependencies

    OpenGL ES 3.0 is required.

    This extension is written against the wording of the OpenGL ES
    3.0 specification.

Overview

    With the program cache enabled, created OpenGL ES contexts will use an
    internal program binary cache to save linking time. The extension allows the
    application to determine if a particular Context has this feature enabled.

New Types

    None

New Procedures and Functions

    None

New Tokens

    Accepted by the <cap> parameter to IsEnabled and the <pname> parameter to
    GetBooleanv, GetIntegerv, GetFloatv, and GetInteger64v:

    PROGRAM_CACHE_ENABLED_ANGLE           0x93AC

Additions to the OpenGL ES Specification:

    Add to section 2.12.3 (Program Objects), p. 52, after paragraph 4:

    Contexts with PROGRAM_CACHE_ENABLED_ANGLE set to TRUE will query the
    internal program cache on any LinkProgram call, and re-use program binaries
    if matching values are found. LinkProgram will succeed in this case. If the
    binary load fails for any reason, LinkProgram will fall back to linking
    normally.

Issues

    None

Revision History

    Rev.    Date         Author     Changes
    ----  -------------  ---------  -------------------------------------------
      1   June 29, 2017  jmadill    Initial version