<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 18, 2015 at 2:24 PM, adlo <span dir="ltr"><<a href="mailto:adloconwy@gmail.com" target="_blank">adloconwy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> On 18 Aug 2015, at 19:13, Uli Schlachter <<a href="mailto:psychon@znc.in">psychon@znc.in</a>> wrote:<br>
><br>
> Why do you want to use a picture instead of directly using the drawable?<br>
<br>
</span>I am writing a GTK2 program that gets previews/screenshots of all open windows. My program scales the previews and puts them in GtkImages.<br>
<br>
CAIRO_FILTER_FAST gives rather low-quality results, but CAIRO_FILTER_GOOD is rather slow.<br>
<br>
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.<br></blockquote><div><br></div><div>Unfortunatly XRender is going to give the the exact same results as CAIRO_FILTER_FAST.<br><br> <br></div></div></div></div>