Track eglMakeCurrent failure in GLContextEGL::ReleaseCurrent
Under lost device conditions, eglMakeCurrent can fail, even when releasing the context. As we otherwise assume that we have correct bindings when GLContext::IsCurrent returns true, we need to track the lost state to ensure that after ReleaseCurrent, IsCurrent will return false. Bug: 928693 Change-Id: I5bbf2616f872532c03da1e1beeade5c94d920b92 Reviewed-on: https://chromium-review.googlesource.com/c/1457675Reviewed-by:Sunny Sachanandani <sunnyps@chromium.org> Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org> Auto-Submit: Antoine Labour <piman@chromium.org> Cr-Commit-Position: refs/heads/master@{#629879}
Showing
Please register or sign in to comment