summaryrefslogtreecommitdiff
path: root/services/gpuservice/GpuService.cpp
diff options
context:
space:
mode:
author Tim Van Patten <timvp@google.com> 2025-03-11 17:30:58 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2025-03-11 17:30:58 -0700
commit89366b4eb895f5752d53e58e2a87bc5be32b4a1d (patch)
tree6e1e3db495d1458f51fedd306a82c3fbcab352a6 /services/gpuservice/GpuService.cpp
parent6d5046f0fc0a8880f49ee19ca22920d7baa838fc (diff)
parent473ebe724f2c4981b86f72907c7ba072647a0e4b (diff)
Merge "Move flag feature_overrides to namespace "gpu"" into main
Diffstat (limited to 'services/gpuservice/GpuService.cpp')
-rw-r--r--services/gpuservice/GpuService.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/services/gpuservice/GpuService.cpp b/services/gpuservice/GpuService.cpp
index 25ee21fb12..46327dfbe7 100644
--- a/services/gpuservice/GpuService.cpp
+++ b/services/gpuservice/GpuService.cpp
@@ -147,7 +147,7 @@ void GpuService::toggleAngleAsSystemDriver(bool enabled) {
}
FeatureOverrides GpuService::getFeatureOverrides() {
- if (!graphicsenv_flags::feature_overrides()) {
+ if (!graphicsenv_flags::angle_feature_overrides()) {
FeatureOverrides featureOverrides;
return featureOverrides;
}
@@ -183,7 +183,7 @@ status_t GpuService::shellCommand(int /*in*/, int out, int err, std::vector<Stri
ALOGV(" arg[%zu]: '%s'", i, String8(args[i]).c_str());
if (!args.empty()) {
- if (graphicsenv_flags::feature_overrides()) {
+ if (graphicsenv_flags::angle_feature_overrides()) {
if (args[0] == String16("featureOverrides"))
return cmdFeatureOverrides(out, err);
}
@@ -267,7 +267,7 @@ status_t cmdHelp(int out) {
"GPU Service commands:\n"
" vkjson dump Vulkan properties as JSON\n"
" vkprofiles print support for select Vulkan profiles\n");
- if (graphicsenv_flags::feature_overrides()) {
+ if (graphicsenv_flags::angle_feature_overrides()) {
fprintf(outs,
" featureOverrides update and output gpuservice's feature overrides\n");
}