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

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




On 11/10/12 8:36 AM, Gregg Tavares (社用) wrote:
This doesn't work for WebGL

    var context = new WebGLRenderingContext();
    canvas1.setContext(context)

It's missing the creation attributes for the canvas (alpha? depth?
stencil? anti-alias? preserved? premultiplied?)

Presumably, there would be a dictionary argument to the constructor just like there is to getContext right now, right?


-Boris

-----------------------------------------------------------
You are currently subscribed to public_webgl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email:
unsubscribe public_webgl
-----------------------------------------------------------