summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2017-04-03 17:24:19 +0200
committerJorim Jaggi <jjaggi@google.com>2017-04-11 14:06:42 -0700
commitcdef591e52e691a6f57e367caa5670fdc4ee1a8a (patch)
tree61eaf57d1439b38fd57b79c7240b1dfaccde95d8 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent3f1febbedb31925d2684d07e3a2e2600088f4262 (diff)
Improve caching behavior of thumbnails
Remove the retrieval cache on system_server. It's not needed at this point. Instead, we cache the low-res thumbnails on SystemUI side that will be visible when recents launches. For that, we introduce a strong thumbnail cache, which gets filled up whenever the task stack changes. Also fix a couple of issues like that the visibility report was pretty wrong as well as some tasks got unloaded because tasks were bound before layout happend. Also fix a merge issue where we didn't load the reduced resolution thumbnail :/ Test: TaskSnapshotCacheTest Test: Open a couple of apps, open recents, make sure all thumbnails are already loaded. Fixes: 36374895 Change-Id: Idbf1acd4ceab6a7c4656e9791e245a8b102017f2
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions