[whatwg] Browser support or polyfill for latest Canvas spec additions?

2013-01-15 Thread David Geary
AFAICT, no browsers have yet implemented the modifications to the Canvas spec from March of 2012. Can anyone confirm if that's the case? Any insights into why browser vendors are so slow to catch up to the spec? Also, does anyone know of a capable polyfill that provides those features? I would

Re: [whatwg] Hardware accelerated canvas

2012-09-04 Thread David Geary
On Tue, Sep 4, 2012 at 10:43 AM, Boris Zbarsky bzbar...@mit.edu wrote: On 9/4/12 12:30 PM, James Robinson wrote: Many applications redraw the entire canvas on every frame This is already assuming there are frames involved. There are lots of applications (graphing comes to mind!) where you

Re: [whatwg] Hardware accelerated canvas

2012-09-04 Thread David Geary
On Tue, Sep 4, 2012 at 10:53 AM, Boris Zbarsky bzbar...@mit.edu wrote: On 9/4/12 12:43 PM, Boris Zbarsky wrote: 1) Have a way for pages to opt in to software rendering. 2) Opt canvases in to software rendering via some sort of heuristic (e.g. software by default until there has been

Re: [whatwg] Hardware accelerated canvas

2012-09-04 Thread David Geary
On Tue, Sep 4, 2012 at 11:12 AM, Tab Atkins Jr. jackalm...@gmail.comwrote: On Tue, Sep 4, 2012 at 10:07 AM, David Geary david.mark.ge...@gmail.com wrote: On Tue, Sep 4, 2012 at 10:53 AM, Boris Zbarsky bzbar...@mit.edu wrote: Ms2ger points out (without endorsing) that there's an: 8

Re: [whatwg] Hardware accelerated canvas

2012-09-03 Thread David Geary
On Mon, Sep 3, 2012 at 7:21 AM, Benoit Jacob bja...@mozilla.com wrote: - Original Message - What is really meant here by Canvas GPU acceleration? This means use GL/D3D to implement the 2D canvas drawing primitives; but what really matters here, is that this requires using a GL/D3D

Re: [whatwg] CSS Filter Effects for Canvas 2D Context

2012-08-16 Thread David Geary
It looks like there is general agreement that CSS filters should be added to Canvas. Now how do we make it happen? david On Sun, Jul 29, 2012 at 6:10 AM, Ashley Gullen ash...@scirra.com wrote: Re: beginGroup()/endGroup(): I assume browsers would implement it as an offscreen canvas anyway, so

Re: [whatwg] CSS Filter Effects for Canvas 2D Context

2012-07-26 Thread David Geary
the 2D context is considerably easier and quicker to code for. Agreed. David Ashley Gullen Scirra.com On 25 January 2012 16:26, Tab Atkins Jr. jackalm...@gmail.com wrote: On Wed, Jan 25, 2012 at 6:41 AM, David Geary david.mark.ge...@gmail.com wrote: On Tue, Jan 24, 2012 at 5:22 PM

Re: [whatwg] [canvas] inner shadows

2012-04-26 Thread David Geary
You can specify negative shadow offsets for shadows inside a shape. Is that not good enough? david On Thursday, April 26, 2012, Tyler Larson wrote: Shadows can be applied to the outside of anything. This is a great feature that is otherwise rather difficult to recreate but why not enable

Re: [whatwg] Adding blending to the canvas API

2012-04-13 Thread David Geary
On Fri, Apr 13, 2012 at 11:16 AM, Rik Cabanier caban...@gmail.com wrote: On Fri, Apr 13, 2012 at 2:17 AM, Ashley Gullen ash...@scirra.com wrote: This looks very handy for games as well! Things like 'screen' work very nicely for some effects, especially explosions. Yes, these effects are

Re: [whatwg] CSS Filter Effects for Canvas 2D Context

2012-01-25 Thread David Geary
On Tue, Jan 24, 2012 at 5:22 PM, Chris Marrin cmar...@apple.com wrote: On Jan 24, 2012, at 11:56 AM, Ronald Jett wrote: I think that bringing the new CSS filters ( http://html5-demos.appspot.com/static/css/filters/index.html) to canvas might be a good idea. Some of the new filters,

[whatwg] Should Paths be First Class Citizens?

2011-08-31 Thread David Geary
I’ve implemented some polygon objects for my book that I can drag around in a canvas. I detect mouse clicks in the polygons with the isPointInPath() method. Here’s a simple code snippet that detects mouse clicks in a set of polygons (dnd code is too lengthy for this purpose):

[whatwg] windowToCanvas()

2011-08-31 Thread David Geary
In a previous email titled ‘Should Paths be First Class Citizens’, I briefly discussed this code snippet: context.canvas.onmousedown = function (e) { var loc = windowToCanvas(context.canvas, e); polygons.forEach( function (polygon) { // polygons is an array of polygon objects

[whatwg] Fwd: Should Paths be First Class Citizens?

2011-08-31 Thread David Geary
Forgive me if this shows up twice on the list. I’m new at this, and I believe I sent the original to the wrong address. -- Forwarded message -- From: David Geary david.mark.ge...@gmail.com Date: Wed, Aug 31, 2011 at 11:48 AM Subject: Should Paths be First Class Citizens? To: wha

[whatwg] Fwd: windowToCanvas()

2011-08-31 Thread David Geary
Forgive me if this shows up twice on the list. I’m new at this, and I believe I sent the original to the wrong address. -- Forwarded message -- From: David Geary david.mark.ge...@gmail.com Date: Wed, Aug 31, 2011 at 11:52 AM Subject: windowToCanvas() To: wha...@whatwg.org