summaryrefslogtreecommitdiff
path: root/opengl/libagl/TextureObjectManager.cpp
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2019-06-04 16:04:04 -0700
committer Ana Krulec <akrulec@google.com> 2019-08-27 10:03:51 -0700
commit9b586699b2d9b379cbb8385ad55fe37ebb25fe1e (patch)
tree938306a21a3bfeb55184da9cca15b43173f3f1e9 /opengl/libagl/TextureObjectManager.cpp
parentf941c1ea7e58e5bbe050e871165050f86b79f107 (diff)
SurfaceFlinger: add explicit register for DISPLAY_EVENT_CONFIG_CHANGED
When display refresh rate changes, SF fires DISPLAY_EVENT_CONFIG_CHANGED thru DisplayEventReceiver. If the other end of the pipe doesn't consume the events it may lead to pipe full and dropping of events. Furthermore, The only clients interested in this event in DisplayManager and hwui. To avoid spamming all clients with this event, this change is adding an explicit register for DISPLAY_EVENT_CONFIG_CHANGED events. Bug: 131688378 Test: adb shell /data/nativetest64/libsurfaceflinger_unittest/libsurfaceflinger_unittest Test: trigger config change and observe logcat Change-Id: I5973a1ecc1f3e3ff8d8a0cba19db0e49ef0d5341 (cherry picked from commit 0f4a1b19009a1e71ed2100b63b04aa015a111b44)
Diffstat (limited to 'opengl/libagl/TextureObjectManager.cpp')
0 files changed, 0 insertions, 0 deletions