[Public WebGL] using the same context with multiple canvases

Florian Bösch [email protected]
Mon Dec 17 23:17:55 PST 2012


On Tue, Dec 18, 2012 at 8:04 AM, Ian Hickson <[email protected]> wrote:

> I really don't understand why, given that you have a scene graph object
> and a place for the scene graph to be rendered to, you feel it's important
> to have a middle-man object.
>
We don't have a scene-graph object.


> I understand that there is a concern that authors will accidentally change
> the settings and that changing the settings used in a particular context/
> canvas pair is expensive. But I don't see how a middleman object would
> help. If an author could accidentally use different settings when binding
> a context to a canvas, why couldn't an author accidentally use a different
> middle man object?
>
It's not a middle-man, it's a drawing buffer. Using a different drawing
buffer is cost free. Creating/changing one isn't.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://khronos.org/pipermail/public_webgl_khronos.org/attachments/20121218/9778954f/attachment.html>


More information about the public_webgl mailing list