summaryrefslogtreecommitdiff
path: root/opengl
diff options
context:
space:
mode:
author Tim Van Patten <timvp@google.com> 2025-03-06 15:20:35 -0700
committer Tim Van Patten <timvp@google.com> 2025-03-06 15:20:35 -0700
commit473ebe724f2c4981b86f72907c7ba072647a0e4b (patch)
treed0a24da49560278a2667745565bdb8a2054629d2 /opengl
parent1bd65bd06b4951309508a8029a8b3acbfd5d7188 (diff)
Move flag feature_overrides to namespace "gpu"
Move the aconfig feature flag "feature_overrides" from the "core_graphics" namespace to "gpu". Note: This necessitates a new flag name as well: go/aconfig-namespace#aconfig-namespaces-2 > Once a flag's declaration is merged, its namespace cannot be changed. > If you've assigned the incorrect namespace, rename the flag and assign > the correct namespace in the same change. Due to this, the name is being changed to "angle_feature_overrides". Old: com.android.graphics.graphicsenv.flags.feature_overrides New: com.android.graphics.graphicsenv.flags.angle_feature_overrides Bug: 372694741 Test: aflags list | grep angle_feature_overrides Test: aflags enable com.android.graphics.graphicsenv.flags.angle_feature_overrides Flag: com.android.graphics.graphicsenv.flags.angle_feature_overrides Change-Id: Idc859b76b846901e1e763c4a994c98d050b2b4b9
Diffstat (limited to 'opengl')
-rw-r--r--opengl/libs/EGL/egl_display.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/libs/EGL/egl_display.cpp b/opengl/libs/EGL/egl_display.cpp
index 0dd9f198e5..efc34f6aa8 100644
--- a/opengl/libs/EGL/egl_display.cpp
+++ b/opengl/libs/EGL/egl_display.cpp
@@ -146,7 +146,7 @@ static EGLDisplay getPlatformDisplayAngle(EGLNativeDisplayType display, egl_conn
}
}
- if (graphicsenv_flags::feature_overrides()) {
+ if (graphicsenv_flags::angle_feature_overrides()) {
// Get the list of ANGLE features to enable from Global.Settings.
const auto& eglFeatures = GraphicsEnv::getInstance().getAngleEglFeatures();
for (const std::string& eglFeature : eglFeatures) {