mesa/src/mesa
Jordan Justen 1a61a8b9a7 i965: Initialize disk shader cache if MESA_GLSL_CACHE_DISABLE is false
(Apologies for the double negative.)

For now, the shader cache is disabled by default on i965 to allow us
to verify its stability.

In other words, to enable the shader cache on i965, set
MESA_GLSL_CACHE_DISABLE to false or 0. If the variable is unset, then
the shader cache will be disabled.

We use the build-id of i965_dri.so for the timestamp, and the pci
device id for the device name.

v2:
 * Simplify code by forcing link to include build id sha. (Matt)

v3:
 * Don't use a for loop with snprintf for bin to hex. (Matt)
 * Assume fixed length render and timestamp string to further simplify
   code.

Cc: Matt Turner <mattst88@gmail.com>
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2017-10-31 23:46:53 -07:00
..
drivers i965: Initialize disk shader cache if MESA_GLSL_CACHE_DISABLE is false 2017-10-31 23:46:53 -07:00
main mesa/glsl: add api_enabled flag to gl_transform_feedback_info 2017-10-31 23:36:54 -07:00
math
program main: Add driver cache blob fields to gl_program 2017-10-31 23:36:53 -07:00
sparc
state_tracker mesa/st: implement max combined output resources limiting. 2017-11-01 10:07:07 +10:00
swrast mesa: Add X1B5G5R5 along with A1B5G5R5. 2017-10-10 09:31:29 -07:00
swrast_setup
tnl mesa: move _mesa_exec_malloc/free() prototypes to their own header 2017-10-10 11:28:31 -06:00
tnl_dd
vbo
x86 mesa: move _mesa_exec_malloc/free() prototypes to their own header 2017-10-10 11:28:31 -06:00
x86-64
.gitignore
Android.gen.mk
Android.libmesa_dricore.mk Android: add libmesa_nir dependency to libmesa_dricore 2017-10-16 14:49:37 -05:00
Android.libmesa_git_sha1.mk buildsys: move file regeneration logic to the script itself 2017-10-27 13:38:37 +01:00
Android.libmesa_glsl_utils.mk
Android.libmesa_sse41.mk
Android.libmesa_st_mesa.mk
Android.mesa_gen_matypes.mk
Android.mk
gl.pc.in
Makefile.am
Makefile.sources meta: Delete the PBO texture upload/download path 2017-10-12 19:58:40 -07:00
meson.build meson: build classic osmesa 2017-10-27 11:06:45 -07:00
SConscript build: Remove HAVE_DLOPEN 2017-10-02 19:41:22 -07:00