forked from google/angle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ANGLE_program_cache_control.txt
75 lines (43 loc) · 1.54 KB
/
ANGLE_program_cache_control.txt
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