W3C home > Mailing lists > Public > www-style@w3.org > March 2010

Re: Fw: [css3-background] border-radius color transitions using gradients (recommended but undefined)

From: François REMY <fremycompany_pub@yahoo.fr>
Date: Sat, 20 Mar 2010 11:28:08 +0100
Message-ID: <9C886C93694C465E9E14D404FE8281E7@Fremy1>
To: <robert@ocallahan.org>
Cc: "Sylvain Galineau" <sylvaing@microsoft.com>, "CSS 3 W3C Group" <www-style@w3.org>, "fantasai" <fantasai.lists@inkedblade.net>, "Tab Atkins Jr." <jackalmage@gmail.com>, "Daniel Glazman" <daniel.glazman@disruptive-innovations.com>
Well, it's probably possible to implement conic gradients using GPU shader.
But it's not possible at all to perform such things on small devices like phones.
Or is it ? [Maybe the Opera-Mobile team's feedback could help us here]

Having a linear-based solution would allow simple CPU emulation for those
devices, while conic gradients seem more complex. Aditionnly, linear gradients 
are very simple and works pretty good, so I don't see why we should add more
complexity here (except if you have a particular sample where a linear gradient
would render badly).

>From a web author point of view, gradient is desirable, but we don't care about
how it's rendered (what only matters is that it's (nearly) the same rendering 
across all platforms and it's doesn't slow down our page rendering too much).

François


From: Robert O'Callahan 
Sent: Saturday, March 20, 2010 10:58 AM
To: François REMY 
Cc: Sylvain Galineau ; CSS 3 W3C Group ; fantasai ; Tab Atkins Jr. ; Daniel Glazman 
Subject: Re: Fw: [css3-background] border-radius color transitions using gradients (recommended but undefined)


Can you explain why conic gradients are hard to implement using GPU shader programs?

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities; the punishment that brought us peace was upon him, and by his wounds we are healed. We all, like sheep, have gone astray, each of us has turned to his own way; and the LORD has laid on him the iniquity of us all." [Isaiah 53:5-6]
Received on Saturday, 20 March 2010 10:28:47 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:25 GMT