summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author chaviw <chaviw@google.com> 2022-06-09 16:27:42 -0500
committer chaviw <chaviw@google.com> 2022-06-10 12:15:00 -0500
commit783ae3c7d91357356360ca17ca525f8e6640d5bb (patch)
tree4eb2b716536eb11770512254480b549805fdb6bf /libs/androidfw/StringPool.cpp
parentb2c0a7176160a6b494fea620e7da88f98ac6fd94 (diff)
Make sure VRI waits for SV to draw before report
VRI is not currently waiting for SV to draw since SV may start its draw before VRI opened the SyncSet. If that happens, VRI will not include SV in its SyncSet and report draw finished even if SV is not complete. This fix has SV create its own SyncSet when redrawNeeded. Then if VRI creates a sync, SV will merge its own SyncSet into that one. If SV already finished drawing, then nothing will get merged, but it means SV is ready already. If SV is not finished, VRI will now also wait for SV's draw to finish before calling finishDraw. Test: Long delay in surfaceRedrawNeededAsync Test: SurfaceSyncerTest Bug: 230998394 Change-Id: I44331b8f54951e6dc633a4845bbf690abde0f95e
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions