diff options
author | Ahan Wu <ahanwu@google.com> | 2021-07-19 09:53:41 -0800 |
---|---|---|
committer | Wu Ahan <ahanwu@google.com> | 2021-07-20 06:31:41 +0000 |
commit | 65a3d5dfa4cea24999ee093451ebbd633d9d738a (patch) | |
tree | b62f7125b9cff4189bc738494ac46936d8121276 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 6b43ea0a73d19f0366ccd0674d63aca8185e88a3 (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