[webkit-dev] Abstracting the canvas

Alp Toker alp at atoker.com
Wed Jan 23 03:25:33 PST 2008


Oliver has proposed the first move in abstracting WebKit's canvas 
implementation as part of his putImageData patch:

   http://bugs.webkit.org/show_bug.cgi?id=16954

The strategy involves splitting functions out into 
CanvasRenderingContext2DCG, CanvasRenderingContext2DCairo, and possibly 
moving other parts into the respective GraphicsContext platform 
implementations.

I know others have also considered abstracting the canvas but no other 
approaches have yet been proposed, so I thought I'd give a heads up on 
the list.

If you're planning a different way to split canvas, now is a good time 
to propose it -- silence is acceptance.


More information about the webkit-dev mailing list