XRenderComposite Tie To Vsync

Ismael Luceno ismael at iodev.co.uk
Wed Sep 22 14:41:20 UTC 2021


On 22/Sep/2021 03:18, Ryan McClue wrote:
> I'm rendering with XRender:
> XRenderComposite(display, PictOpSrc, src_picwant, dst_pict, 0, 0, 0, 0, 0, 0, window_width, window_height);
> I want this to sync with the monitor's VBLANK, i.e. vsync.
> How can this be achieved?

AFAIK XRender can't do vsync. You may want to use OpenGL for
everything, or even just for the presentation step in order to do
the vsync...


More information about the xorg mailing list