summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/surfaceflinger_flags_new.aconfig
blob: e8b75cfa6def6212c7d01f0e48f261d03b576ff0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# IMPORTANT - please keep alphabetize to reduce merge conflicts

package: "com.android.graphics.surfaceflinger.flags"
container: "system"

flag {
  name: "adpf_fmq_sf"
  namespace: "game"
  description: "Guards use of the ADPF FMQ system specifically for SurfaceFlinger"
  bug: "315894228"
  is_fixed_read_only: true
} # adpf_fmq_sf

flag {
  name: "adpf_gpu_sf"
  namespace: "game"
  description: "Guards use of the sending ADPF GPU duration hint and load hints from SurfaceFlinger to Power HAL"
  bug: "284324521"
} # adpf_gpu_sf

flag {
  name: "adpf_native_session_manager"
  namespace: "game"
  description: "Controls ADPF SessionManager being enabled in SF"
  bug: "367803904"
} # adpf_sessionmanager

flag {
  name: "arr_setframerate_api"
  namespace: "core_graphics"
  description: "New SDK Surface#setFrameRate API and Surface.FrameRateParams for Android 16"
  bug: "356987016"
  is_fixed_read_only: true
  is_exported: true
} # arr_setframerate_api

flag {
  name: "arr_setframerate_gte_enum"
  namespace: "core_graphics"
  description: "Exposes GTE (greater than or equal to) enum for Android 16"
  bug: "380949716"
  is_fixed_read_only: true
} # arr_setframerate_gte_enum

flag {
  name: "arr_surfacecontrol_setframerate_api"
  namespace: "core_graphics"
  description: "New SDK SurfaceControl.Transaction#setFrameRate API for Android 16"
  bug: "356987016"
  is_fixed_read_only: true
  is_exported: true
} # arr_surfacecontrol_setframerate_api

flag {
  name: "begone_bright_hlg"
  namespace: "core_graphics"
  description: "Caps HLG brightness relative to SDR"
  bug: "362510107"
  is_fixed_read_only: true
} # begone_bright_hlg

flag {
  name: "ce_fence_promise"
  namespace: "window_surfaces"
  description: "Moves logic for buffer release fences into LayerFE"
  bug: "294936197"
  is_fixed_read_only: true
  metadata {
    purpose: PURPOSE_BUGFIX
  }
 } # ce_fence_promise

flag {
  name: "commit_not_composited"
  namespace: "core_graphics"
  description: "mark frames as non janky if the transaction resulted in no composition"
  bug: "340633280"
  is_fixed_read_only: true
  metadata {
    purpose: PURPOSE_BUGFIX
  }
} # commit_not_composited

flag {
  name: "connected_display_hdr"
  namespace: "core_graphics"
  description: "enable connected display hdr capability"
  bug: "374182788"
  is_fixed_read_only: true
} # connected_display_hdr

flag {
  name: "correct_dpi_with_display_size"
  namespace: "core_graphics"
  description: "indicate whether missing or likely incorrect dpi should be corrected using the display size."
  bug: "328425848"
  is_fixed_read_only: true
  metadata {
    purpose: PURPOSE_BUGFIX
  }
} # correct_dpi_with_display_size

flag {
  name: "deprecate_frame_tracker"
  namespace: "core_graphics"
  description: "Deprecate using FrameTracker to accumulate and provide FrameStats"
  bug: "241394120"
  is_fixed_read_only: true
  metadata {
    purpose: PURPOSE_BUGFIX
  }
} # deprecate_frame_tracker

flag {
  name: "deprecate_vsync_sf"
  namespace: "core_graphics"
  description: "Depracate eVsyncSourceSurfaceFlinger and use vsync_app everywhere"
  bug: "162235855"
  is_fixed_read_only: true
  metadata {
    purpose: PURPOSE_BUGFIX
  }
} # deprecate_vsync_sf

flag {
  name: "detached_mirror"
  namespace: "window_surfaces"
  description: "Ignore local transform when mirroring a partial hierarchy"
  bug: "337845753"
  is_fixed_read_only: true
  metadata {
    purpose: PURPOSE_BUGFIX
  }
} # detached_mirror

flag {
  name: "display_config_error_hal"
  namespace: "core_graphics"
  description: "Report HAL display configuration errors like modeset failure or link training failure"
  bug: "374184110"
  is_fixed_read_only: true
} # display_config_error_hal

flag {
  name: "filter_frames_before_trace_starts"
  namespace: "core_graphics"
  description: "Do not trace FrameTimeline events for frames started before the trace started"
  bug: "364194637"
  is_fixed_read_only: true
  metadata {
    purpose: PURPOSE_BUGFIX
  }
} # filter_frames_before_trace_starts

flag {
  name: "flush_buffer_slots_to_uncache"
  namespace: "core_graphics"
  description: "Flush DisplayCommands for disabled displays in order to uncache requested buffers."
  bug: "330806421"
  is_fixed_read_only: true
  metadata {
    purpose: PURPOSE_BUGFIX
  }
} # flush_buffer_slots_to_uncache

flag {
  name: "force_compile_graphite_renderengine"
  namespace: "core_graphics"
  description: "Compile Skia's Graphite Vulkan backend in RenderEngine, but do NOT enable it, unless graphite_renderengine is also set. It can also be enabled with the debug.renderengine.graphite system property for testing. In contrast, the graphite_renderengine flag both compiles AND enables Graphite in RenderEngine."
  bug: "293371537"
  is_fixed_read_only: true
} # force_compile_graphite_renderengine

flag {
  name: "frame_rate_category_mrr"
  namespace: "core_graphics"
  description: "Enable to use frame rate category and newer frame rate votes such as GTE in SurfaceFlinger scheduler, to guard dVRR changes from MRR devices"
  bug: "330224639"
  is_fixed_read_only: true
  metadata {
    purpose: PURPOSE_BUGFIX
  }
} # frame_rate_category_mrr

flag {
  name: "graphite_renderengine_preview_rollout"
  namespace: "core_graphics"
  description: "R/W flag to enable Skia's Graphite Vulkan backend in RenderEngine, IF it is already compiled with force_compile_graphite_renderengine, AND the debug.renderengine.graphite_preview_optin sysprop is set to true."
  bug: "293371537"
} # graphite_renderengine_preview_rollout

flag {
  name: "hdcp_negotiation"
  namespace: "core_graphics"
  description: "detect secure layers to start HDCP negotiation"
  bug: "375340594"
  metadata {
    purpose: PURPOSE_BUGFIX
  }
} # hdcp_negotiation

flag {
  name: "increase_missed_frame_jank_threshold"
  namespace: "core_graphics"
  description: "Increase the jank threshold to 4 milliseconds"
  bug: "342265411"
} # increase_missed_frame_jank_threshold

flag {
  name: "latch_unsignaled_with_auto_refresh_changed"
  namespace: "core_graphics"
  description: "Ignore eAutoRefreshChanged with latch unsignaled"
  bug: "331513837"
  is_fixed_read_only: true
  metadata {
    purpose: PURPOSE_BUGFIX
  }
} # latch_unsignaled_with_auto_refresh_changed

flag {
  name: "local_tonemap_screenshots"
  namespace: "core_graphics"
  description: "Enables local tonemapping when capturing screenshots"
  bug: "329464641"
  is_fixed_read_only: true
} # local_tonemap_screenshots

flag {
  name: "monitor_buffer_fences"
  namespace: "core_graphics"
  description: "Monitors fences for each buffer"
  bug: "360932099"
} # monitor_buffer_fences

flag {
  name: "no_vsyncs_on_screen_off"
  namespace: "core_graphics"
  description: "Stop vsync / Choreographer callbacks to apps when the screen is off"
  bug: "331636736"
  is_fixed_read_only: true
} # no_vsyncs_on_screen_off

flag {
  name: "reject_dupe_layerstacks"
  namespace: "window_surfaces"
  description: "Reject duplicate layerstacks for displays"
  bug: "370358572"
  is_fixed_read_only: true
  metadata {
    purpose: PURPOSE_BUGFIX
  }
 } # reject_dupe_layerstacks

flag {
  name: "single_hop_screenshot"
  namespace: "window_surfaces"
  description: "Only access SF main thread once during a screenshot"
  bug: "285553970"
  is_fixed_read_only: true
  metadata {
    purpose: PURPOSE_BUGFIX
  }
 } # single_hop_screenshot

flag {
  name: "skip_invisible_windows_in_input"
  namespace: "window_surfaces"
  description: "Only send visible windows to input list"
  bug: "305254099"
  is_fixed_read_only: true
  metadata {
    purpose: PURPOSE_BUGFIX
  }
 } # skip_invisible_windows_in_input

flag {
  name: "stable_edid_ids"
  namespace: "core_graphics"
  description: "Guard use of the new stable EDID-based display IDs system."
  bug: "352320847"
  is_fixed_read_only: true
} # stable_edid_ids

flag {
  name: "synced_resolution_switch"
  namespace: "core_graphics"
  description: "Synchronize resolution modeset with framebuffer resizing"
  bug: "355427258"
} # synced_resolution_switch

flag {
  name: "true_hdr_screenshots"
  namespace: "core_graphics"
  description: "Enables screenshotting display content in HDR, sans tone mapping"
  bug: "329470026"
  is_fixed_read_only: true
} # true_hdr_screenshots

 flag {
  name: "override_trusted_overlay"
  namespace: "window_surfaces"
  description: "Allow child to disable trusted overlay set by a parent layer"
  bug: "339701674"
  is_fixed_read_only: true
  metadata {
    purpose: PURPOSE_BUGFIX
  }
} # override_trusted_overlay

flag {
  name: "view_set_requested_frame_rate_mrr"
  namespace: "core_graphics"
  description: "Enable to use frame rate category NoPreference with fixed frame rate vote on MRR devices"
  bug: "352206100"
  is_fixed_read_only: true
} # view_set_requested_frame_rate_mrr

flag {
  name: "vrr_bugfix_24q4"
  namespace: "core_graphics"
  description: "bug fixes for VRR"
  bug: "331513837"
  is_fixed_read_only: true
  metadata {
    purpose: PURPOSE_BUGFIX
  }
} # vrr_bugfix_24q4

flag {
  name: "vrr_bugfix_dropped_frame"
  namespace: "core_graphics"
  description: "bug fix for VRR dropped frame"
  bug: "343603085"
  is_fixed_read_only: true
  metadata {
    purpose: PURPOSE_BUGFIX
  }
} # vrr_bugfix_dropped_frame

flag {
  name: "vsync_predictor_recovery"
  namespace: "core_graphics"
  description: "Recover the vsync predictor from bad vsync model"
  bug: "385059265"
  metadata {
    purpose: PURPOSE_BUGFIX
  }
 } # vsync_predictor_recovery

flag {
  name: "window_blur_kawase2"
  namespace: "core_graphics"
  description: "Flag for using Kawase2 algorithm for window blur"
  bug: "353826438"
} # window_blur_kawase2

# IMPORTANT - please keep alphabetize to reduce merge conflicts