xref: /aosp_15_r20/external/angle/extensions/ANGLE_program_cache_control.txt (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1Name
2
3    ANGLE_program_cache_control
4
5Name Strings
6
7    GL_ANGLE_program_cache_control
8
9Contributors
10
11    Jamie Madill, Google
12
13Contacts
14
15    Jamie Madill (jmadill 'at' google.com)
16
17Status
18
19    Draft
20
21Version
22
23    Version 1, June 29, 2017
24
25Number
26
27    OpenGL ES Extension #??
28
29Dependencies
30
31    OpenGL ES 3.0 is required.
32
33    This extension is written against the wording of the OpenGL ES
34    3.0 specification.
35
36Overview
37
38    With the program cache enabled, created OpenGL ES contexts will use an
39    internal program binary cache to save linking time. The extension allows the
40    application to determine if a particular Context has this feature enabled.
41
42New Types
43
44    None
45
46New Procedures and Functions
47
48    None
49
50New Tokens
51
52    Accepted by the <cap> parameter to IsEnabled and the <pname> parameter to
53    GetBooleanv, GetIntegerv, GetFloatv, and GetInteger64v:
54
55    PROGRAM_CACHE_ENABLED_ANGLE           0x93AC
56
57Additions to the OpenGL ES Specification:
58
59    Add to section 2.12.3 (Program Objects), p. 52, after paragraph 4:
60
61    Contexts with PROGRAM_CACHE_ENABLED_ANGLE set to TRUE will query the
62    internal program cache on any LinkProgram call, and re-use program binaries
63    if matching values are found. LinkProgram will succeed in this case. If the
64    binary load fails for any reason, LinkProgram will fall back to linking
65    normally.
66
67Issues
68
69    None
70
71Revision History
72
73    Rev.    Date         Author     Changes
74    ----  -------------  ---------  -------------------------------------------
75      1   June 29, 2017  jmadill    Initial version
76