[cairo] [xlib] Use server-side gradients.
Clemens Eisserer
linuxhippy at gmail.com
Tue Aug 18 15:00:10 PDT 2009
I know this is a bit off-topic, but it came recently to my mind:
Wouldn't it be possible to provide half-accelerated linear gradients
by simply rendering the gradient into a temporary 1x? surface, and
using the various repeat modes + the gradient transformation on that
surface?
This way destination surfaces could stay untouched by the CPU, and
there would be no need to change drivers in any way?
- Clemens
2009/8/18 Chris Wilson <chris at chris-wilson.co.uk>:
> On Tue, 2009-08-18 at 11:39 -0700, Carl Worth wrote:
>> This change to NEWS helps a bit, I suppose. But still, let's not skip
>> the mailing list, OK? (Or if I missed a message, I'll just blame my
>> old MUA and you can ignore me.)
>
> My apologies. I considered the risk of this change to be minimum since
> to disable server-side gradients would take just a single line. When I
> pushed the commit I tried to ping the relevant developers and even let
> the Mozilla developers know about the impending performance regression.
> I consider the fact that cairo is hiding gradients from the drivers is
> allowing *their* bugs to stagnant, and as our traces show they are in
> widespread use across the desktop and so deserve acceleration.
>
> However, I forgot to do this in email and so the warnings went amiss.
> -ickle
>
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
>
More information about the cairo
mailing list