Path: blob/main_old/extensions/ANGLE_program_cache_control.txt
1693 views
Name12ANGLE_program_cache_control34Name Strings56GL_ANGLE_program_cache_control78Contributors910Jamie Madill, Google1112Contacts1314Jamie Madill (jmadill 'at' google.com)1516Status1718Draft1920Version2122Version 1, June 29, 20172324Number2526OpenGL ES Extension #??2728Dependencies2930OpenGL ES 3.0 is required.3132This extension is written against the wording of the OpenGL ES333.0 specification.3435Overview3637With the program cache enabled, created OpenGL ES contexts will use an38internal program binary cache to save linking time. The extension allows the39application to determine if a particular Context has this feature enabled.4041New Types4243None4445New Procedures and Functions4647None4849New Tokens5051Accepted by the <cap> parameter to IsEnabled and the <pname> parameter to52GetBooleanv, GetIntegerv, GetFloatv, and GetInteger64v:5354PROGRAM_CACHE_ENABLED_ANGLE 0x93AC5556Additions to the OpenGL ES Specification:5758Add to section 2.12.3 (Program Objects), p. 52, after paragraph 4:5960Contexts with PROGRAM_CACHE_ENABLED_ANGLE set to TRUE will query the61internal program cache on any LinkProgram call, and re-use program binaries62if matching values are found. LinkProgram will succeed in this case. If the63binary load fails for any reason, LinkProgram will fall back to linking64normally.6566Issues6768None6970Revision History7172Rev. Date Author Changes73---- ------------- --------- -------------------------------------------741 June 29, 2017 jmadill Initial version757677