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.coopersm...@oracle.com Oracle Solaris Engineering - https://blogs.oracle.com/alanc _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel