Created attachment 19129 [details]
All the test-case attached does is uploading 32x32x8 bit images (1kb) and do a composite operation with the data used as mask.
I was testing the advantage of using SHM and using SHM is over 2x faster using the XCB based Xlib than XPutImage.
Here are my findings:
Xcb-Xlib/Put: 180ms (!)
I was using the xlib-binaries distributed by Fedora, Xlib was Fedora7, and Xcb-Xlib was on Fedora9, so please take the results with a grain of salt.
I also don't know wether Fedora maybe hand-tuned the Xlib-Buffer size in Fedora7.
as far as I can remember, the difference was mostly caused by the different buffer sizes. I'll test it soon so see if there's still a difference...
(In reply to comment #1)
> as far as I can remember, the difference was mostly caused by the different
> buffer sizes. I'll test it soon so see if there's still a difference...
re-tested and there is no regression compared to "classic" xlib.
So this bug is fixed - Thanks :)
Closing as fixed.
on Mar 29, 2017 at 11:10:36.
(provided by the Example extension).