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

Re: [Public WebGL] OT: exception handling





On Fri, Apr 6, 2012 at 11:31 PM, Gregg Tavares (勤) <gman@google.com> wrote:
All of these implement what I'd term the "reset pattern". Basically: contextLost -> restart everything. That's one of the easier things to do and it works really great for things that do virtually nothing in terms of state and interactivity.

Notably, the one example where this would've been interesting to see: http://webglsamples.googlecode.com/hg/collectibles/index.html doesn't actually handle context-lost. It's commented out.