xref: /aosp_15_r20/frameworks/native/services/surfaceflinger/surfaceflinger_flags.aconfig (revision 38e8c45f13ce32b0dcecb25141ffecaf386fa17f)
1# This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig
2
3package: "com.android.graphics.surfaceflinger.flags"
4container: "system"
5
6flag {
7  name: "misc1"
8  namespace: "core_graphics"
9  description: "This flag controls minor miscellaneous SurfaceFlinger changes"
10  bug: "297389311"
11  is_fixed_read_only: true
12}
13
14flag {
15  name: "connected_display"
16  namespace: "core_graphics"
17  description: "Controls SurfaceFlinger support for Connected Displays in 24Q1"
18  bug: "278199093"
19  is_fixed_read_only: true
20}
21
22flag {
23  name: "vrr_config"
24  namespace: "core_graphics"
25  description: "Controls SurfaceFlinger support for VRR Configurations"
26  bug: "284845445"
27  is_fixed_read_only: true
28}
29
30# This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig
31
32flag {
33  name: "enable_layer_command_batching"
34  namespace: "core_graphics"
35  description: "This flag controls batching on createLayer/destroyLayer command with executeCommand."
36  bug: "290685621"
37  is_fixed_read_only: true
38}
39
40flag {
41  name: "multithreaded_present"
42  namespace: "core_graphics"
43  description: "Controls whether to offload present calls to another thread"
44  bug: "259132483"
45  is_fixed_read_only: true
46}
47
48flag {
49  name: "enable_small_area_detection"
50  namespace: "core_graphics"
51  description: "Feature flag for SmallAreaDetection"
52  bug: "283055450"
53  is_fixed_read_only: true
54}
55
56# This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig
57
58flag {
59  name: "hotplug2"
60  namespace: "core_graphics"
61  description: "Feature flag for using hotplug2 HAL API"
62  bug: "303460805"
63  is_fixed_read_only: true
64}
65
66flag {
67  name: "hdcp_level_hal"
68  namespace: "core_graphics"
69  description: "Feature flag for adding a HAL API to commuicate hdcp levels"
70  bug: "285359126"
71  is_fixed_read_only: true
72}
73
74flag {
75  name: "add_sf_skipped_frames_to_trace"
76  namespace: "core_graphics"
77  description: "Add SurfaceFlinger dropped Frames to frame timeline"
78  bug: "273701290"
79  is_fixed_read_only: true
80}
81
82# This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig
83
84flag {
85  name: "refresh_rate_overlay_on_external_display"
86  namespace: "core_graphics"
87  description: "enable refresh rate indicator on the external display"
88  bug: "301647974"
89}
90
91flag {
92  name: "use_known_refresh_rate_for_fps_consistency"
93  namespace: "core_graphics"
94  description: "Whether to use the closest known refresh rate to determine the fps consistency."
95  bug: "299201319"
96  is_fixed_read_only: true
97}
98
99# This flag is broken.
100# See alternative one: cache_when_source_crop_layer_only_moved
101# flag {
102#   name: "cache_if_source_crop_layer_only_moved"
103#   namespace: "core_graphics"
104#   description: "do not flatten layers if source crop is only moved"
105#   bug: "305718400"
106#   is_fixed_read_only: true
107# }
108
109# This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig
110
111flag {
112  name: "cache_when_source_crop_layer_only_moved"
113  namespace: "core_graphics"
114  description: "do not flatten layers if source crop is only moved"
115  bug: "305718400"
116  is_fixed_read_only: true
117}
118
119flag {
120  name: "enable_fro_dependent_features"
121  namespace: "core_graphics"
122  description: "enable frame rate override dependent features by default"
123  bug: "314217419"
124  is_fixed_read_only: true
125}
126
127flag {
128  name: "display_protected"
129  namespace: "core_graphics"
130  description: "Introduce protected displays to specify whether they should render protected content"
131  bug: "301647974"
132  is_fixed_read_only: true
133}
134
135flag {
136  name: "fp16_client_target"
137  namespace: "core_graphics"
138  description: "Controls whether we render to fp16 client targets"
139  bug: "236745178"
140  is_fixed_read_only: true
141}
142
143# This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig
144
145flag {
146  name: "game_default_frame_rate"
147  namespace: "game"
148  description: "This flag guards the new behavior with the addition of Game Default Frame Rate feature."
149  bug: "286084594"
150  is_fixed_read_only: true
151}
152
153flag {
154  name: "vulkan_renderengine"
155  namespace: "core_graphics"
156  description: "Use Vulkan backend in RenderEngine prior to switching to Graphite."
157  bug: "293371537"
158  is_fixed_read_only: true
159}
160
161flag {
162  name: "graphite_renderengine"
163  namespace: "core_graphics"
164  description: "Compile AND enable Skia's Graphite Vulkan backend in RenderEngine. See also: force_compile_graphite_renderengine."
165  bug: "293371537"
166  is_fixed_read_only: true
167}
168
169flag {
170  name: "screenshot_fence_preservation"
171  namespace: "core_graphics"
172  description: "Bug fix around screenshot fences"
173  bug: "302703346"
174  is_fixed_read_only: true
175}
176
177# This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig
178
179flag {
180  name: "renderable_buffer_usage"
181  namespace: "core_graphics"
182  description: "Decide whether an ExternalTexture isRenderable based on its buffer's usage."
183  bug: "305445199"
184  is_fixed_read_only: true
185  metadata {
186    purpose: PURPOSE_BUGFIX
187  }
188}
189
190flag {
191  name: "restore_blur_step"
192  namespace: "core_graphics"
193  description: "Restore drawing the blur input prior to drawing blurred content."
194  bug: "255921628"
195  is_fixed_read_only: true
196  metadata {
197    purpose: PURPOSE_BUGFIX
198  }
199}
200
201# This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig
202
203flag {
204  name: "dont_skip_on_early_ro"
205  namespace: "core_graphics"
206  description: "This flag is guarding the behaviour where SurfaceFlinger is trying to opportunistically present a frame when the configuration change from late to early"
207  bug: "273702768"
208  is_fixed_read_only: true
209  metadata {
210    purpose: PURPOSE_BUGFIX
211  }
212}
213
214flag {
215  name: "protected_if_client"
216  namespace: "core_graphics"
217  description: "Only set the RenderSurface to protected if protected layers are in client composition."
218  bug: "307674749"
219  is_fixed_read_only: true
220  metadata {
221    purpose: PURPOSE_BUGFIX
222  }
223}
224
225flag {
226  name: "allow_n_vsyncs_in_targeter"
227  namespace: "core_graphics"
228  description: "This flag will enable utilizing N vsyncs in the FrameTargeter for past vsyncs"
229  bug: "308858993"
230  is_fixed_read_only: true
231  metadata {
232    purpose: PURPOSE_BUGFIX
233  }
234}
235
236# This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig
237