Re: [whatwg] Support filters in Canvas

2016-02-26 Thread Ian Kilpatrick
Having an opaque handle (CanvasFilter) would be great for Houdini paint. This would mean that when we plumb in a property of CSS type the TypedOM can have an opaque handle to that filter. I.e. registerPaint('x', class { paint(ctx, styleMap) { const filter =

Re: [whatwg] Support filters in Canvas

2016-02-26 Thread Justin Novosad
On Fri, Feb 26, 2016 at 10:40 AM, Anne van Kesteren wrote: > On Fri, Feb 26, 2016 at 4:34 PM, Ali Juma wrote: > > The current canvas filters proposal [1] allows using SVG reference > filters > > defined in external documents (e.g. “url(file.svg#filter)”).

Re: [whatwg] Support filters in Canvas

2016-02-26 Thread Domenic Denicola
From: whatwg [mailto:whatwg-boun...@lists.whatwg.org] On Behalf Of Anne van Kesteren > Perhaps we could support assigning an SVG filter directly (as an object)? > Developers would be responsible to load them if they're external. Adding yet > another network API that's a thin layer on top of

Re: [whatwg] Support filters in Canvas

2016-02-26 Thread Anne van Kesteren
On Fri, Feb 26, 2016 at 4:34 PM, Ali Juma wrote: > The current canvas filters proposal [1] allows using SVG reference filters > defined in external documents (e.g. “url(file.svg#filter)”). Since the > external document needs to be loaded before the filter can be applied, >

Re: [whatwg] Support filters in Canvas

2016-02-26 Thread Ali Juma
The current canvas filters proposal [1] allows using SVG reference filters defined in external documents (e.g. “url(file.svg#filter)”). Since the external document needs to be loaded before the filter can be applied, there’s a delay between setting the context’s filter attribute to such a filter

Re: [whatwg] Support filters in Canvas

2014-10-01 Thread Mark Callow
On 30/09/2014 02:20, Markus Stange wrote: Hi, I'd like to revive this discussion. On Sat, Mar 15, 2014 at 12:03 AM, Dirk Schulze dschu...@adobe.com wrote: I would suggest a filter attribute that takes a list of filter operations similar to the CSS Image filter function[1]. Similar to

Re: [whatwg] Support filters in Canvas

2014-10-01 Thread Dirk Schulze
On Oct 1, 2014, at 12:28 PM, Mark Callow callow.m...@artspark.co.jp wrote: On 30/09/2014 02:20, Markus Stange wrote: Hi, I'd like to revive this discussion. On Sat, Mar 15, 2014 at 12:03 AM, Dirk Schulze dschu...@adobe.com wrote: I would suggest a filter attribute that takes a

Re: [whatwg] Support filters in Canvas

2014-09-30 Thread Dirk Schulze
On Sep 30, 2014, at 6:45 AM, Rik Cabanier caban...@gmail.com wrote: On Mon, Sep 29, 2014 at 8:52 PM, Robert O'Callahan rob...@ocallahan.org wrote: On Mon, Sep 29, 2014 at 2:12 PM, Rik Cabanier caban...@gmail.com wrote: Can we limit it to just the set of CSS filter shorthands for now? I

Re: [whatwg] Support filters in Canvas

2014-09-30 Thread Robert O'Callahan
On Tue, Sep 30, 2014 at 12:45 AM, Rik Cabanier caban...@gmail.com wrote: Are you proposing that this is developed as a separate spec and not as an addition to the canvas specification? No, not really. I want to make sure that we have a pathway to standardize SVG filter support in canvas. If

Re: [whatwg] Support filters in Canvas

2014-09-29 Thread Dirk Schulze
Hi Markus, Thanks for coming back with you implementation details. I think most of the suggestions make sense overall but I’ll look at them in more detail, especially regarding filter regions. Just a question to SVG filter references inline for now. On Sep 29, 2014, at 7:20 PM, Markus Stange

Re: [whatwg] Support filters in Canvas

2014-09-29 Thread Rik Cabanier
On Mon, Sep 29, 2014 at 10:20 AM, Markus Stange msta...@themasta.com wrote: Hi, I'd like to revive this discussion. On Sat, Mar 15, 2014 at 12:03 AM, Dirk Schulze dschu...@adobe.com wrote: I would suggest a filter attribute that takes a list of filter operations similar to the CSS Image

Re: [whatwg] Support filters in Canvas

2014-09-29 Thread Markus Stange
On Mon, Sep 29, 2014 at 8:09 PM, Dirk Schulze dschu...@adobe.com wrote: On Sep 29, 2014, at 7:20 PM, Markus Stange msta...@themasta.com wrote: - For a feImage primitive, if the required image hasn't finished loading at the time of drawing, this feImage primitive renders transparent black. I

Re: [whatwg] Support filters in Canvas

2014-09-29 Thread Markus Stange
On Mon, Sep 29, 2014 at 8:12 PM, Rik Cabanier caban...@gmail.com wrote: On Mon, Sep 29, 2014 at 10:20 AM, Markus Stange msta...@themasta.com wrote: Hi, I'd like to revive this discussion. On Sat, Mar 15, 2014 at 12:03 AM, Dirk Schulze dschu...@adobe.com wrote: I would suggest a filter

Re: [whatwg] Support filters in Canvas

2014-09-29 Thread Robert O'Callahan
On Mon, Sep 29, 2014 at 2:12 PM, Rik Cabanier caban...@gmail.com wrote: Can we limit it to just the set of CSS filter shorthands for now? I think other UA's are further behind in their implementation of integrating SVG filters in their rendering pipeline. How about we put CSS + SVG filters

Re: [whatwg] Support filters in Canvas

2014-09-29 Thread Rik Cabanier
On Mon, Sep 29, 2014 at 8:52 PM, Robert O'Callahan rob...@ocallahan.org wrote: On Mon, Sep 29, 2014 at 2:12 PM, Rik Cabanier caban...@gmail.com wrote: Can we limit it to just the set of CSS filter shorthands for now? I think other UA's are further behind in their implementation of

Re: [whatwg] Support filters in Canvas

2014-03-19 Thread Rik Cabanier
On Sat, Mar 15, 2014 at 12:03 AM, Dirk Schulze dschu...@adobe.com wrote: Hi, Apologize if it was already discussed but I couldn't find a mail to this topic. Yes, this was brought up a couple of times. Last exchange was in Sept of 2012 (!):