i965: move disk cache from brw_context to intel_screen
authorTapani Pälli <tapani.palli@intel.com>
Fri, 26 Jan 2018 06:20:07 +0000 (08:20 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Tue, 30 Jan 2018 06:42:51 +0000 (08:42 +0200)
commit6316c2ecbda6d9370f1f876981ebcc35393c04e8
tree76be2bec73d01d99feadc7b8b8a79cffacfa7599
parent6f8518e068718d48cc62402e7e739502e0bbde48
i965: move disk cache from brw_context to intel_screen

Now every context refers to same disk_cache instance in screen.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Suggested-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/brw_disk_cache.c
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/intel_screen.c
src/mesa/drivers/dri/i965/intel_screen.h