blob: dfce722e72e12e757ef35e0312d8adc0ab882795 [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 Lee1ed210e2024-10-22 19:15:52 -070038 name: "arr_surfacecontrol_setframerate_api"
39 namespace: "core_graphics"
40 description: "New SDK SurfaceControl.Transaction#setFrameRate API for Android 16"
41 bug: "356987016"
42 is_fixed_read_only: true
Mårten Kongstad966cf1b2024-11-28 07:58:20 +000043 is_exported: true
Rachel Lee1ed210e2024-10-22 19:15:52 -070044} # arr_surfacecontrol_setframerate_api
45
46flag {
Alec Mouri8face532024-11-09 22:15:32 +000047 name: "begone_bright_hlg"
48 namespace: "core_graphics"
49 description: "Caps HLG brightness relative to SDR"
50 bug: "362510107"
51 is_fixed_read_only: true
52} # begone_bright_hlg
53
54flag {
Melody Hsu793f8362024-01-08 20:00:35 +000055 name: "ce_fence_promise"
56 namespace: "window_surfaces"
57 description: "Moves logic for buffer release fences into LayerFE"
58 bug: "294936197"
59 is_fixed_read_only: true
60 metadata {
61 purpose: PURPOSE_BUGFIX
62 }
Melody Hsu7a458f72024-03-25 23:53:13 +000063 } # ce_fence_promise
Melody Hsu793f8362024-01-08 20:00:35 +000064
Lucas Berthou8d0a0c42024-08-27 14:32:31 +000065flag {
66 name: "commit_not_composited"
67 namespace: "core_graphics"
68 description: "mark frames as non janky if the transaction resulted in no composition"
69 bug: "340633280"
70 is_fixed_read_only: true
71 metadata {
72 purpose: PURPOSE_BUGFIX
73 }
74} # commit_not_composited
Ady Abraham14beed72024-05-15 17:16:45 -070075
Lucas Berthou8d0a0c42024-08-27 14:32:31 +000076flag {
Sasha McIntosh066288a2024-10-28 17:21:39 -040077 name: "connected_display_hdr"
78 namespace: "core_graphics"
79 description: "enable connected display hdr capability"
80 bug: "374182788"
81 is_fixed_read_only: true
82} # connected_display_hdr
83
84flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +000085 name: "correct_dpi_with_display_size"
86 namespace: "core_graphics"
87 description: "indicate whether missing or likely incorrect dpi should be corrected using the display size."
88 bug: "328425848"
89 is_fixed_read_only: true
90 metadata {
91 purpose: PURPOSE_BUGFIX
92 }
93} # correct_dpi_with_display_size
94
95flag {
Ben Widawsky12b51122024-10-14 11:07:47 -070096 name: "deprecate_frame_tracker"
97 namespace: "core_graphics"
98 description: "Deprecate using FrameTracker to accumulate and provide FrameStats"
99 bug: "241394120"
100 is_fixed_read_only: true
101 metadata {
102 purpose: PURPOSE_BUGFIX
103 }
104} # deprecate_frame_tracker
105
106flag {
Ady Abrahamb3347582024-04-03 01:01:51 +0000107 name: "deprecate_vsync_sf"
108 namespace: "core_graphics"
109 description: "Depracate eVsyncSourceSurfaceFlinger and use vsync_app everywhere"
110 bug: "162235855"
111 is_fixed_read_only: true
112 metadata {
113 purpose: PURPOSE_BUGFIX
114 }
115} # deprecate_vsync_sf
116
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000117flag {
Vishnu Nair491827d2024-04-29 23:43:26 +0000118 name: "detached_mirror"
119 namespace: "window_surfaces"
120 description: "Ignore local transform when mirroring a partial hierarchy"
121 bug: "337845753"
122 is_fixed_read_only: true
123 metadata {
124 purpose: PURPOSE_BUGFIX
125 }
Vishnu Nair9e0017e2024-05-22 19:02:44 +0000126} # detached_mirror
Vishnu Nair491827d2024-04-29 23:43:26 +0000127
Melody Hsu793f8362024-01-08 20:00:35 +0000128flag {
Manasi Navare6ab69ae2024-10-21 22:53:41 +0000129 name: "display_config_error_hal"
130 namespace: "core_graphics"
131 description: "Report HAL display configuration errors like modeset failure or link training failure"
132 bug: "374184110"
133 is_fixed_read_only: true
134} # display_config_error_hal
135
136flag {
Ady Abraham43a68c32024-09-04 19:21:20 -0700137 name: "filter_frames_before_trace_starts"
138 namespace: "core_graphics"
139 description: "Do not trace FrameTimeline events for frames started before the trace started"
140 bug: "364194637"
141 is_fixed_read_only: true
142 metadata {
143 purpose: PURPOSE_BUGFIX
144 }
145} # filter_frames_before_trace_starts
146
147flag {
Leon Scroggins IIIa3ba7fa2024-05-22 16:34:52 -0400148 name: "flush_buffer_slots_to_uncache"
149 namespace: "core_graphics"
150 description: "Flush DisplayCommands for disabled displays in order to uncache requested buffers."
151 bug: "330806421"
152 is_fixed_read_only: true
153 metadata {
154 purpose: PURPOSE_BUGFIX
155 }
156} # flush_buffer_slots_to_uncache
157
158flag {
Nolan Scobie4a466642024-05-23 16:22:22 -0400159 name: "force_compile_graphite_renderengine"
160 namespace: "core_graphics"
161 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."
162 bug: "293371537"
163 is_fixed_read_only: true
164} # force_compile_graphite_renderengine
165
166flag {
Rachel Lee52f0abe2024-03-14 18:34:04 -0700167 name: "frame_rate_category_mrr"
168 namespace: "core_graphics"
169 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"
170 bug: "330224639"
171 is_fixed_read_only: true
172 metadata {
173 purpose: PURPOSE_BUGFIX
174 }
175} # frame_rate_category_mrr
176
Ady Abrahambb1ad762024-03-27 18:31:28 -0700177flag {
Noelle Scobiec6acad12024-11-20 21:53:20 -0500178 name: "graphite_renderengine_preview_rollout"
179 namespace: "core_graphics"
180 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."
181 bug: "293371537"
182} # graphite_renderengine_preview_rollout
183
184flag {
Ady Abrahambb1ad762024-03-27 18:31:28 -0700185 name: "latch_unsignaled_with_auto_refresh_changed"
186 namespace: "core_graphics"
187 description: "Ignore eAutoRefreshChanged with latch unsignaled"
188 bug: "331513837"
189 is_fixed_read_only: true
190 metadata {
191 purpose: PURPOSE_BUGFIX
192 }
193} # latch_unsignaled_with_auto_refresh_changed
194
Alec Mouri1818c182024-05-13 18:25:11 +0000195flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000196 name: "local_tonemap_screenshots"
197 namespace: "core_graphics"
198 description: "Enables local tonemapping when capturing screenshots"
199 bug: "329464641"
200 is_fixed_read_only: true
Alec Mouri1818c182024-05-13 18:25:11 +0000201} # local_tonemap_screenshots
202
Melody Hsu8c42cf12024-06-05 00:07:03 +0000203flag {
Ady Abrahama8217b52024-10-31 15:51:45 -0700204 name: "no_vsyncs_on_screen_off"
205 namespace: "core_graphics"
206 description: "Stop vsync / Choreographer callbacks to apps when the screen is off"
207 bug: "331636736"
208 is_fixed_read_only: true
209} # no_vsyncs_on_screen_off
210
211flag {
Melody Hsu8c42cf12024-06-05 00:07:03 +0000212 name: "single_hop_screenshot"
213 namespace: "window_surfaces"
214 description: "Only access SF main thread once during a screenshot"
215 bug: "285553970"
216 is_fixed_read_only: true
217 metadata {
218 purpose: PURPOSE_BUGFIX
219 }
220 } # single_hop_screenshot
221
Alec Mouri2b96d352024-07-09 19:19:36 +0000222flag {
Wenhui Yangb09293f2024-11-08 23:42:19 +0000223 name: "skip_invisible_windows_in_input"
224 namespace: "window_surfaces"
225 description: "Only send visible windows to input list"
226 bug: "305254099"
227 is_fixed_read_only: true
228 metadata {
229 purpose: PURPOSE_BUGFIX
230 }
231 } # skip_invisible_windows_in_input
232
233flag {
Gil Dekel4c575a12024-11-14 15:11:16 -0500234 name: "stable_edid_ids"
235 namespace: "core_graphics"
236 description: "Guard use of the new stable EDID-based display IDs system."
237 bug: "352320847"
238 is_fixed_read_only: true
239} # stable_edid_ids
240
241flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000242 name: "true_hdr_screenshots"
243 namespace: "core_graphics"
244 description: "Enables screenshotting display content in HDR, sans tone mapping"
245 bug: "329470026"
246 is_fixed_read_only: true
Alec Mouri2b96d352024-07-09 19:19:36 +0000247} # true_hdr_screenshots
248
Vishnu Nair9e0017e2024-05-22 19:02:44 +0000249 flag {
250 name: "override_trusted_overlay"
251 namespace: "window_surfaces"
252 description: "Allow child to disable trusted overlay set by a parent layer"
253 bug: "339701674"
254 is_fixed_read_only: true
255 metadata {
256 purpose: PURPOSE_BUGFIX
257 }
258} # override_trusted_overlay
259
Vishnu Nairdf59f472024-05-17 16:51:33 +0000260flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000261 name: "view_set_requested_frame_rate_mrr"
262 namespace: "core_graphics"
263 description: "Enable to use frame rate category NoPreference with fixed frame rate vote on MRR devices"
264 bug: "352206100"
265 is_fixed_read_only: true
Rachel Lee0dd05182024-08-13 16:31:45 -0700266} # view_set_requested_frame_rate_mrr
267
268flag {
Vishnu Nairdf59f472024-05-17 16:51:33 +0000269 name: "vrr_bugfix_24q4"
270 namespace: "core_graphics"
271 description: "bug fixes for VRR"
272 bug: "331513837"
273 is_fixed_read_only: true
274 metadata {
275 purpose: PURPOSE_BUGFIX
276 }
277} # vrr_bugfix_24q4
278
ramindania3be80c2024-06-20 14:08:37 -0700279flag {
280 name: "vrr_bugfix_dropped_frame"
281 namespace: "core_graphics"
282 description: "bug fix for VRR dropped frame"
283 bug: "343603085"
284 is_fixed_read_only: true
285 metadata {
286 purpose: PURPOSE_BUGFIX
287 }
288} # vrr_bugfix_dropped_frame
289
Ady Abrahambcc90ee2024-02-28 15:43:51 -0800290# IMPORTANT - please keep alphabetize to reduce merge conflicts