History log of /frameworks/base/libs/hwui/pipeline/skia/ShaderCache.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
003a9f673883a5427e91536e47f08646664e5179 29-Mar-2018 Stan Iliev <stani@google.com> Fix memory leak in ShaderCache

Fix memory leak in a limited memory situation within
ShaderCache::load().

Bug: 76213660
Test: Passed ShaderCacheTest unit test, ran a build on device.
Change-Id: Ibb6ea8fe167eb22bcbbaffc4cfffac12eda98c42
/frameworks/base/libs/hwui/pipeline/skia/ShaderCache.cpp
3a9f223dd1fe6a74e6bcf9a1080280034043409c 24-Jan-2018 Lingfeng Yang <lfy@google.com> Don't use shader disk cache on emulator

bug: 71900691

Emulator user might switch renderers, migrate a snapshot to a different
machine with a different shader binary format, etc.

Plus, program binaries don't seem to work so well on some desktop GPUs.

Change-Id: I0c6239acbd556097494aa903d6603c963d3141cb
/frameworks/base/libs/hwui/pipeline/skia/ShaderCache.cpp
ba72f9a288890c21817350e8d5eeb87fc4fd7583 09-Jan-2018 Stan Iliev <stani@google.com> Remove error log messages when skia shader cache is disabled

Ideally processes with a render thread, would turn on shader
caching, but system_server is an exception.

Test: checked logcat for ShaderCache not initialized messages
Bug: 71718344
Change-Id: I5d4df6ae912a6fec3f019c9c831a1177937ea53b
/frameworks/base/libs/hwui/pipeline/skia/ShaderCache.cpp
d495f43992c98d04cb5a4b1a7bf7917154072fb8 09-Oct-2017 Stan Iliev <stani@google.com> Implement SkSL cache

Implement SkSL cache by reusing code and logic from egl_cache_t.

Test: Improves startup times for gmail by 15ms and 10ms for calc app.
Bug: 66740665
Change-Id: I9ba479c649ba97a2c29a48d40579ba001264c957
/frameworks/base/libs/hwui/pipeline/skia/ShaderCache.cpp