Get raw data of Xrender Picture structure

Peter Harris peter.harris at hummingbird.com
Mon Dec 8 14:47:02 PST 2008


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.

Peter Harris
-- 
     Hummingbird Connectivity - A Division of Open Text
Peter Harris                    http://connectivity.hummingbird.com
Research and Development        Phone: +1 905 762 6001
peter.harris at hummingbird.com    Toll Free: 1 877 359 4866



More information about the xorg mailing list