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

Re: [Public WebGL] appropriate context loss response

Yes, but what I mean is, how do you know it's a bug and not a feature? Afaik it's not specified that this isn't an appropriate response to a context loss...

On Wed, Nov 11, 2015 at 6:10 PM, Dean Jackson <dino@apple.com> wrote:

> On Nov 7, 2015, at 3:43 AM, Florian Bösch <pyalot@gmail.com> wrote:
> I've noticed that on iOS if there's a context loss (due to memory overstep or whatever), no context loss event is issued and instead the browser auto-reloads the page which leads to another context loss.

This could be because we detected a GPU issue from which we could not recover gracefully, so we killed the process (which caused the page to be reloaded). Another way to say that is that this behaviour is a bug in iOS that we'll try to fix.


> I don't think the behavior for context loss is specified, just that it's possible to issue a context loss event.
> Should we specify the browser behavior in the WebGL specification so that a context loss behaves the same on all platforms and the page isn't uselessly reloaded?