Yet another EGL_ANDROID_blob_cache, some patches are re-sent but I thought it would be easier to read when sending all patches at once.
This functionality can be tested on desktop with any EGL app using this branch: https://cgit.freedesktop.org/~tpalli/mesa/log/?h=ANDROID_blob_cache_debug_v2 Android-IA testing was done with: https://github.com/tpalli/external-mesa/tree/boy_and_his_blob Thanks; Tapani Pälli (7): dri: add interface for EGL_ANDROID_blob_cache extension egl: add support for EGL_ANDROID_blob_cache glsl/tests: move utility functions in cache_test glsl/tests: changes to test_disk_cache_create test disk cache: initialize cache path and index only when used disk cache: add callback functionality i965: add __DRI2_BLOB support and set cache functions include/GL/internal/dri_interface.h | 26 ++++- src/compiler/glsl/tests/cache_test.c | 113 +++++++++----------- src/egl/drivers/dri2/egl_dri2.c | 25 +++++ src/egl/drivers/dri2/egl_dri2.h | 1 + src/egl/main/eglapi.c | 30 ++++++ src/egl/main/eglapi.h | 4 + src/egl/main/egldisplay.h | 4 + src/egl/main/eglentrypoint.h | 1 + src/mesa/drivers/dri/i965/intel_screen.c | 21 ++++ src/util/disk_cache.c | 176 ++++++++++++++++++++++--------- src/util/disk_cache.h | 19 ++++ 11 files changed, 308 insertions(+), 112 deletions(-) -- 2.13.6 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev