summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorchaviw <chaviw@google.com>2020-09-15 12:17:28 -0700
committerchaviw <chaviw@google.com>2020-09-22 14:54:38 -0700
commit14b8ea996ceff0130b29bd1647aca0e8f27970f3 (patch)
tree0ae19fea3405d7451c8c454be033e84fdafb3508 /rs/java/android/renderscript/ProgramStore.java
parenta28729b6293012f5ab5b66364ef8cf6dc7d9874c (diff)
Perform traversal after finish drawing for Blast Sync
Normally, a perform traversal wouldn't get called if WSA.finishDrawingLocked doesn't return true. It only returns true if the previous drawState was DRAW_PENDING which may not be the case if it's not the first draw. With blast sync, we will get a finish draw but not necessary the first draw. That means we may never trigger the perform traversal. We always wait for a perform traversal before notifying blast sync that we're done in case there's more data to gather into the transaction. In this change, always trigger perform traversal if finishDrawing was called because of blast sync. Test: Hard to trigger, but existing sync works Change-Id: Id95c0c84418cecd0e73befafe524102f9e3faad2
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions