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

Re: [Public WebGL] Multiple viewports/contexts



On Sep 7, 2010, at 9:57 AM, Vladimir Vukicevic wrote:

> 
> Multiple viewports in the same context is almost certainly the best option.  Multiple contexts will involve memory/resource usage that's a direct multiple of the number of contexts you have, becuase you can't share any GL resources across different WebGL contexts.

I agree. Not only is there the resource issue, but many OpenGL implementations incur a large cost for switching contexts, so the multiple context approach would probably be slower as well.

-----
~Chris
cmarrin@apple.com




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