summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorMykola Kondratenko <mykola.kondratenko@sonymobile.com>2015-03-12 15:20:38 +0100
committerHenrik Baard <henrik.baard@sonymobile.com>2015-03-17 08:57:41 +0100
commitb159633aa3b91301de108a0b32e4634c72f34d14 (patch)
tree6a1afed560dac8141242f6abb6ea51cae75784dd /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent9aeb080eec2286e8604901bd2b8248be4e527107 (diff)
hwui : fix memory leak due to duplicate in shadow cache
New ShadowTask with the ShadowDescription key that already exists in the shadow LruCache will leak as it is not being added. Fix adds check for the existing key that is common in the hwui code but missing for the TessellationCache::precacheShadow function. Change-Id: I37fd5ec82f8b8da5d1ec0f2ab9fd04c5f8534367
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions