diff options
author | Doris Liu <tianliu@google.com> | 2017-09-27 15:47:39 -0700 |
---|---|---|
committer | Doris Liu <tianliu@google.com> | 2017-09-27 16:53:05 -0700 |
commit | d4c5ab8b8c6238102d568031a8c3bcfb5931482a (patch) | |
tree | da8624ac4c961c062f2f355d85d1a8be88e2b982 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 73e6ff1925384638d959dd067c76502049aedc17 (diff) |
Associate RenderNodes created for hw bitmap w/ views
In transition animations, in order to capture the content of a view
or a drawable in a hw bitmap, a RenderNode needs to be created. The
RenderNode was previously setup with no owning view. As a result,
in cases where RenderNode animations are triggered by the draw calls
in displaylist recording, these animations would fail for lack of a
view to animate on.
This CL ensures that when RenderNodes are created for the purpose of
populating content in a hw bitmap in transitions, there's always a
view associated with each RenderNode.
BUG: 65160121
Test: Force to repro crash by changing press state during hw bitmap
creation, which triggers a ripple animation that led to the
otherwise timing dependent and hard to repro crash.
Change-Id: I2b4ba95cad25a94d50b3904e775606f737e960e3
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions