st/dri: enable EGL_ANDROID_blob_cache on gallium drivers
authorTapani Pälli <tapani.palli@intel.com>
Thu, 23 May 2019 07:00:26 +0000 (10:00 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Fri, 24 May 2019 06:17:04 +0000 (09:17 +0300)
commit397fe0cc50ef21f5fa8f6e45d599403325a142a4
tree4658c488fa04c376f944b44274bc89e6628cf7a3
parentea6b58144467f9eeb8e249cff07e354ad14ef12a
st/dri: enable EGL_ANDROID_blob_cache on gallium drivers

Verified to work properly with Iris driver on Android Celadon. Cache
files get generated as 'com.android.opengl.shaders_cache' for each
application.

v2: check that cache was returned (Eric Engestrom)

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
src/gallium/state_trackers/dri/dri2.c