diff options
| author | 2018-11-10 10:19:11 +0000 | |
|---|---|---|
| committer | 2018-11-10 10:19:11 +0000 | |
| commit | c467ceef4290ddd5c834338d6a5e8348ff453484 (patch) | |
| tree | d8fda789387db16b1c01b998e5b4080a7d7590bd | |
| parent | 162b7a873c7f529ccc1a9916c1bf87adaf5097d1 (diff) | |
| parent | db444a956ba3be90c626dfec9ff34191c09fe3c2 (diff) | |
Merge "Disable ANGLE rules file checking"
| -rw-r--r-- | opengl/libs/EGL/Loader.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/opengl/libs/EGL/Loader.cpp b/opengl/libs/EGL/Loader.cpp index 0c43b83fa6..e27f23310e 100644 --- a/opengl/libs/EGL/Loader.cpp +++ b/opengl/libs/EGL/Loader.cpp @@ -584,7 +584,13 @@ static void* load_angle(const char* kind, android_namespace_t* ns, egl_connectio // The "Developer Options" value wasn't set to force the use of ANGLE. Need to temporarily // load ANGLE and call the updatable opt-in/out logic: - cnx->featureSo = load_angle_from_namespace("feature_support", ns); + // Check if ANGLE is enabled. Workaround for several bugs: + // b/119305693 b/119322355 b/119305887 + // Something is not working correctly in the feature library + property_get("debug.angle.enable", prop, "0"); + if (atoi(prop)) { + cnx->featureSo = load_angle_from_namespace("feature_support", ns); + } if (cnx->featureSo) { ALOGV("loaded ANGLE's opt-in/out logic from namespace"); use_angle = check_angle_rules(cnx->featureSo, app_name); |