[Xcb] XCBImage

Keith Packard keithp at keithp.com
Mon Feb 28 13:05:48 PST 2005


Around 12 o'clock on Feb 28, Jamey Sharp wrote:

> I was much more excited about putting convenience functions for MIT-SHM in
> XCB when I thought that Xlib was doing something similar.

Xlib can't replace XPutImage with SHM equivalents.  The performance 
benefit arises entirely from avoiding copies.  You can't take an arbitrary 
image and convert it to a shared memory buffer, and creating a shm segment 
through which the data are copied doesn't really buy you a whole lot.

-keith


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/xcb/attachments/20050228/5e850df3/attachment.pgp


More information about the xcb mailing list