Composite redraw speedup?

Carsten Haitzler raster at rasterman.com
Wed Feb 12 11:07:56 UTC 2020


On Wed, 12 Feb 2020 12:40:15 +0200 Pekka Paalanen <ppaalanen at gmail.com> said:

> On Wed, 12 Feb 2020 10:21:02 +0000
> Carsten Haitzler (The Rasterman) <raster at rasterman.com> wrote:
> 
> > even better - if the /dev/dri/card0
> > device exists, dlopen libdrm and get some symbols from it and ... use it to
> > request the drm device sent you vsync events so you can use the vsync
> > interrupt as your frame event. this will be another fd to listen on in
> > select() and of course you can turn this vblank event stream on and off.
> 
> Please don't. Talk to the X server instead.

and what vsync events does the xserver provide? 

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
Carsten Haitzler - raster at rasterman.com



More information about the xorg-devel mailing list