Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c15d3826 authored by Cody Northrop's avatar Cody Northrop
Browse files

Revert "Revert "Enable ANGLE-for-Android rule processing again""

This reverts commit 6a5f97c2.

Test: atest CtsAngleIntegrationHostTestCases
Test: atest google/perf/app-startup/hermetic-apps/cold-dropcache-test -v
Bug: 80239516
Bug: 122528316
Change-Id: I093d9b7eb70fb5a210370b60c9d76e1a645cee1c
parent 50a904b9
Loading
Loading
Loading
Loading
+1 −10
Original line number Diff line number Diff line
@@ -284,16 +284,7 @@ void GraphicsEnv::updateUseAngle() {
    } else {
        // 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:

        // Check if ANGLE is enabled. Workaround for several bugs:
        // b/119305693 b/119322355 b/119305887
        // Something is not working correctly in the feature library
        char prop[PROPERTY_VALUE_MAX];
        property_get("debug.angle.enable", prop, "0");
        void* featureSo = nullptr;
        if (atoi(prop)) {
            featureSo = loadLibrary("feature_support");
        }
        void* featureSo = loadLibrary("feature_support");
        if (featureSo) {
            ALOGV("loaded ANGLE's opt-in/out logic from namespace");
            mUseAngle = checkAngleRules(featureSo);