angler-fishThe Vulnerability History Project

Use GLVersionInfo instead of gl::GetGLImplementation() to decide GL paths

      This is more consistent overall, GetGLImplementation() doesn't tell exactly
whether we're using the core profile, or which version of ES etc.
It also helps testing & fuzzing, because mocks/stubs may implement ES2 but don't
report kGLImplementationEGLGLES2, causing inconsistencies.

BUG=None
CQ_INCLUDE_TRYBOTS=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

Review-Url: https://codereview.chromium.org/2170293002
Cr-Commit-Position: refs/heads/master@{#407276}
    
commit 9b0c43932354d90f3d5e4882695f442bbbb4708c
+2 -2
+13 -10
+62 -53
+2
+1
+4
+2
+7 -3
+8 -2
-10
-12
+1 -1
+1 -1
+2 -2
+1 -1
+2 -2
+3 -4
+3 -1
expand_less