blob: fc0fabd3e7a9223fffd8b0593db0fbfcb78fddd6 [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
Mårten Kongstad966cf1b2024-11-28 07:58:20 +000034 is_exported: true
Rachel Lee032e7f42024-10-04 14:14:58 -070035} # arr_setframerate_api
36
37flag {
Rachel Leec6bc5f52024-11-25 21:40:14 -080038 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 {
Rachel Lee1ed210e2024-10-22 19:15:52 -070046 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
Mårten Kongstad966cf1b2024-11-28 07:58:20 +000051 is_exported: true
Rachel Lee1ed210e2024-10-22 19:15:52 -070052} # arr_surfacecontrol_setframerate_api
53
54flag {
Alec Mouri8face532024-11-09 22:15:32 +000055 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 {
Melody Hsu793f8362024-01-08 20:00:35 +000063 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 }
Melody Hsu7a458f72024-03-25 23:53:13 +000071 } # ce_fence_promise
Melody Hsu793f8362024-01-08 20:00:35 +000072
Lucas Berthou8d0a0c42024-08-27 14:32:31 +000073flag {
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
Ady Abraham14beed72024-05-15 17:16:45 -070083
Lucas Berthou8d0a0c42024-08-27 14:32:31 +000084flag {
Sasha McIntosh066288a2024-10-28 17:21:39 -040085 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 {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +000093 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 {
Ben Widawsky12b51122024-10-14 11:07:47 -0700104 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 {
Ady Abrahamb3347582024-04-03 01:01:51 +0000115 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
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000125flag {
Vishnu Nair491827d2024-04-29 23:43:26 +0000126 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 }
Vishnu Nair9e0017e2024-05-22 19:02:44 +0000134} # detached_mirror
Vishnu Nair491827d2024-04-29 23:43:26 +0000135
Melody Hsu793f8362024-01-08 20:00:35 +0000136flag {
Manasi Navare6ab69ae2024-10-21 22:53:41 +0000137 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 {
Ady Abraham43a68c32024-09-04 19:21:20 -0700145 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 {
Leon Scroggins IIIa3ba7fa2024-05-22 16:34:52 -0400156 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 {
Nolan Scobie4a466642024-05-23 16:22:22 -0400167 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 {
Rachel Lee52f0abe2024-03-14 18:34:04 -0700175 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
Ady Abrahambb1ad762024-03-27 18:31:28 -0700185flag {
Noelle Scobiec6acad12024-11-20 21:53:20 -0500186 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 {
Ady Abrahambb1ad762024-03-27 18:31:28 -0700193 name: "latch_unsignaled_with_auto_refresh_changed"
194 namespace: "core_graphics"
195 description: "Ignore eAutoRefreshChanged with latch unsignaled"
196 bug: "331513837"
197 is_fixed_read_only: true
198 metadata {
199 purpose: PURPOSE_BUGFIX
200 }
201} # latch_unsignaled_with_auto_refresh_changed
202
Alec Mouri1818c182024-05-13 18:25:11 +0000203flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000204 name: "local_tonemap_screenshots"
205 namespace: "core_graphics"
206 description: "Enables local tonemapping when capturing screenshots"
207 bug: "329464641"
208 is_fixed_read_only: true
Alec Mouri1818c182024-05-13 18:25:11 +0000209} # local_tonemap_screenshots
210
Melody Hsu8c42cf12024-06-05 00:07:03 +0000211flag {
Ady Abrahama8217b52024-10-31 15:51:45 -0700212 name: "no_vsyncs_on_screen_off"
213 namespace: "core_graphics"
214 description: "Stop vsync / Choreographer callbacks to apps when the screen is off"
215 bug: "331636736"
216 is_fixed_read_only: true
217} # no_vsyncs_on_screen_off
218
219flag {
Melody Hsu8c42cf12024-06-05 00:07:03 +0000220 name: "single_hop_screenshot"
221 namespace: "window_surfaces"
222 description: "Only access SF main thread once during a screenshot"
223 bug: "285553970"
224 is_fixed_read_only: true
225 metadata {
226 purpose: PURPOSE_BUGFIX
227 }
228 } # single_hop_screenshot
229
Alec Mouri2b96d352024-07-09 19:19:36 +0000230flag {
Wenhui Yangb09293f2024-11-08 23:42:19 +0000231 name: "skip_invisible_windows_in_input"
232 namespace: "window_surfaces"
233 description: "Only send visible windows to input list"
234 bug: "305254099"
235 is_fixed_read_only: true
236 metadata {
237 purpose: PURPOSE_BUGFIX
238 }
239 } # skip_invisible_windows_in_input
240
241flag {
Gil Dekel4c575a12024-11-14 15:11:16 -0500242 name: "stable_edid_ids"
243 namespace: "core_graphics"
244 description: "Guard use of the new stable EDID-based display IDs system."
245 bug: "352320847"
246 is_fixed_read_only: true
247} # stable_edid_ids
248
249flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000250 name: "true_hdr_screenshots"
251 namespace: "core_graphics"
252 description: "Enables screenshotting display content in HDR, sans tone mapping"
253 bug: "329470026"
254 is_fixed_read_only: true
Alec Mouri2b96d352024-07-09 19:19:36 +0000255} # true_hdr_screenshots
256
Vishnu Nair9e0017e2024-05-22 19:02:44 +0000257 flag {
258 name: "override_trusted_overlay"
259 namespace: "window_surfaces"
260 description: "Allow child to disable trusted overlay set by a parent layer"
261 bug: "339701674"
262 is_fixed_read_only: true
263 metadata {
264 purpose: PURPOSE_BUGFIX
265 }
266} # override_trusted_overlay
267
Vishnu Nairdf59f472024-05-17 16:51:33 +0000268flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000269 name: "view_set_requested_frame_rate_mrr"
270 namespace: "core_graphics"
271 description: "Enable to use frame rate category NoPreference with fixed frame rate vote on MRR devices"
272 bug: "352206100"
273 is_fixed_read_only: true
Rachel Lee0dd05182024-08-13 16:31:45 -0700274} # view_set_requested_frame_rate_mrr
275
276flag {
Vishnu Nairdf59f472024-05-17 16:51:33 +0000277 name: "vrr_bugfix_24q4"
278 namespace: "core_graphics"
279 description: "bug fixes for VRR"
280 bug: "331513837"
281 is_fixed_read_only: true
282 metadata {
283 purpose: PURPOSE_BUGFIX
284 }
285} # vrr_bugfix_24q4
286
ramindania3be80c2024-06-20 14:08:37 -0700287flag {
288 name: "vrr_bugfix_dropped_frame"
289 namespace: "core_graphics"
290 description: "bug fix for VRR dropped frame"
291 bug: "343603085"
292 is_fixed_read_only: true
293 metadata {
294 purpose: PURPOSE_BUGFIX
295 }
296} # vrr_bugfix_dropped_frame
297
Ady Abrahambcc90ee2024-02-28 15:43:51 -0800298# IMPORTANT - please keep alphabetize to reduce merge conflicts