summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Robert Carr <racarr@google.com> 2020-03-11 12:09:42 -0700
committer Robert Carr <racarr@google.com> 2020-03-11 12:09:42 -0700
commit0854b996a3c1f0b7f065d6767e0aac297afbdbac (patch)
treebbab502560f205a47d8c74bf23b1e57f9af06a31 /vulkan/libvulkan/api.cpp
parent3bbfb422fc832df7d590c45be1000fcfa51ae7fe (diff)
SurfaceFlinger: Ignore mInputDirty if syncing input-windows.
It's possible we sync input windows but then don't actually have any changes resulting in input being dirtied. This could lead to extremly long waits on Binder threads and "Set transaction state timed-out" errors. To fix this we ignore the cache state if we are processing a sync command. I thought about just not invoking setInputWindows and signalling the CV but I thought maybe someone could be relying on the fencing semantics of syncInputWindows even in cases where this transaction had no change. Bug: 151182359 Test: android.media.cts.EncodeVirtualDisplayWithCompositionTest Change-Id: Ia4e5f21c37db68a1a3bec36051c34df3be5fce52
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions