Besides ARB_get_program_binary
, there is no OpenGL functionality to query/cache compiled program objects.
Note that some drivers do cache program binaries by themself, like NVidia's proprietary Linux drivers which use the ~/.nv/GLCache
directory to store the cached objects. I'm not sure if other drivers do also have such a cache, but I find it quite likely.