summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Dominik Laskowski <domlaskowski@google.com> 2019-01-22 12:44:53 -0800
committer Dominik Laskowski <domlaskowski@google.com> 2019-01-23 16:49:15 -0800
commit23b867a444d80222638922daff372f2e67d77dcc (patch)
tree7da0dd0c757e8b94eeb64e602d45d26042623572 /libs/gui/BufferQueueThreadState.cpp
parentd9e4de637603b6d534d7e331d3bc7f090802cde6 (diff)
SF: Remove fixed-size array for VSYNC events
EventThread maintains two DisplayEventReceiver::Event instances to store the latest VSYNC state for the internal and external displays, regardless of their connection status. This CL removes the (unused) latter instance, replaces the former with VSyncState, and generalizes event processing by queuing up VSYNC events along with hotplug events. The VSyncState lifetime will be tied to hotplug events in a future CL. Bug: 74619554 Test: libsurfaceflinger_unittest Test: dumpsys SurfaceFlinger --vsync Change-Id: I5fbc1d08259145387dab73596a0cfe4624c35676
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions