Re: How do I use an XRender Picture as a Cairo surface?

adlo <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
> On 18 Aug 2015, at 19:13, Uli Schlachter <[email protected]> wrote:
> 
> Why do you want to use a picture instead of directly using the drawable?

I am writing a GTK2 program that gets previews/screenshots of all open windows. My program scales the previews and puts them in GtkImages.

CAIRO_FILTER_FAST gives rather low-quality results, but CAIRO_FILTER_GOOD is rather slow.

I wanted to try scaling the previews using XRender in order to find out if it is any better or faster compared to Cairo scaling.

Regards

adlo
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.