EGL BlobCache: Disable multifile to address Wembley perf
Need to investigate multifile performance on Wembley, which does
not use SkiaVk. That means many small/simple GL programs are taking
longer to start. Accessing the filesystem is taking longer than a
quick return from a sub 1MB cache.
Test: Build and inspect cache locally
Test: /data/nativetest64/EGL_test/EGL_test
Bug: b/263574392
Change-Id: Iacc725f902fd91c7cbd06b293ec96f5ab5eeb1c3
diff --git a/opengl/libs/EGL/egl_cache.cpp b/opengl/libs/EGL/egl_cache.cpp
index 5597944..1e8a348 100644
--- a/opengl/libs/EGL/egl_cache.cpp
+++ b/opengl/libs/EGL/egl_cache.cpp
@@ -69,7 +69,7 @@
//
egl_cache_t::egl_cache_t()
: mInitialized(false),
- mMultifileMode(true),
+ mMultifileMode(false),
mCacheByteLimit(maxTotalSize),
mMultifileCleanupPending(false) {}
@@ -114,8 +114,6 @@
}
}
- mMultifileMode = true;
-
// Allow forcing monolithic cache for debug purposes
if (base::GetProperty("debug.egl.blobcache.multifilemode", "") == "false") {
ALOGD("Forcing monolithic cache due to debug.egl.blobcache.multifilemode == \"false\"");