Get raw data of Xrender Picture structure
Michael.McDonald at gdc4s.com
Mon Dec 8 16:20:20 PST 2008
> -----Original Message-----
> From: Peter Harris [mailto:peter.harris at hummingbird.com]
> Sent: Monday, December 08, 2008 3:47 PM
> To: McDonald, Michael-p7438c
> Cc: xorg list
> Subject: Re: Get raw data of Xrender Picture structure
> McDonald, Michael-p7438c wrote:
> >> -----Original Message-----
> >> From: xorg-bounces at lists.freedesktop.org
> >> [mailto:xorg-bounces at lists.freedesktop.org] On Behalf Of
> >> Clemens Eisserer
> >> If its a pixmap, you can read it back using XGetImage or its
> >> SHM variation.
> >> However keep in mind this is slow and suboptimal.
> > What's the fast and optimal way?
> Don't read it back. Do your image manipulation entirely on
> the server side.
Works as long as there is only one server side. Otherwise, "slow and
suboptimal" seems to be your only choice.
More information about the xorg