Commit 010d0755 authored by Geoff Lang's avatar Geoff Lang Committed by Commit Bot

Don't request ANGLE desktop OpenGL on Android.

BUG=882580

Change-Id: I1a065f608bdd709e74b4bbe83eb744bea5fcc9d2
Reviewed-on: https://chromium-review.googlesource.com/c/1302095Reviewed-by: default avatarKenneth Russell <kbr@chromium.org>
Commit-Queue: Geoff Lang <geofflang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#603172}
parent e2a95639
...@@ -598,8 +598,13 @@ void GetEGLInitDisplays(bool supports_angle_d3d, ...@@ -598,8 +598,13 @@ void GetEGLInitDisplays(bool supports_angle_d3d,
if (supports_angle_opengl) { if (supports_angle_opengl) {
if (use_angle_default && !supports_angle_d3d) { if (use_angle_default && !supports_angle_d3d) {
#if defined(OS_ANDROID)
// Don't request desktopGL on android
AddInitDisplay(init_displays, ANGLE_OPENGLES);
#else
AddInitDisplay(init_displays, ANGLE_OPENGL); AddInitDisplay(init_displays, ANGLE_OPENGL);
AddInitDisplay(init_displays, ANGLE_OPENGLES); AddInitDisplay(init_displays, ANGLE_OPENGLES);
#endif
} else { } else {
if (requested_renderer == kANGLEImplementationOpenGLName) { if (requested_renderer == kANGLEImplementationOpenGLName) {
AddInitDisplay(init_displays, ANGLE_OPENGL); AddInitDisplay(init_displays, ANGLE_OPENGL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment