Composite redraw speedup?
Alan Coopersmith
alan.coopersmith at oracle.com
Wed Feb 12 18:18:21 UTC 2020
On 2/12/20 1:28 AM, Egil Möller wrote:
> However, for every PropertyNotify event, I still do a full round trip
> with XGetWindowProperty, with every XI_RawMotion I do XQueryPointer and
> with every XDamageNotify I do
> XCompositeNameWindowPixmap/glXCreatePixmap/glXBindTexImageEXT... It
> seems to me it's the multiplexing of these three categories that are
> causing problems for me...
You can use the xcb API's to replace XGetWindowProperty & XQueryPointer with
asynchronous calls instead of stalling your drawing pipeline to wait for a
response:
https://www.x.org/wiki/guide/xlib-and-xcb/
https://blogs.oracle.com/solaris/porting-x-apps-to-xcb-v2
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Engineering - https://blogs.oracle.com/alanc
More information about the xorg-devel
mailing list