blob: d6a1ad42eee1ca00a510b6d5c5cf7db6bd1a98f0 [file] [log] [blame]
Ady Abrahambcc90ee2024-02-28 15:43:51 -08001# IMPORTANT - please keep alphabetize to reduce merge conflicts
2
3package: "com.android.graphics.surfaceflinger.flags"
4container: "system"
5
6flag {
Matt Buckley48eb4352024-10-18 11:48:46 -07007 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 {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +000015 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"
Xiang Wang05cb7642024-03-12 17:27:05 -070019} # adpf_gpu_sf
20
21flag {
Matt Buckley068fa0c2024-11-19 21:30:26 +000022 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 {
Rachel Lee032e7f42024-10-04 14:14:58 -070029 name: "arr_setframerate_api"
30 namespace: "core_graphics"
Rachel Lee1ed210e2024-10-22 19:15:52 -070031 description: "New SDK Surface#setFrameRate API and Surface.FrameRateParams for Android 16"
Rachel Lee032e7f42024-10-04 14:14:58 -070032 bug: "356987016"
33 is_fixed_read_only: true
34} # arr_setframerate_api
35
36flag {
Rachel Leec6bc5f52024-11-25 21:40:14 -080037 name: "arr_setframerate_gte_enum"
38 namespace: "core_graphics"
39 description: "Exposes GTE (greater than or equal to) enum for Android 16"
40 bug: "380949716"
41 is_fixed_read_only: true
42} # arr_setframerate_gte_enum
43
44flag {
Rachel Lee1ed210e2024-10-22 19:15:52 -070045 name: "arr_surfacecontrol_setframerate_api"
46 namespace: "core_graphics"
47 description: "New SDK SurfaceControl.Transaction#setFrameRate API for Android 16"
48 bug: "356987016"
49 is_fixed_read_only: true
50} # arr_surfacecontrol_setframerate_api
51
52flag {
Alec Mouri8face532024-11-09 22:15:32 +000053 name: "begone_bright_hlg"
54 namespace: "core_graphics"
55 description: "Caps HLG brightness relative to SDR"
56 bug: "362510107"
57 is_fixed_read_only: true
58} # begone_bright_hlg
59
60flag {
Melody Hsu793f8362024-01-08 20:00:35 +000061 name: "ce_fence_promise"
62 namespace: "window_surfaces"
63 description: "Moves logic for buffer release fences into LayerFE"
64 bug: "294936197"
65 is_fixed_read_only: true
66 metadata {
67 purpose: PURPOSE_BUGFIX
68 }
Melody Hsu7a458f72024-03-25 23:53:13 +000069 } # ce_fence_promise
Melody Hsu793f8362024-01-08 20:00:35 +000070
Lucas Berthou8d0a0c42024-08-27 14:32:31 +000071flag {
72 name: "commit_not_composited"
73 namespace: "core_graphics"
74 description: "mark frames as non janky if the transaction resulted in no composition"
75 bug: "340633280"
76 is_fixed_read_only: true
77 metadata {
78 purpose: PURPOSE_BUGFIX
79 }
80} # commit_not_composited
Ady Abraham14beed72024-05-15 17:16:45 -070081
Lucas Berthou8d0a0c42024-08-27 14:32:31 +000082flag {
Sasha McIntosh066288a2024-10-28 17:21:39 -040083 name: "connected_display_hdr"
84 namespace: "core_graphics"
85 description: "enable connected display hdr capability"
86 bug: "374182788"
87 is_fixed_read_only: true
88} # connected_display_hdr
89
90flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +000091 name: "correct_dpi_with_display_size"
92 namespace: "core_graphics"
93 description: "indicate whether missing or likely incorrect dpi should be corrected using the display size."
94 bug: "328425848"
95 is_fixed_read_only: true
96 metadata {
97 purpose: PURPOSE_BUGFIX
98 }
99} # correct_dpi_with_display_size
100
101flag {
Ben Widawsky12b51122024-10-14 11:07:47 -0700102 name: "deprecate_frame_tracker"
103 namespace: "core_graphics"
104 description: "Deprecate using FrameTracker to accumulate and provide FrameStats"
105 bug: "241394120"
106 is_fixed_read_only: true
107 metadata {
108 purpose: PURPOSE_BUGFIX
109 }
110} # deprecate_frame_tracker
111
112flag {
Ady Abrahamb3347582024-04-03 01:01:51 +0000113 name: "deprecate_vsync_sf"
114 namespace: "core_graphics"
115 description: "Depracate eVsyncSourceSurfaceFlinger and use vsync_app everywhere"
116 bug: "162235855"
117 is_fixed_read_only: true
118 metadata {
119 purpose: PURPOSE_BUGFIX
120 }
121} # deprecate_vsync_sf
122
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000123flag {
Vishnu Nair491827d2024-04-29 23:43:26 +0000124 name: "detached_mirror"
125 namespace: "window_surfaces"
126 description: "Ignore local transform when mirroring a partial hierarchy"
127 bug: "337845753"
128 is_fixed_read_only: true
129 metadata {
130 purpose: PURPOSE_BUGFIX
131 }
Vishnu Nair9e0017e2024-05-22 19:02:44 +0000132} # detached_mirror
Vishnu Nair491827d2024-04-29 23:43:26 +0000133
Melody Hsu793f8362024-01-08 20:00:35 +0000134flag {
Manasi Navare6ab69ae2024-10-21 22:53:41 +0000135 name: "display_config_error_hal"
136 namespace: "core_graphics"
137 description: "Report HAL display configuration errors like modeset failure or link training failure"
138 bug: "374184110"
139 is_fixed_read_only: true
140} # display_config_error_hal
141
142flag {
Ady Abraham43a68c32024-09-04 19:21:20 -0700143 name: "filter_frames_before_trace_starts"
144 namespace: "core_graphics"
145 description: "Do not trace FrameTimeline events for frames started before the trace started"
146 bug: "364194637"
147 is_fixed_read_only: true
148 metadata {
149 purpose: PURPOSE_BUGFIX
150 }
151} # filter_frames_before_trace_starts
152
153flag {
Leon Scroggins IIIa3ba7fa2024-05-22 16:34:52 -0400154 name: "flush_buffer_slots_to_uncache"
155 namespace: "core_graphics"
156 description: "Flush DisplayCommands for disabled displays in order to uncache requested buffers."
157 bug: "330806421"
158 is_fixed_read_only: true
159 metadata {
160 purpose: PURPOSE_BUGFIX
161 }
162} # flush_buffer_slots_to_uncache
163
164flag {
Nolan Scobie4a466642024-05-23 16:22:22 -0400165 name: "force_compile_graphite_renderengine"
166 namespace: "core_graphics"
167 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."
168 bug: "293371537"
169 is_fixed_read_only: true
170} # force_compile_graphite_renderengine
171
172flag {
Rachel Lee52f0abe2024-03-14 18:34:04 -0700173 name: "frame_rate_category_mrr"
174 namespace: "core_graphics"
175 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"
176 bug: "330224639"
177 is_fixed_read_only: true
178 metadata {
179 purpose: PURPOSE_BUGFIX
180 }
181} # frame_rate_category_mrr
182
Ady Abrahambb1ad762024-03-27 18:31:28 -0700183flag {
Noelle Scobiec6acad12024-11-20 21:53:20 -0500184 name: "graphite_renderengine_preview_rollout"
185 namespace: "core_graphics"
186 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."
187 bug: "293371537"
188} # graphite_renderengine_preview_rollout
189
190flag {
Ady Abrahambb1ad762024-03-27 18:31:28 -0700191 name: "latch_unsignaled_with_auto_refresh_changed"
192 namespace: "core_graphics"
193 description: "Ignore eAutoRefreshChanged with latch unsignaled"
194 bug: "331513837"
195 is_fixed_read_only: true
196 metadata {
197 purpose: PURPOSE_BUGFIX
198 }
199} # latch_unsignaled_with_auto_refresh_changed
200
Alec Mouri1818c182024-05-13 18:25:11 +0000201flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000202 name: "local_tonemap_screenshots"
203 namespace: "core_graphics"
204 description: "Enables local tonemapping when capturing screenshots"
205 bug: "329464641"
206 is_fixed_read_only: true
Alec Mouri1818c182024-05-13 18:25:11 +0000207} # local_tonemap_screenshots
208
Melody Hsu8c42cf12024-06-05 00:07:03 +0000209flag {
Ady Abrahama8217b52024-10-31 15:51:45 -0700210 name: "no_vsyncs_on_screen_off"
211 namespace: "core_graphics"
212 description: "Stop vsync / Choreographer callbacks to apps when the screen is off"
213 bug: "331636736"
214 is_fixed_read_only: true
215} # no_vsyncs_on_screen_off
216
217flag {
Melody Hsu8c42cf12024-06-05 00:07:03 +0000218 name: "single_hop_screenshot"
219 namespace: "window_surfaces"
220 description: "Only access SF main thread once during a screenshot"
221 bug: "285553970"
222 is_fixed_read_only: true
223 metadata {
224 purpose: PURPOSE_BUGFIX
225 }
226 } # single_hop_screenshot
227
Alec Mouri2b96d352024-07-09 19:19:36 +0000228flag {
Wenhui Yangb09293f2024-11-08 23:42:19 +0000229 name: "skip_invisible_windows_in_input"
230 namespace: "window_surfaces"
231 description: "Only send visible windows to input list"
232 bug: "305254099"
233 is_fixed_read_only: true
234 metadata {
235 purpose: PURPOSE_BUGFIX
236 }
237 } # skip_invisible_windows_in_input
238
239flag {
Gil Dekel4c575a12024-11-14 15:11:16 -0500240 name: "stable_edid_ids"
241 namespace: "core_graphics"
242 description: "Guard use of the new stable EDID-based display IDs system."
243 bug: "352320847"
244 is_fixed_read_only: true
245} # stable_edid_ids
246
247flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000248 name: "true_hdr_screenshots"
249 namespace: "core_graphics"
250 description: "Enables screenshotting display content in HDR, sans tone mapping"
251 bug: "329470026"
252 is_fixed_read_only: true
Alec Mouri2b96d352024-07-09 19:19:36 +0000253} # true_hdr_screenshots
254
Vishnu Nair9e0017e2024-05-22 19:02:44 +0000255 flag {
256 name: "override_trusted_overlay"
257 namespace: "window_surfaces"
258 description: "Allow child to disable trusted overlay set by a parent layer"
259 bug: "339701674"
260 is_fixed_read_only: true
261 metadata {
262 purpose: PURPOSE_BUGFIX
263 }
264} # override_trusted_overlay
265
Vishnu Nairdf59f472024-05-17 16:51:33 +0000266flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000267 name: "view_set_requested_frame_rate_mrr"
268 namespace: "core_graphics"
269 description: "Enable to use frame rate category NoPreference with fixed frame rate vote on MRR devices"
270 bug: "352206100"
271 is_fixed_read_only: true
Rachel Lee0dd05182024-08-13 16:31:45 -0700272} # view_set_requested_frame_rate_mrr
273
274flag {
Vishnu Nairdf59f472024-05-17 16:51:33 +0000275 name: "vrr_bugfix_24q4"
276 namespace: "core_graphics"
277 description: "bug fixes for VRR"
278 bug: "331513837"
279 is_fixed_read_only: true
280 metadata {
281 purpose: PURPOSE_BUGFIX
282 }
283} # vrr_bugfix_24q4
284
ramindania3be80c2024-06-20 14:08:37 -0700285flag {
286 name: "vrr_bugfix_dropped_frame"
287 namespace: "core_graphics"
288 description: "bug fix for VRR dropped frame"
289 bug: "343603085"
290 is_fixed_read_only: true
291 metadata {
292 purpose: PURPOSE_BUGFIX
293 }
294} # vrr_bugfix_dropped_frame
295
Ady Abrahambcc90ee2024-02-28 15:43:51 -0800296# IMPORTANT - please keep alphabetize to reduce merge conflicts