diff options
author | Lingfeng Yang <lfy@google.com> | 2020-07-14 14:27:33 -0700 |
---|---|---|
committer | Lingfeng Yang <lfy@google.com> | 2020-07-16 01:05:27 -0700 |
commit | 256f9251d406ed4a3aca6936f92b5a6730425d95 (patch) | |
tree | bb3a9bd4dc71e57f6b0530fc29773cc64c4dcb4a /system/OpenglSystemCommon/HostConnection.cpp | |
parent | f89f75d19633196b2341998fa212dbca771d65fa (diff) | |
download | goldfish-opengl-256f9251d406ed4a3aca6936f92b5a6730425d95.tar.gz |
remove encoder lock, change to atomic and thread local check
Test: Run
dEQP-VK.synchronization.internally_synchronized_objects.pipeline_cache_compute
20x, no failures/crashes/hangs
Change-Id: I5d4440149fc1d0780b935495a784500de7988756
Diffstat (limited to 'system/OpenglSystemCommon/HostConnection.cpp')
-rw-r--r-- | system/OpenglSystemCommon/HostConnection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/OpenglSystemCommon/HostConnection.cpp b/system/OpenglSystemCommon/HostConnection.cpp index 9c6cce37..c371742e 100644 --- a/system/OpenglSystemCommon/HostConnection.cpp +++ b/system/OpenglSystemCommon/HostConnection.cpp @@ -639,7 +639,7 @@ ExtendedRCEncoderContext *HostConnection::rcEncoder() queryAndSetVulkanFreeMemorySync(rcEnc); queryAndSetVirtioGpuNativeSync(rcEnc); queryAndSetVulkanShaderFloat16Int8Support(rcEnc); - queryAndSetVulkanAsyncQueueSubmitSupport(m_rcEnc); + queryAndSetVulkanAsyncQueueSubmitSupport(rcEnc); if (m_processPipe) { m_processPipe->processPipeInit(m_connectionType, rcEnc); } |