blob: 56bca7fb187832d0889d6c83d932325e4d2d2f11 [file] [log] [blame]
Ady Abrahambcc90ee2024-02-28 15:43:51 -08001# This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig
2
Ady Abraham5ffd98a2023-08-24 17:37:01 -07003package: "com.android.graphics.surfaceflinger.flags"
Oriol Prieto Gasco33fd22e2024-02-06 18:34:41 +00004container: "system"
Ady Abraham5ffd98a2023-08-24 17:37:01 -07005
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
Brian Johnsonc99f6382023-09-07 10:52:30 -070012}
13
14flag {
15 name: "connected_display"
16 namespace: "core_graphics"
Brian Johnson9489a0c2023-09-28 12:16:07 -070017 description: "Controls SurfaceFlinger support for Connected Displays in 24Q1"
Brian Johnson766320a2023-10-09 09:18:03 -070018 bug: "278199093"
Brian Johnsonc99f6382023-09-07 10:52:30 -070019 is_fixed_read_only: true
20}
Ady Abraham6e54cdc2023-09-06 18:11:31 -070021
ramindani70465c42023-09-08 10:58:29 -070022flag {
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}
Arthur Hungc99303b2023-10-02 07:25:24 +000029
Ady Abrahambcc90ee2024-02-28 15:43:51 -080030# This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig
31
Arthur Hungc99303b2023-10-02 07:25:24 +000032flag {
Manali Bhutiyani96f866c2023-11-09 18:09:44 +000033 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 {
Leon Scroggins IIIca7ea7b2023-09-07 13:59:24 -040041 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}
Arthur Hungdac89e92023-10-19 15:24:23 +000047
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
Brian Johnson8c144002023-10-30 15:47:44 -070054}
55
Ady Abrahambcc90ee2024-02-28 15:43:51 -080056# This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig
57
Brian Johnson8c144002023-10-30 15:47:44 -070058flag {
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}
Brian Johnson4f095462023-10-31 10:12:55 -070065
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
Sally Qide329f22023-09-26 16:21:39 -070074flag {
Sally Qif5721252023-11-17 11:14:53 -080075 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
Ady Abrahambcc90ee2024-02-28 15:43:51 -080082# This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig
83
Sally Qif5721252023-11-17 11:14:53 -080084flag {
Sally Qide329f22023-09-26 16:21:39 -070085 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}
Jerry Chang04eb8e02023-11-15 08:06:07 +000090
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"
Jerry Changf4755232023-12-26 12:37:56 +000096 is_fixed_read_only: true
Jerry Chang04eb8e02023-11-15 08:06:07 +000097}
Sally Qi567cf842023-11-14 15:25:29 -080098
Sally Qi4e20d7b2023-12-18 18:23:51 -080099# 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
Ady Abrahambcc90ee2024-02-28 15:43:51 -0800109# This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig
110
Sally Qi567cf842023-11-14 15:25:29 -0800111flag {
Sally Qi4e20d7b2023-12-18 18:23:51 -0800112 name: "cache_when_source_crop_layer_only_moved"
Sally Qi567cf842023-11-14 15:25:29 -0800113 namespace: "core_graphics"
114 description: "do not flatten layers if source crop is only moved"
115 bug: "305718400"
Sally Qi34f26832023-12-05 18:58:42 +0000116 is_fixed_read_only: true
Ady Abraham3f84c502023-11-30 18:18:06 -0800117}
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"
Sally Qi567cf842023-11-14 15:25:29 -0800124 is_fixed_read_only: true
125}
Chavi Weingarten18fa7c62023-11-28 21:16:03 +0000126
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}
Alec Mourif97df4d2023-09-06 02:10:05 +0000134
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}
Andy Yu8c2703d2023-11-03 11:22:46 -0700142
Ady Abrahambcc90ee2024-02-28 15:43:51 -0800143# This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig
144
Andy Yu8c2703d2023-11-03 11:22:46 -0700145flag {
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}
Leon Scroggins IIIfe6d6a62024-01-08 17:09:18 -0500152
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"
Nolan Scobie4a466642024-05-23 16:22:22 -0400164 description: "Compile AND enable Skia's Graphite Vulkan backend in RenderEngine. See also: force_compile_graphite_renderengine."
Leon Scroggins IIIfe6d6a62024-01-08 17:09:18 -0500165 bug: "293371537"
166 is_fixed_read_only: true
167}
Alec Mouri9892aac2023-12-11 21:16:59 +0000168
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}
Leon Scroggins IIIdf8166e2024-01-25 15:50:56 -0500176
Ady Abrahambcc90ee2024-02-28 15:43:51 -0800177# This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig
178
Leon Scroggins IIIdf8166e2024-01-25 15:50:56 -0500179flag {
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}
Leon Scroggins III48a60cc2024-01-31 12:41:33 -0500189
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}
Ady Abrahambf554892024-02-14 18:18:21 +0000200
Ady Abrahambcc90ee2024-02-28 15:43:51 -0800201# This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig
202
Ady Abrahambf554892024-02-14 18:18:21 +0000203flag {
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"
Ady Abraham6ad86bd2024-02-27 21:54:02 +0000208 is_fixed_read_only: true
209 metadata {
210 purpose: PURPOSE_BUGFIX
211 }
Eason Chiu45099662023-10-23 08:55:48 +0800212}
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"
Ady Abrahambf554892024-02-14 18:18:21 +0000219 is_fixed_read_only: true
220 metadata {
221 purpose: PURPOSE_BUGFIX
222 }
223}
Ady Abrahambcc90ee2024-02-28 15:43:51 -0800224
ramindani8470d762024-04-10 15:18:43 -0700225flag {
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
Ady Abrahambcc90ee2024-02-28 15:43:51 -0800236# This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig