commit | d9e4de637603b6d534d7e331d3bc7f090802cde6 | [log] [tgz] |
---|---|---|
author | Dominik Laskowski <domlaskowski@google.com> | Mon Jan 21 14:23:01 2019 -0800 |
committer | Dominik Laskowski <domlaskowski@google.com> | Wed Jan 23 16:49:15 2019 -0800 |
tree | e1b9fe7ed49ca8c851647d642beab6427bd004a2 | |
parent | c2867147707ca1bc49b6102675056f0304872ac5 [diff] |
SF: Refactor event dispatch This CL refactors the EventThread loop to simplify control flow, remove redundant state, avoid gratuitous allocation, and improve readability. It also adds a dumpsys flag for VSYNC information. Bug: 74619554 Test: libsurfaceflinger_unittest Test: dumpsys SurfaceFlinger --vsync Change-Id: I2d875349031ae2869fb370a8a090c71b0e181482