summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramRaster.java
diff options
context:
space:
mode:
authorGreg Daniel <egdaniel@google.com>2021-02-01 14:25:48 -0500
committerGreg Daniel <egdaniel@google.com>2021-02-09 13:04:50 +0000
commit41ef56626842c74e23d0633d7035f5a13156686c (patch)
treebdd9007ec07c3fc41508f696e5d4edd4872a27dc /rs/java/android/renderscript/ProgramRaster.java
parent015c5af31d58eeae788105cbfb7d42f4dc371285 (diff)
Change CacheManager to not flush and submit at end of trimMemory.
The flush and submit at the start of trim memory now syncs the cpu so that all work is done on the gpu and the max possible amount of resources can be freed This fixes CacheManager unit test since the submit at the end trim memory was causing new resources to be available to be purged. Test: locally ran unit tests Bug: 178978639 Change-Id: I8b57b042dd146fc6c1083540715295e93fd113d3 (cherry picked from commit 846644a46e6c5d9bb82382da438a67a067a8a0ce)
Diffstat (limited to 'rs/java/android/renderscript/ProgramRaster.java')
0 files changed, 0 insertions, 0 deletions