summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorEvan Rosky <erosky@google.com>2020-10-27 15:18:15 -0700
committerEvan Rosky <erosky@google.com>2020-11-18 13:00:13 -0800
commit8cfc4c2b64a89220f9aed2508b596dabb5731f37 (patch)
tree63cb59d034bc179775a901e0e794e05cdcde88c4 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent961f737505c854b783de6e08b1c5d49e64f143e3 (diff)
Calculate and provide more info necessary for animations
This adds relative offsets so that animating surfaces can be reparented with the knowledge of how to position them within their new parents. This also creates a "rootleash" which serves as a place for the transition player to put animating surfaces into where they can all be siblings. This provides control over z-ordering during the animation and removes relative cropping constraints. This rootleash surface is a child of the deepest container that is an ancestor to all animating targets. It's layer is picked to be the top-most(z) of the ancestor's direct children which contains animating targets. This then Updates the example transition in shell to use the rootleash. Bug: 169035082 Test: atest TransitionTests Change-Id: If40872138cbb6087b46be4a93c298bad94e88ca1
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions