gpu: Detect consecutive surface initialization failures on Android.
If we fail to initialize the GLSurface associated with an ANativeWindow the error is propagated to the browser so we can retry with a new window. Add tracking to detect consecutive failures with this retry to avoid a perpetual retry loop. R=boliu@chromium.org, ericrk@chromium.org Bug: 972667 Change-Id: Ieaf0a7c7454f12ffbfa068e7c17c452857776ffd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1654233 Commit-Queue: Khushal <khushalsagar@chromium.org> Auto-Submit: Khushal <khushalsagar@chromium.org> Reviewed-by:Bo <boliu@chromium.org> Reviewed-by:
Eric Karl <ericrk@chromium.org> Reviewed-by:
Tom Sepez <tsepez@chromium.org> Cr-Commit-Position: refs/heads/master@{#668479}
Showing
Please register or sign in to comment