diff options
author | Winson Chung <winsonc@google.com> | 2020-03-04 19:30:30 -0800 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2020-03-05 17:33:02 -0800 |
commit | 5570147aa05aa54b35c20f6ee6555456b75ea0fc (patch) | |
tree | b16411ab3de7570465587ab701f2954777129490 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 721de2359edea5eabe9717fa3807e8b5ee0683c1 (diff) |
Ensure that task org updates all happen off the main thread
- Move the animator to be called on the update thread
- Move the calls on task org to update on that thread as well
- Cache the leash and token to ensure we don't make binder calls to fetch
the leash on each frame of the animation
- Don't align with SF vsync now that we're driving the surface animations
Bug: 150810666
Test: Enter PIP, move it around
Test: atest PipAnimationControllerTest
Change-Id: Id05980529681f892638f52f492262fde246cac20
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions