Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/angle
Path: blob/main_old/extensions/ANGLE_program_cache_control.txt
1693 views
1
Name
2
3
ANGLE_program_cache_control
4
5
Name Strings
6
7
GL_ANGLE_program_cache_control
8
9
Contributors
10
11
Jamie Madill, Google
12
13
Contacts
14
15
Jamie Madill (jmadill 'at' google.com)
16
17
Status
18
19
Draft
20
21
Version
22
23
Version 1, June 29, 2017
24
25
Number
26
27
OpenGL ES Extension #??
28
29
Dependencies
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
36
Overview
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
42
New Types
43
44
None
45
46
New Procedures and Functions
47
48
None
49
50
New 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
57
Additions 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
67
Issues
68
69
None
70
71
Revision History
72
73
Rev. Date Author Changes
74
---- ------------- --------- -------------------------------------------
75
1 June 29, 2017 jmadill Initial version
76
77