]> source.dussan.org Git - tigervnc.git/commit
Keep frame clock running if waiting for frame tick
authorPierre Ossman <ossman@cendio.se>
Wed, 28 Feb 2024 13:20:54 +0000 (14:20 +0100)
committerPierre Ossman <ossman@cendio.se>
Wed, 19 Jun 2024 14:39:07 +0000 (16:39 +0200)
commit5242bfb39648855acd928b186b7c7b6b1f84313c
treee5aa0cbe9bbafaf688b3905c2f56a6be22993e62
parentd226d98269dca1a5c52f13a681e4740fe0a3d39d
Keep frame clock running if waiting for frame tick

If there is something interested in synchronizing to a frame tick, then
keep the frame clock running, even if there are no updates.

This is need mainly when something starts rendering, but also when
something renders much slower than the frame clock (so it is essentially
constantly "starting"). Such an application will not draw anything until
it gets a new frame tick, which it won't get as the frame clock is
waiting for something to start drawing.
common/rfb/VNCServer.h
common/rfb/VNCServerST.cxx
common/rfb/VNCServerST.h
unix/xserver/hw/vnc/XserverDesktop.cc