summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorMark Renouf <mrenouf@google.com>2020-08-26 15:18:06 -0400
committerMark Renouf <mrenouf@google.com>2020-08-26 15:37:07 -0400
commitaf948d55d774b4aef9b98733cae43d278a6ec1d4 (patch)
tree126f4d1aca730828fa8e5b75125d129e8b40e8df /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent182c9bc33b79b6c5e29d199926ad7032b97a88c4 (diff)
Fix area rendered by ScrollCaptureViewSupport
When rendering the requested image, the updated scrollDelta was not being accounted for, resulting in rendering the wrong vertical position. This would happen if the view scrolled as a result of the request. Also adds a call invalidate() on the target view after scrolling to ensure that DisplayLists are correctly rebuilt when rendered here since there is no synchronization with the render thread. Test: atest ScrollViewCaptureHelperTest Change-Id: I1e6aec8dd4352b4ae610657537581689a04b725b
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions