Commit graph

2 commits

Author SHA1 Message Date
hujianwei
151473bfb5 Fully implement tearing control
* 12to11.man: Document new protocol.
* compositor.h (enum _RenderMode): Add RenderModeVsyncAsync.
* picture_renderer.c (SwapBackBuffers, PresentToWindow)
(NotifyMsc): Handle new render mode.
* sync_source.c (GetWantedSynchronizationType): Use presentation
if the mode is VsyncAsync.
(NoteFrame): Set the vsync presentation mode to
RenderModeVsyncAsync.
2022-11-24 06:12:06 +00:00
hujianwei
2973069bd0 * sync_source.c: New file. 2022-11-22 10:58:26 +00:00