summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/EventControlThread.cpp
diff options
context:
space:
mode:
author Jeffrey Kardatzke <jkardatzke@google.com> 2018-03-13 12:07:28 -0700
committer Jeffrey Kardatzke <jkardatzke@google.com> 2018-03-27 23:26:18 +0000
commita45e1c8ffa50cf4d547cb86e48ab1f692492fdde (patch)
treea61970e6c4691fd4d7bad7592ae9cac118f11296 /services/surfaceflinger/EventControlThread.cpp
parent2afd5172c3e6bd99a287d24a1dd5fe5c7b70754e (diff)
Fixed incorrect usage of native fences
This code was checking SyncFeatures::useWaitSync() and if that was true was then using the EGL_ANDROID_native_fence_sync feature which is incorrect. It can only use that feature if SyncFeatures::useNativeFenceSync is true. Since it does also use eglWaitSyncKHR, the check for useWaitSync() was left in as well. Bug: 38452042, 77146928 Test: Verified screen capture test works on samus now Change-Id: I5aad16c1b974b641c30faf2b1bc93ff8bedd5186 (cherry picked from commit 487abfa65449317d43877655750d7ead639d3ad6)
Diffstat (limited to 'services/surfaceflinger/EventControlThread.cpp')
0 files changed, 0 insertions, 0 deletions