[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] using the same context with multiple canvases

On Tue, Dec 18, 2012 at 8:04 AM, Ian Hickson <ian@hixie.ch> 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.