DescriptionModified samples to test whether ANGLE can recover from a lost context.
When eglGetError returns EGL_CONTEXT_LOST, the samples now attempt to create a new EGL context and reinitialize. I haven't been able to test whether the reinitialization path works yet because ANGLE fails to make the new context current, I think because it doesn't reset the D3D device and its still in a lost state. I want to check this in though because it is a useful way of testing context lost recovery.
I also made the samples return an error code when they fail.
Patch Set 1 #
Total comments: 4
Patch Set 2 : '' #MessagesTotal messages: 3
|