[whatwg] Canvas tag - single or multiple contexts?

2009-12-21 Thread Gregg Tavares
What is the intent of the getContext function on the canvas tag? Should it be possible to get multiple simultaneous different contexts as in? var ctx2d = canvas.getContext(2d); var ctxText = canvas.getContext(fancy-text-api); var ctxFilter = canvas.getContext(image-filter-api);

Re: [whatwg] Canvas tag - single or multiple contexts?

2009-12-21 Thread Anne van Kesteren
On Mon, 21 Dec 2009 20:50:33 +0100, Gregg Tavares g...@google.com wrote: What is the intent of the getContext function on the canvas tag? Should it be possible to get multiple simultaneous different contexts as in? var ctx2d = canvas.getContext(2d); var ctxText =

Re: [whatwg] Canvas tag - single or multiple contexts?

2009-12-21 Thread Gregg Tavares
On Mon, Dec 21, 2009 at 11:56 AM, Anne van Kesteren ann...@opera.comwrote: On Mon, 21 Dec 2009 20:50:33 +0100, Gregg Tavares g...@google.com wrote: What is the intent of the getContext function on the canvas tag? Should it be possible to get multiple simultaneous different contexts as in?

Re: [whatwg] Canvas tag - single or multiple contexts?

2009-12-21 Thread Anne van Kesteren
On Mon, 21 Dec 2009 21:04:49 +0100, Gregg Tavares g...@google.com wrote: Is disallowing other contexts when certain contexts, eg webgl, okay or is that really an incompatible extension of the canvas tag? I don't think we've really established that one way or another. I filed a bug on this