[scenic] Make real vsync signal reach frame scheduler
Vsync timings and intervals are currently indirectly estimated by the frame scheduler through the display, and only updated when there is a frame to present. This CL changes it so that the display gets the real vsync signal and is responsible for keeping track of timings and intervals. SCN-563 #done Change-Id: Ica705b79b2aa3def87f66db1b19bbd167b0778a9
Showing
- garnet/lib/ui/gfx/displays/display.cc 17 additions, 24 deletionsgarnet/lib/ui/gfx/displays/display.cc
- garnet/lib/ui/gfx/displays/display.h 17 additions, 8 deletionsgarnet/lib/ui/gfx/displays/display.h
- garnet/lib/ui/gfx/engine/default_frame_scheduler.cc 11 additions, 10 deletionsgarnet/lib/ui/gfx/engine/default_frame_scheduler.cc
- garnet/lib/ui/gfx/engine/default_frame_scheduler.h 2 additions, 8 deletionsgarnet/lib/ui/gfx/engine/default_frame_scheduler.h
- garnet/lib/ui/gfx/resources/compositor/display_compositor.cc 9 additions, 10 deletionsgarnet/lib/ui/gfx/resources/compositor/display_compositor.cc
- garnet/lib/ui/gfx/resources/compositor/display_compositor.h 2 additions, 4 deletionsgarnet/lib/ui/gfx/resources/compositor/display_compositor.h
- garnet/lib/ui/gfx/swapchain/display_swapchain.cc 4 additions, 0 deletionsgarnet/lib/ui/gfx/swapchain/display_swapchain.cc
- garnet/lib/ui/gfx/swapchain/display_swapchain.h 16 additions, 0 deletionsgarnet/lib/ui/gfx/swapchain/display_swapchain.h
- garnet/lib/ui/gfx/tests/BUILD.gn 3 additions, 0 deletionsgarnet/lib/ui/gfx/tests/BUILD.gn
Loading
Please register or sign in to comment