[cairo] copy data to a 565 xlib surface

zaheer ahmad zaheer.mot at gmail.com
Sun Feb 21 23:11:14 PST 2010

hi all,

I have a plugin which provides data in native xlib format (565) and i would
need to draw that on my target application window using cairo. Also for
performance i would like to to avoid 8888<->565 conversions. Referring to
the email exchange
http://www.mail-archive.com/devel@laptop.org/msg03872.html, i would need to
use a native xlib surface for this. however what i could not find is an api
that would give me data handle from this xlib surface or an api that can set
the data on this surface. Please let me know how i can do this..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20100222/d90c8ce7/attachment.htm>

More information about the cairo mailing list