summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorchaviw <chaviw@google.com>2021-01-07 16:09:39 -0800
committerchaviw <chaviw@google.com>2021-01-08 11:14:39 -0800
commitd862b98d91bfaeba0c5be6eed23868f20e56884d (patch)
treeb2ec04902f7d8478df51f43a2430a8cf0246fdc2 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent27de08e041feabf5dd4f06da8f3cd7840cc0ec5e (diff)
Unset mNextDrawUseBlastSync if VRI won't draw
There are some checks before attempting to draw in VRI. If we get a blast sync relayout, but aren't going to draw, unset mNextDrawUseBlastSync. Otherwise, we end up blocking indefinitely. There would never be a draw callback so we would never unset that flag. If there are no pending draws, report back immediately so we don't block WMS since it could be waiting on the app to draw. Test: enable shell transitions, unlock device Bug: 175229445 Change-Id: I8e1f524862e2b9a48949cf6846141d67129c507c
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions