summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorAhan Wu <ahanwu@google.com>2021-07-19 09:53:41 -0800
committerWu Ahan <ahanwu@google.com>2021-07-20 06:31:41 +0000
commit65a3d5dfa4cea24999ee093451ebbd633d9d738a (patch)
treeb62f7125b9cff4189bc738494ac46936d8121276 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent6b43ea0a73d19f0366ccd0674d63aca8185e88a3 (diff)
Fix potential memory leak of FrameTracker
If begin and end invocations are at the same frame, the end vsync id will be smaller than the begin vsync id, results in zero size jank info array, the finish call will be missed as well, a leak happens. Bug: 192140966 Test: atest FrameTrackerTest InteractionJankMonitorTest Change-Id: I388558e60bdb84ad248a9afabe7776c4e6e67c57
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions