summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorJiwen 'Steve' Cai <jwcai@google.com>2018-02-21 16:15:58 -0800
committerJiwen 'Steve' Cai <jwcai@google.com>2018-02-21 16:48:51 -0800
commitccfd682b5280fe638d4e0b4c7841c98aab298788 (patch)
tree5ef199f1fa3077a364465f8b190af406ea318638 /opengl/tests/gl_basic/gl_basic.cpp
parentc1d316f4edfa8a91aafe51d9ac2c8cd2199b8f76 (diff)
Fix VrFlinger handoff
In ag/3368932, hotplug processing was moved to main thread and deferred the actual display devices creation to the next cycle of SurfaceFlinger's main thread. This breaks UpdateVrFlinger logic, which runs on the main thread and assumes all new display devices get created synchronously during the handoff. This CL fixes the issue by allowing synchronous calling processDisplayHotplugEventsLocked() from onHotplugReceived() if and only if the callback is called on main thread. Bug: 72103899 Test: VrApp now renders fine Change-Id: I2abd5d5861e0bb74419f12142f7f7c33190a022c
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions