[cairo] Does Cairo have software-surfaces?

Linuxhippy linuxhippy at web.de
Mon Mar 28 13:00:45 PST 2005


Hello again and thanks for the fast reply!

> To get "surfaces in system-memory", you'll want a cairo image surface,
>
>so see cairo_set_target_image or cairo_image_surface_create_for_data.
>Those calls allow you to draw to data which exists in your own address
>space so that you can do anything you'd like with the contents.
>
>As for surfaces that "act like any other surface" and where "all
>drawing methods are possible", those statements should apply to any of
>the cairo surface types.
>  
>
Thanks - sounds exactly what I was searching for!

>But, for now, all drawing
>operations for image surfaces are all-software.
>
So if someone is interrested in writing it there could be also X11 
accerlated pixmaps or even pbuffer/ext_framebuffers based image-surfaces?

> And then, that
>software is not fully optimized yet, but much of what is needed there
>is understood and being worked on, (though more volunteer help would
>always be appreciated).
>
Are there plans to include assembler drop-in replacements if a volunteer 
writes it?
It would be nearly free, and if a volunteer is not willed to keep it 
up-to-date you could remove it withouth any problems.

Thanks your your help, lg Clemens




More information about the cairo mailing list