Create 2 drawing areas in HTML5, webgl and canvas

The idea with this is create one a main drawing area for accelerated graphics and use the canvas to draw text. I wonder whether it’s possible do it with OpenFL.

Depending on whether you use DOM, canvas or WebGL “mode”, the behavior will be a bit different, but certain things (such as BitmapData) will always be a canvas in this case.

I hope to keep seeing improvements to the new GL renderer so that we can enable WebGL by default for HTML5. Since text works in canvas and in DOM (and now in GL for native with the same GL renderer) I’m sure it will be possible to close the gap on text support with -Dwebgl :slight_smile: