summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/SurfaceFlingerProperties.cpp
diff options
context:
space:
mode:
author Brian Lindahl <blindahl@google.com> 2023-06-21 19:17:51 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2023-06-21 19:17:51 +0000
commita6d391b35add93b4d934c359a89cbc863bbffc33 (patch)
tree782b46d7185df63f87dc24d72cf6350b4ed32154 /services/surfaceflinger/SurfaceFlingerProperties.cpp
parenta7bfd775053734cb165028a843a83c2092d47753 (diff)
parent5b0ffe096f8b825ea42ff61de501fadc1d8ca418 (diff)
Merge "Force HALs to explicitly enable legacy method for clearing buffer caches"
Diffstat (limited to 'services/surfaceflinger/SurfaceFlingerProperties.cpp')
-rw-r--r--services/surfaceflinger/SurfaceFlingerProperties.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/services/surfaceflinger/SurfaceFlingerProperties.cpp b/services/surfaceflinger/SurfaceFlingerProperties.cpp
index 20fa091730..96c8b54005 100644
--- a/services/surfaceflinger/SurfaceFlingerProperties.cpp
+++ b/services/surfaceflinger/SurfaceFlingerProperties.cpp
@@ -375,5 +375,9 @@ bool ignore_hdr_camera_layers(bool defaultValue) {
return SurfaceFlingerProperties::ignore_hdr_camera_layers().value_or(defaultValue);
}
+bool clear_slots_with_set_layer_buffer(bool defaultValue) {
+ return SurfaceFlingerProperties::clear_slots_with_set_layer_buffer().value_or(defaultValue);
+}
+
} // namespace sysprop
} // namespace android