3 ms·
There is nothing in Xlib (that I'm aware of) that has a notion of complete frames - i.e. no buffer swap, no "frame complete" signal. How would the server know w
by jstimpfle 7y ago
There is nothing in Xlib (that I'm aware of) that has a notion of complete frames - i.e. no buffer swap, no "frame complete" signal. How would the server know when a frame is complete then?
- jandrese 7y agoIsn't this the point of the XDB extension that everybody has?
- jstimpfle 7y agoNever heard of that, I don't think it's commonly used.
- pengaru 7y agoThe XDBE [0] extension attempted to add this, but I don't think anything actually implements it. (see edit) I tried using it over a decade ago on XOrg and it didn't seem to do anything useful... [0] https://www.x.org/releases/X11R7.6/doc/libXext/dbelib.html https://www.x.org/releases/X11R7.6/doc/libXext/dbelib.html Edit: It's definitely there in the Xorg xserver [1]. My memory is fuzzy as it was a long time ago but I distinctly remember wasting a day trying to use this extension and becoming frustrated with its ineffectiveness. Maybe it was just for lack of any vsync mechanism to schedule the swap? [1] https://gitlab.freedesktop.org/xorg/xserver/-/tree/master/dbe https://gitlab.freedesktop.org/xorg/xserver/-/tree/master/db...