Re: [webkit-dev] Adding blending mode to WebKit canvas

2012-11-14 Thread Rik Cabanier
On Wed, Nov 14, 2012 at 5:55 PM, Maciej Stachowiak wrote: > > On Nov 14, 2012, at 5:19 PM, Rik Cabanier wrote: > > > > I send the question to the fx list. > Tab Atkins brought up that we could extend the 'globalCompositeOperator' > so it also takes a comma separate list of a blend and a composit

Re: [webkit-dev] Adding blending mode to WebKit canvas

2012-11-14 Thread Maciej Stachowiak
On Nov 14, 2012, at 5:19 PM, Rik Cabanier wrote: > > > I send the question to the fx list. > Tab Atkins brought up that we could extend the 'globalCompositeOperator' so > it also takes a comma separate list of a blend and a compositing operation. > > Calling: > mycontext.globalCompositeOpera

Re: [webkit-dev] Adding blending mode to WebKit canvas

2012-11-14 Thread Rik Cabanier
On Wed, Nov 14, 2012 at 1:37 PM, Maciej Stachowiak wrote: > > On Nov 14, 2012, at 8:33 AM, Rik Cabanier wrote: > > > > On Tue, Nov 13, 2012 at 11:19 PM, Maciej Stachowiak wrote: > >> >> On Nov 13, 2012, at 4:43 PM, Rik Cabanier wrote: >> >> Maciej, >> >> did this sound reasonable to you? >> >>

Re: [webkit-dev] Adding blending mode to WebKit canvas

2012-11-14 Thread Maciej Stachowiak
On Nov 14, 2012, at 8:33 AM, Rik Cabanier wrote: > > > On Tue, Nov 13, 2012 at 11:19 PM, Maciej Stachowiak wrote: > > On Nov 13, 2012, at 4:43 PM, Rik Cabanier wrote: > >> Maciej, >> >> did this sound reasonable to you? > > Still doesn't make sense to me. Even if we don't implement CSS

Re: [webkit-dev] Adding blending mode to WebKit canvas

2012-11-14 Thread Rik Cabanier
On Tue, Nov 13, 2012 at 11:19 PM, Maciej Stachowiak wrote: > > On Nov 13, 2012, at 4:43 PM, Rik Cabanier wrote: > > Maciej, > > did this sound reasonable to you? > > > Still doesn't make sense to me. Even if we don't implement CSS > 'alpha-compositing' and 'blend-mode' today, I assume we will wa

Re: [webkit-dev] Adding blending mode to WebKit canvas

2012-11-13 Thread Maciej Stachowiak
On Nov 13, 2012, at 4:43 PM, Rik Cabanier wrote: > Maciej, > > did this sound reasonable to you? Still doesn't make sense to me. Even if we don't implement CSS 'alpha-compositing' and 'blend-mode' today, I assume we will want to implement them eventually. At that point we will want them cons

Re: [webkit-dev] Adding blending mode to WebKit canvas

2012-11-13 Thread Rik Cabanier
Maciej, did this sound reasonable to you? Would you object if Canvas combines blending and compositing but not CSS? Rik On Mon, Nov 12, 2012 at 3:46 PM, Rik Cabanier wrote: > > > On Mon, Nov 12, 2012 at 12:14 PM, Maciej Stachowiak wrote: > >> >> On Nov 11, 2012, at 9:06 PM, Rik Cabanier wrot

Re: [webkit-dev] Adding blending mode to WebKit canvas

2012-11-12 Thread Rik Cabanier
On Mon, Nov 12, 2012 at 12:14 PM, Maciej Stachowiak wrote: > > On Nov 11, 2012, at 9:06 PM, Rik Cabanier wrote: > > > > On Sun, Nov 11, 2012 at 8:43 PM, Maciej Stachowiak wrote: > >> >> On Nov 11, 2012, at 6:59 PM, Rik Cabanier wrote: >> >> >> >> >>> >>> Wouldn't it be better to add a new prop

Re: [webkit-dev] Adding blending mode to WebKit canvas

2012-11-12 Thread Rik Cabanier
On Mon, Nov 12, 2012 at 12:07 PM, Ilyes Gouta wrote: > Hi, > > On Nov 12, 2012 4:39 PM, "Dirk Schulze" wrote: > > > > > > On Nov 11, 2012, at 10:09 PM, "Rik Cabanier" wrote: > > > >> > >> > >> On Sun, Nov 11, 2012 at 9:52 PM, Dirk Schulze wrote: > >>> > >>> > >>> > >>> On Sunday, November 11,

Re: [webkit-dev] Adding blending mode to WebKit canvas

2012-11-12 Thread Maciej Stachowiak
On Nov 11, 2012, at 9:06 PM, Rik Cabanier wrote: > > > On Sun, Nov 11, 2012 at 8:43 PM, Maciej Stachowiak wrote: > > On Nov 11, 2012, at 6:59 PM, Rik Cabanier wrote: > >> >> >> >> Wouldn't it be better to add a new property to canvas for blending? At the >> beginning, implementations

Re: [webkit-dev] Adding blending mode to WebKit canvas

2012-11-12 Thread Ilyes Gouta
Hi, On Nov 12, 2012 4:39 PM, "Dirk Schulze" wrote: > > > On Nov 11, 2012, at 10:09 PM, "Rik Cabanier" wrote: > >> >> >> On Sun, Nov 11, 2012 at 9:52 PM, Dirk Schulze wrote: >>> >>> >>> >>> On Sunday, November 11, 2012, Rik Cabanier wrote: On Sun, Nov 11, 2012 at 8:43 PM, Mac

Re: [webkit-dev] Adding blending mode to WebKit canvas

2012-11-12 Thread Dirk Schulze
On Nov 11, 2012, at 10:09 PM, "Rik Cabanier" mailto:caban...@gmail.com>> wrote: On Sun, Nov 11, 2012 at 9:52 PM, Dirk Schulze mailto:k...@webkit.org>> wrote: On Sunday, November 11, 2012, Rik Cabanier wrote: On Sun, Nov 11, 2012 at 8:43 PM, Maciej Stachowiak wrote: On Nov 11, 2012, at 6

Re: [webkit-dev] Adding blending mode to WebKit canvas

2012-11-11 Thread Rik Cabanier
On Sun, Nov 11, 2012 at 9:52 PM, Dirk Schulze wrote: > > > On Sunday, November 11, 2012, Rik Cabanier wrote: > >> >> >> On Sun, Nov 11, 2012 at 8:43 PM, Maciej Stachowiak wrote: >> >>> >>> On Nov 11, 2012, at 6:59 PM, Rik Cabanier wrote: >>> >>> >>> >>> Wouldn't it be better to add a

Re: [webkit-dev] Adding blending mode to WebKit canvas

2012-11-11 Thread Dirk Schulze
On Sunday, November 11, 2012, Rik Cabanier wrote: > > > On Sun, Nov 11, 2012 at 8:43 PM, Maciej Stachowiak > > > wrote: > >> >> On Nov 11, 2012, at 6:59 PM, Rik Cabanier >> > >> wrote: >> >> >> >> >>> >>> Wouldn't it be better to add a new property to canvas for blending? At >>> the beginning,

Re: [webkit-dev] Adding blending mode to WebKit canvas

2012-11-11 Thread Rik Cabanier
On Sun, Nov 11, 2012 at 8:43 PM, Maciej Stachowiak wrote: > > On Nov 11, 2012, at 6:59 PM, Rik Cabanier wrote: > > > > >> >> Wouldn't it be better to add a new property to canvas for blending? At >> the beginning, implementations are just require to use different blend >> modes in combination wi

Re: [webkit-dev] Adding blending mode to WebKit canvas

2012-11-11 Thread Maciej Stachowiak
On Nov 11, 2012, at 6:59 PM, Rik Cabanier wrote: > > > > Wouldn't it be better to add a new property to canvas for blending? At the > beginning, implementations are just require to use different blend modes in > combination with 'source-over'. > > That could work too. > There was a maili

Re: [webkit-dev] Adding blending mode to WebKit canvas

2012-11-11 Thread Rik Cabanier
On Sun, Nov 11, 2012 at 5:25 PM, Dirk Schulze wrote: > > On Nov 9, 2012, at 4:39 PM, Rik Cabanier wrote: > > > Hi, > > > > I'd like to add support for blending modes to Canvas. > > The spec for this feature can be found here: > https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html#canva

Re: [webkit-dev] Adding blending mode to WebKit canvas

2012-11-11 Thread Dirk Schulze
On Nov 9, 2012, at 4:39 PM, Rik Cabanier wrote: > Hi, > > I'd like to add support for blending modes to Canvas. > The spec for this feature can be found here: > https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html#canvascompositingandblending > > The implementation will be tracked b

[webkit-dev] Adding blending mode to WebKit canvas

2012-11-09 Thread Rik Cabanier
Hi, I'd like to add support for blending modes to Canvas. The spec for this feature can be found here: https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html#canvascompositingandblending The implementation will be tracked by a meta bug: https://bugs.webkit.org/show_bug.cgi?id=100069 I als