Reset GLManager so it can be reused with ES2 context
Problem: When the GLVirtualContextsTest tests are run on a device with Open GL ES 2.0, the tests fail during initialization because it tries to re-initialize a GLManager (gl_real_) after failing to initialize as content type ES 3.0. The problem being theat the gl_real_ is now in an inconsistent state and cannot be initialized again. Solution: Reset the GLManager (gl_real_) after failing to be initialized as ES3, so that it can be re-tried as ES2. Bug: None Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Change-Id: Idb0a6947baa80c3135418504e77458171eebe1fa Reviewed-on: https://chromium-review.googlesource.com/999268Reviewed-by:Antoine Labour <piman@chromium.org> Commit-Queue: Antoine Labour <piman@chromium.org> Cr-Commit-Position: refs/heads/master@{#548838}
Showing
Please register or sign in to comment