[whatwg] CSS Filter Effects for Canvas 2D Context

Boris Zbarsky bzbarsky at MIT.EDU
Wed Jan 25 07:11:04 PST 2012

On 1/25/12 3:41 PM, David Geary wrote:
> On Tue, Jan 24, 2012 at 5:22 PM, Chris Marrin<cmarrin at apple.com>  wrote:
>> You can apply CSS Filters to a Canvas element. Maybe it would be better to
>> put the items you want filtered into a separate canvas element and use CSS
>> Filters on that? The big advantage of doing it that way is that the CSS
>> filters can be animated and hardware accelerated.
> That advantage fixes a problem that shouldn't exist: You shouldn't have to
> choose one technology over another because one is hardware accelerated.
> That's ridiculous.

Indeed.  Especially since what's accelerated and what's not is likely to 
be UA-dependent and not be time-invariant, moving in the direction of 
more and more things being accelerated.


More information about the whatwg mailing list