Handle context loss + gpu:buffer creation failure in Discardable system
If we lose our context (or potentially in rare OOM cases), gpu::buffer allocation can fail. In these cases the discardable system shouldn't crash, but should fail gracefully. Bug: 762645 Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Change-Id: I9d56536fd21893689ef993a68ee2a5639947e612 Reviewed-on: https://chromium-review.googlesource.com/782647Reviewed-by:Antoine Labour <piman@chromium.org> Reviewed-by:
Zhenyao Mo <zmo@chromium.org> Commit-Queue: Eric Karl <ericrk@chromium.org> Cr-Commit-Position: refs/heads/master@{#519763}
Showing
Please register or sign in to comment