[webkit-dev] Adding blending mode to WebKit canvas
Rik Cabanier
cabanier at gmail.com
Sun Nov 11 18:59:29 PST 2012
On Sun, Nov 11, 2012 at 5:25 PM, Dirk Schulze <dschulze at adobe.com> wrote:
>
> On Nov 9, 2012, at 4:39 PM, Rik Cabanier <cabanier at gmail.com> 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 by a meta bug:
> https://bugs.webkit.org/show_bug.cgi?id=100069
> > I also attached a large patch that shows how this feature can be
> implemented.
>
> Looking at your patches on bug 100069 and bug 101804, I actually have some
> questions. If I understand your API changes correctly, the
> 'globalCompositeOperation' property gets more keywords. The new keywords
> will be the same as for the 'blend-mode' property of the CSS Compositing
> spec. Does it mean that blend mode always will use the compositing operator
> 'source-over'?
>
Correct.
More information about the webkit-dev
mailing list