• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# IMPORTANT - please keep alphabetize to reduce merge conflicts
2
3package: "com.android.graphics.surfaceflinger.flags"
4container: "system"
5
6flag {
7  name: "adpf_fmq_sf"
8  namespace: "game"
9  description: "Guards use of the ADPF FMQ system specifically for SurfaceFlinger"
10  bug: "315894228"
11  is_fixed_read_only: true
12} # adpf_fmq_sf
13
14flag {
15  name: "adpf_gpu_sf"
16  namespace: "game"
17  description: "Guards use of the sending ADPF GPU duration hint and load hints from SurfaceFlinger to Power HAL"
18  bug: "284324521"
19} # adpf_gpu_sf
20
21flag {
22  name: "adpf_native_session_manager"
23  namespace: "game"
24  description: "Controls ADPF SessionManager being enabled in SF"
25  bug: "367803904"
26} # adpf_sessionmanager
27
28flag {
29  name: "arr_setframerate_api"
30  namespace: "core_graphics"
31  description: "New SDK Surface#setFrameRate API and Surface.FrameRateParams for Android 16"
32  bug: "356987016"
33  is_fixed_read_only: true
34  is_exported: true
35} # arr_setframerate_api
36
37flag {
38  name: "arr_setframerate_gte_enum"
39  namespace: "core_graphics"
40  description: "Exposes GTE (greater than or equal to) enum for Android 16"
41  bug: "380949716"
42  is_fixed_read_only: true
43} # arr_setframerate_gte_enum
44
45flag {
46  name: "arr_surfacecontrol_setframerate_api"
47  namespace: "core_graphics"
48  description: "New SDK SurfaceControl.Transaction#setFrameRate API for Android 16"
49  bug: "356987016"
50  is_fixed_read_only: true
51  is_exported: true
52} # arr_surfacecontrol_setframerate_api
53
54flag {
55  name: "begone_bright_hlg"
56  namespace: "core_graphics"
57  description: "Caps HLG brightness relative to SDR"
58  bug: "362510107"
59  is_fixed_read_only: true
60} # begone_bright_hlg
61
62flag {
63  name: "ce_fence_promise"
64  namespace: "window_surfaces"
65  description: "Moves logic for buffer release fences into LayerFE"
66  bug: "294936197"
67  is_fixed_read_only: true
68  metadata {
69    purpose: PURPOSE_BUGFIX
70  }
71 } # ce_fence_promise
72
73flag {
74  name: "commit_not_composited"
75  namespace: "core_graphics"
76  description: "mark frames as non janky if the transaction resulted in no composition"
77  bug: "340633280"
78  is_fixed_read_only: true
79  metadata {
80    purpose: PURPOSE_BUGFIX
81  }
82} # commit_not_composited
83
84flag {
85  name: "connected_display_hdr"
86  namespace: "core_graphics"
87  description: "enable connected display hdr capability"
88  bug: "374182788"
89  is_fixed_read_only: true
90} # connected_display_hdr
91
92flag {
93  name: "correct_dpi_with_display_size"
94  namespace: "core_graphics"
95  description: "indicate whether missing or likely incorrect dpi should be corrected using the display size."
96  bug: "328425848"
97  is_fixed_read_only: true
98  metadata {
99    purpose: PURPOSE_BUGFIX
100  }
101} # correct_dpi_with_display_size
102
103flag {
104  name: "deprecate_frame_tracker"
105  namespace: "core_graphics"
106  description: "Deprecate using FrameTracker to accumulate and provide FrameStats"
107  bug: "241394120"
108  is_fixed_read_only: true
109  metadata {
110    purpose: PURPOSE_BUGFIX
111  }
112} # deprecate_frame_tracker
113
114flag {
115  name: "deprecate_vsync_sf"
116  namespace: "core_graphics"
117  description: "Depracate eVsyncSourceSurfaceFlinger and use vsync_app everywhere"
118  bug: "162235855"
119  is_fixed_read_only: true
120  metadata {
121    purpose: PURPOSE_BUGFIX
122  }
123} # deprecate_vsync_sf
124
125flag {
126  name: "detached_mirror"
127  namespace: "window_surfaces"
128  description: "Ignore local transform when mirroring a partial hierarchy"
129  bug: "337845753"
130  is_fixed_read_only: true
131  metadata {
132    purpose: PURPOSE_BUGFIX
133  }
134} # detached_mirror
135
136flag {
137  name: "display_config_error_hal"
138  namespace: "core_graphics"
139  description: "Report HAL display configuration errors like modeset failure or link training failure"
140  bug: "374184110"
141  is_fixed_read_only: true
142} # display_config_error_hal
143
144flag {
145  name: "filter_frames_before_trace_starts"
146  namespace: "core_graphics"
147  description: "Do not trace FrameTimeline events for frames started before the trace started"
148  bug: "364194637"
149  is_fixed_read_only: true
150  metadata {
151    purpose: PURPOSE_BUGFIX
152  }
153} # filter_frames_before_trace_starts
154
155flag {
156  name: "flush_buffer_slots_to_uncache"
157  namespace: "core_graphics"
158  description: "Flush DisplayCommands for disabled displays in order to uncache requested buffers."
159  bug: "330806421"
160  is_fixed_read_only: true
161  metadata {
162    purpose: PURPOSE_BUGFIX
163  }
164} # flush_buffer_slots_to_uncache
165
166flag {
167  name: "force_compile_graphite_renderengine"
168  namespace: "core_graphics"
169  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."
170  bug: "293371537"
171  is_fixed_read_only: true
172} # force_compile_graphite_renderengine
173
174flag {
175  name: "frame_rate_category_mrr"
176  namespace: "core_graphics"
177  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"
178  bug: "330224639"
179  is_fixed_read_only: true
180  metadata {
181    purpose: PURPOSE_BUGFIX
182  }
183} # frame_rate_category_mrr
184
185flag {
186  name: "graphite_renderengine_preview_rollout"
187  namespace: "core_graphics"
188  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."
189  bug: "293371537"
190} # graphite_renderengine_preview_rollout
191
192flag {
193  name: "hdcp_negotiation"
194  namespace: "core_graphics"
195  description: "detect secure layers to start HDCP negotiation"
196  bug: "375340594"
197  metadata {
198    purpose: PURPOSE_BUGFIX
199  }
200} # hdcp_negotiation
201
202flag {
203  name: "increase_missed_frame_jank_threshold"
204  namespace: "core_graphics"
205  description: "Increase the jank threshold to 4 milliseconds"
206  bug: "342265411"
207} # increase_missed_frame_jank_threshold
208
209flag {
210  name: "latch_unsignaled_with_auto_refresh_changed"
211  namespace: "core_graphics"
212  description: "Ignore eAutoRefreshChanged with latch unsignaled"
213  bug: "331513837"
214  is_fixed_read_only: true
215  metadata {
216    purpose: PURPOSE_BUGFIX
217  }
218} # latch_unsignaled_with_auto_refresh_changed
219
220flag {
221  name: "local_tonemap_screenshots"
222  namespace: "core_graphics"
223  description: "Enables local tonemapping when capturing screenshots"
224  bug: "329464641"
225  is_fixed_read_only: true
226} # local_tonemap_screenshots
227
228flag {
229  name: "monitor_buffer_fences"
230  namespace: "core_graphics"
231  description: "Monitors fences for each buffer"
232  bug: "360932099"
233} # monitor_buffer_fences
234
235flag {
236  name: "no_vsyncs_on_screen_off"
237  namespace: "core_graphics"
238  description: "Stop vsync / Choreographer callbacks to apps when the screen is off"
239  bug: "331636736"
240  is_fixed_read_only: true
241} # no_vsyncs_on_screen_off
242
243flag {
244  name: "reject_dupe_layerstacks"
245  namespace: "window_surfaces"
246  description: "Reject duplicate layerstacks for displays"
247  bug: "370358572"
248  is_fixed_read_only: true
249  metadata {
250    purpose: PURPOSE_BUGFIX
251  }
252 } # reject_dupe_layerstacks
253
254flag {
255  name: "single_hop_screenshot"
256  namespace: "window_surfaces"
257  description: "Only access SF main thread once during a screenshot"
258  bug: "285553970"
259  is_fixed_read_only: true
260  metadata {
261    purpose: PURPOSE_BUGFIX
262  }
263 } # single_hop_screenshot
264
265flag {
266  name: "skip_invisible_windows_in_input"
267  namespace: "window_surfaces"
268  description: "Only send visible windows to input list"
269  bug: "305254099"
270  is_fixed_read_only: true
271  metadata {
272    purpose: PURPOSE_BUGFIX
273  }
274 } # skip_invisible_windows_in_input
275
276flag {
277  name: "stable_edid_ids"
278  namespace: "core_graphics"
279  description: "Guard use of the new stable EDID-based display IDs system."
280  bug: "352320847"
281  is_fixed_read_only: true
282} # stable_edid_ids
283
284flag {
285  name: "synced_resolution_switch"
286  namespace: "core_graphics"
287  description: "Synchronize resolution modeset with framebuffer resizing"
288  bug: "355427258"
289} # synced_resolution_switch
290
291flag {
292  name: "true_hdr_screenshots"
293  namespace: "core_graphics"
294  description: "Enables screenshotting display content in HDR, sans tone mapping"
295  bug: "329470026"
296  is_fixed_read_only: true
297} # true_hdr_screenshots
298
299 flag {
300  name: "override_trusted_overlay"
301  namespace: "window_surfaces"
302  description: "Allow child to disable trusted overlay set by a parent layer"
303  bug: "339701674"
304  is_fixed_read_only: true
305  metadata {
306    purpose: PURPOSE_BUGFIX
307  }
308} # override_trusted_overlay
309
310flag {
311  name: "view_set_requested_frame_rate_mrr"
312  namespace: "core_graphics"
313  description: "Enable to use frame rate category NoPreference with fixed frame rate vote on MRR devices"
314  bug: "352206100"
315  is_fixed_read_only: true
316} # view_set_requested_frame_rate_mrr
317
318flag {
319  name: "vrr_bugfix_24q4"
320  namespace: "core_graphics"
321  description: "bug fixes for VRR"
322  bug: "331513837"
323  is_fixed_read_only: true
324  metadata {
325    purpose: PURPOSE_BUGFIX
326  }
327} # vrr_bugfix_24q4
328
329flag {
330  name: "vrr_bugfix_dropped_frame"
331  namespace: "core_graphics"
332  description: "bug fix for VRR dropped frame"
333  bug: "343603085"
334  is_fixed_read_only: true
335  metadata {
336    purpose: PURPOSE_BUGFIX
337  }
338} # vrr_bugfix_dropped_frame
339
340flag {
341  name: "vsync_predictor_recovery"
342  namespace: "core_graphics"
343  description: "Recover the vsync predictor from bad vsync model"
344  bug: "385059265"
345  metadata {
346    purpose: PURPOSE_BUGFIX
347  }
348 } # vsync_predictor_recovery
349
350flag {
351  name: "window_blur_kawase2"
352  namespace: "core_graphics"
353  description: "Flag for using Kawase2 algorithm for window blur"
354  bug: "353826438"
355} # window_blur_kawase2
356
357# IMPORTANT - please keep alphabetize to reduce merge conflicts
358