summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2017-05-12 15:40:43 +0200
committerJorim Jaggi <jjaggi@google.com>2017-05-13 12:33:59 +0200
commit44f4bcb80df76608d4db048aacc27760472d6a2d (patch)
tree5032bfbb75e88f6bfa5a7f7b93770f38aafeb1ed /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parentd70695ee34611bee420d901ac9e6470d8c211519 (diff)
Fix recents entry delay
- Start loading things after we drew our first frame. - Don't load high res task until low res tasks have been loaded: In case the snapshot is already in cache in system_server the low-res task loader will load the full res snapshot, leading to GC pressure due to registerNativeAlloc. Now, if both task loader load the same snapshot at the same time we are very likely to trigger a blocking GC alloc. Test: Open recents, look at systrace Change-Id: I10c263dc8929742611ad9fbb32f65bc8ac3100bd Fixes: 36851903 Bug: 32668632
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions