[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: XRenderComposite Tie To Vsync
From:       Ismael Luceno <ismael () iodev ! co ! uk>
Date:       2021-09-22 14:45:55
Message-ID: YUtBox0ejmuv6Aq/ () pirotess
[Download RAW message or body]

On 22/Sep/2021 16:41, Ismael Luceno wrote:
> 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...

You may also want to try the XSync extension, but it never worked
properly for me (might have been my fault though), so in practice
you might need a fallback.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic