DescriptionFix crash in skia graphics context teardown after gpu context loss
GrContextForWebGraphicsContext3D::OnLostContext() was
calling GrContext::contextLost() which has the wrong
behavior: it assumes that the gpu context is still valid
but that all of its resources have been lost, so it
attempts to reinitialize resources that are used internally
by skia. The correct action is to call
GrContext::contextDestroyed(), which signals that the gpu
context is no longer usable.
BUG=361555
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=263056
Patch Set 1 #
Messages
Total messages: 6 (0 generated)
|