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

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



I guess one question is what is the pre-existing content of the drawing buffer when you switch to back to a canvas (and preserveDrawingBuffer=true)? Is it the same as what it was when you switched away from that canvas previously, the current contents of the drawing buffer (nothing changes), 0s, or something else?


On Sat, Nov 10, 2012 at 9:55 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:

On 11/10/12 9:26 AM, Gregg Tavares (社用) wrote:
No, the parameters are for the canvas's backing store, not the context

Ah, hmm.  So an interesting question is whether the backing store is associtated with the _canvas_ or with the _context_.  I believe in Gecko it's the latter at the moment, for both 2d and webgl contexts.


-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
-----------------------------------------------------------