blob: 2c44e4ce0da4a03599651fd7278d5908fc61528c [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 Lee1ed210e2024-10-22 19:15:52 -070037 name: "arr_surfacecontrol_setframerate_api"
38 namespace: "core_graphics"
39 description: "New SDK SurfaceControl.Transaction#setFrameRate API for Android 16"
40 bug: "356987016"
41 is_fixed_read_only: true
42} # arr_surfacecontrol_setframerate_api
43
44flag {
Alec Mouri8face532024-11-09 22:15:32 +000045 name: "begone_bright_hlg"
46 namespace: "core_graphics"
47 description: "Caps HLG brightness relative to SDR"
48 bug: "362510107"
49 is_fixed_read_only: true
50} # begone_bright_hlg
51
52flag {
Melody Hsu793f8362024-01-08 20:00:35 +000053 name: "ce_fence_promise"
54 namespace: "window_surfaces"
55 description: "Moves logic for buffer release fences into LayerFE"
56 bug: "294936197"
57 is_fixed_read_only: true
58 metadata {
59 purpose: PURPOSE_BUGFIX
60 }
Melody Hsu7a458f72024-03-25 23:53:13 +000061 } # ce_fence_promise
Melody Hsu793f8362024-01-08 20:00:35 +000062
Lucas Berthou8d0a0c42024-08-27 14:32:31 +000063flag {
64 name: "commit_not_composited"
65 namespace: "core_graphics"
66 description: "mark frames as non janky if the transaction resulted in no composition"
67 bug: "340633280"
68 is_fixed_read_only: true
69 metadata {
70 purpose: PURPOSE_BUGFIX
71 }
72} # commit_not_composited
Ady Abraham14beed72024-05-15 17:16:45 -070073
Lucas Berthou8d0a0c42024-08-27 14:32:31 +000074flag {
Sasha McIntosh066288a2024-10-28 17:21:39 -040075 name: "connected_display_hdr"
76 namespace: "core_graphics"
77 description: "enable connected display hdr capability"
78 bug: "374182788"
79 is_fixed_read_only: true
80} # connected_display_hdr
81
82flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +000083 name: "correct_dpi_with_display_size"
84 namespace: "core_graphics"
85 description: "indicate whether missing or likely incorrect dpi should be corrected using the display size."
86 bug: "328425848"
87 is_fixed_read_only: true
88 metadata {
89 purpose: PURPOSE_BUGFIX
90 }
91} # correct_dpi_with_display_size
92
93flag {
Ben Widawsky12b51122024-10-14 11:07:47 -070094 name: "deprecate_frame_tracker"
95 namespace: "core_graphics"
96 description: "Deprecate using FrameTracker to accumulate and provide FrameStats"
97 bug: "241394120"
98 is_fixed_read_only: true
99 metadata {
100 purpose: PURPOSE_BUGFIX
101 }
102} # deprecate_frame_tracker
103
104flag {
Ady Abrahamb3347582024-04-03 01:01:51 +0000105 name: "deprecate_vsync_sf"
106 namespace: "core_graphics"
107 description: "Depracate eVsyncSourceSurfaceFlinger and use vsync_app everywhere"
108 bug: "162235855"
109 is_fixed_read_only: true
110 metadata {
111 purpose: PURPOSE_BUGFIX
112 }
113} # deprecate_vsync_sf
114
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000115flag {
Vishnu Nair491827d2024-04-29 23:43:26 +0000116 name: "detached_mirror"
117 namespace: "window_surfaces"
118 description: "Ignore local transform when mirroring a partial hierarchy"
119 bug: "337845753"
120 is_fixed_read_only: true
121 metadata {
122 purpose: PURPOSE_BUGFIX
123 }
Vishnu Nair9e0017e2024-05-22 19:02:44 +0000124} # detached_mirror
Vishnu Nair491827d2024-04-29 23:43:26 +0000125
Melody Hsu793f8362024-01-08 20:00:35 +0000126flag {
Manasi Navare6ab69ae2024-10-21 22:53:41 +0000127 name: "display_config_error_hal"
128 namespace: "core_graphics"
129 description: "Report HAL display configuration errors like modeset failure or link training failure"
130 bug: "374184110"
131 is_fixed_read_only: true
132} # display_config_error_hal
133
134flag {
Ady Abraham43a68c32024-09-04 19:21:20 -0700135 name: "filter_frames_before_trace_starts"
136 namespace: "core_graphics"
137 description: "Do not trace FrameTimeline events for frames started before the trace started"
138 bug: "364194637"
139 is_fixed_read_only: true
140 metadata {
141 purpose: PURPOSE_BUGFIX
142 }
143} # filter_frames_before_trace_starts
144
145flag {
Leon Scroggins IIIa3ba7fa2024-05-22 16:34:52 -0400146 name: "flush_buffer_slots_to_uncache"
147 namespace: "core_graphics"
148 description: "Flush DisplayCommands for disabled displays in order to uncache requested buffers."
149 bug: "330806421"
150 is_fixed_read_only: true
151 metadata {
152 purpose: PURPOSE_BUGFIX
153 }
154} # flush_buffer_slots_to_uncache
155
156flag {
Nolan Scobie4a466642024-05-23 16:22:22 -0400157 name: "force_compile_graphite_renderengine"
158 namespace: "core_graphics"
159 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."
160 bug: "293371537"
161 is_fixed_read_only: true
162} # force_compile_graphite_renderengine
163
164flag {
Rachel Lee52f0abe2024-03-14 18:34:04 -0700165 name: "frame_rate_category_mrr"
166 namespace: "core_graphics"
167 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"
168 bug: "330224639"
169 is_fixed_read_only: true
170 metadata {
171 purpose: PURPOSE_BUGFIX
172 }
173} # frame_rate_category_mrr
174
Ady Abrahambb1ad762024-03-27 18:31:28 -0700175flag {
Noelle Scobiec6acad12024-11-20 21:53:20 -0500176 name: "graphite_renderengine_preview_rollout"
177 namespace: "core_graphics"
178 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."
179 bug: "293371537"
180} # graphite_renderengine_preview_rollout
181
182flag {
Ady Abrahambb1ad762024-03-27 18:31:28 -0700183 name: "latch_unsignaled_with_auto_refresh_changed"
184 namespace: "core_graphics"
185 description: "Ignore eAutoRefreshChanged with latch unsignaled"
186 bug: "331513837"
187 is_fixed_read_only: true
188 metadata {
189 purpose: PURPOSE_BUGFIX
190 }
191} # latch_unsignaled_with_auto_refresh_changed
192
Alec Mouri1818c182024-05-13 18:25:11 +0000193flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000194 name: "local_tonemap_screenshots"
195 namespace: "core_graphics"
196 description: "Enables local tonemapping when capturing screenshots"
197 bug: "329464641"
198 is_fixed_read_only: true
Alec Mouri1818c182024-05-13 18:25:11 +0000199} # local_tonemap_screenshots
200
Melody Hsu8c42cf12024-06-05 00:07:03 +0000201flag {
Ady Abrahama8217b52024-10-31 15:51:45 -0700202 name: "no_vsyncs_on_screen_off"
203 namespace: "core_graphics"
204 description: "Stop vsync / Choreographer callbacks to apps when the screen is off"
205 bug: "331636736"
206 is_fixed_read_only: true
207} # no_vsyncs_on_screen_off
208
209flag {
Melody Hsu8c42cf12024-06-05 00:07:03 +0000210 name: "single_hop_screenshot"
211 namespace: "window_surfaces"
212 description: "Only access SF main thread once during a screenshot"
213 bug: "285553970"
214 is_fixed_read_only: true
215 metadata {
216 purpose: PURPOSE_BUGFIX
217 }
218 } # single_hop_screenshot
219
Alec Mouri2b96d352024-07-09 19:19:36 +0000220flag {
Wenhui Yangb09293f2024-11-08 23:42:19 +0000221 name: "skip_invisible_windows_in_input"
222 namespace: "window_surfaces"
223 description: "Only send visible windows to input list"
224 bug: "305254099"
225 is_fixed_read_only: true
226 metadata {
227 purpose: PURPOSE_BUGFIX
228 }
229 } # skip_invisible_windows_in_input
230
231flag {
Gil Dekel4c575a12024-11-14 15:11:16 -0500232 name: "stable_edid_ids"
233 namespace: "core_graphics"
234 description: "Guard use of the new stable EDID-based display IDs system."
235 bug: "352320847"
236 is_fixed_read_only: true
237} # stable_edid_ids
238
239flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000240 name: "true_hdr_screenshots"
241 namespace: "core_graphics"
242 description: "Enables screenshotting display content in HDR, sans tone mapping"
243 bug: "329470026"
244 is_fixed_read_only: true
Alec Mouri2b96d352024-07-09 19:19:36 +0000245} # true_hdr_screenshots
246
Vishnu Nair9e0017e2024-05-22 19:02:44 +0000247 flag {
248 name: "override_trusted_overlay"
249 namespace: "window_surfaces"
250 description: "Allow child to disable trusted overlay set by a parent layer"
251 bug: "339701674"
252 is_fixed_read_only: true
253 metadata {
254 purpose: PURPOSE_BUGFIX
255 }
256} # override_trusted_overlay
257
Vishnu Nairdf59f472024-05-17 16:51:33 +0000258flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000259 name: "view_set_requested_frame_rate_mrr"
260 namespace: "core_graphics"
261 description: "Enable to use frame rate category NoPreference with fixed frame rate vote on MRR devices"
262 bug: "352206100"
263 is_fixed_read_only: true
Rachel Lee0dd05182024-08-13 16:31:45 -0700264} # view_set_requested_frame_rate_mrr
265
266flag {
Vishnu Nairdf59f472024-05-17 16:51:33 +0000267 name: "vrr_bugfix_24q4"
268 namespace: "core_graphics"
269 description: "bug fixes for VRR"
270 bug: "331513837"
271 is_fixed_read_only: true
272 metadata {
273 purpose: PURPOSE_BUGFIX
274 }
275} # vrr_bugfix_24q4
276
ramindania3be80c2024-06-20 14:08:37 -0700277flag {
278 name: "vrr_bugfix_dropped_frame"
279 namespace: "core_graphics"
280 description: "bug fix for VRR dropped frame"
281 bug: "343603085"
282 is_fixed_read_only: true
283 metadata {
284 purpose: PURPOSE_BUGFIX
285 }
286} # vrr_bugfix_dropped_frame
287
Ady Abrahambcc90ee2024-02-28 15:43:51 -0800288# IMPORTANT - please keep alphabetize to reduce merge conflicts