diff options
author | Winson Chung <winsonc@google.com> | 2018-12-10 16:11:28 -0800 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2018-12-10 16:11:28 -0800 |
commit | f213111bd3faa71dda01cf126b62f86285ac2453 (patch) | |
tree | 3ec057721a0bd23cd6d0ee2a946c3c826bc0e179 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | c90e979d6eb0a34666a0d946aedf40bdc19d17dc (diff) |
Ensure frame callback applied during scroll handling is applied.
- By the time we call computeScroll(), the current frame's callback
has already been consumed, which makes it impossible to apply
surface updates with the current frame (in response to the scroll).
Instead, we should only consume the frame callback after dispatching
draw for the current frame (but before the window callbacks which
may reset the frame callback).
Test: Update surface transforms in response to scroll, ensure that
it is updated with the current frame
Change-Id: I52a640604ee15cf745c47fc0120b4844b67f35be
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions