blob: 34a935a2237a109bdcbe59a9b4de8678f8fbba6c [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 {
176 name: "latch_unsignaled_with_auto_refresh_changed"
177 namespace: "core_graphics"
178 description: "Ignore eAutoRefreshChanged with latch unsignaled"
179 bug: "331513837"
180 is_fixed_read_only: true
181 metadata {
182 purpose: PURPOSE_BUGFIX
183 }
184} # latch_unsignaled_with_auto_refresh_changed
185
Alec Mouri1818c182024-05-13 18:25:11 +0000186flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000187 name: "local_tonemap_screenshots"
188 namespace: "core_graphics"
189 description: "Enables local tonemapping when capturing screenshots"
190 bug: "329464641"
191 is_fixed_read_only: true
Alec Mouri1818c182024-05-13 18:25:11 +0000192} # local_tonemap_screenshots
193
Melody Hsu8c42cf12024-06-05 00:07:03 +0000194flag {
Ady Abrahama8217b52024-10-31 15:51:45 -0700195 name: "no_vsyncs_on_screen_off"
196 namespace: "core_graphics"
197 description: "Stop vsync / Choreographer callbacks to apps when the screen is off"
198 bug: "331636736"
199 is_fixed_read_only: true
200} # no_vsyncs_on_screen_off
201
202flag {
Melody Hsu8c42cf12024-06-05 00:07:03 +0000203 name: "single_hop_screenshot"
204 namespace: "window_surfaces"
205 description: "Only access SF main thread once during a screenshot"
206 bug: "285553970"
207 is_fixed_read_only: true
208 metadata {
209 purpose: PURPOSE_BUGFIX
210 }
211 } # single_hop_screenshot
212
Alec Mouri2b96d352024-07-09 19:19:36 +0000213flag {
Wenhui Yangb09293f2024-11-08 23:42:19 +0000214 name: "skip_invisible_windows_in_input"
215 namespace: "window_surfaces"
216 description: "Only send visible windows to input list"
217 bug: "305254099"
218 is_fixed_read_only: true
219 metadata {
220 purpose: PURPOSE_BUGFIX
221 }
222 } # skip_invisible_windows_in_input
223
224flag {
Gil Dekel4c575a12024-11-14 15:11:16 -0500225 name: "stable_edid_ids"
226 namespace: "core_graphics"
227 description: "Guard use of the new stable EDID-based display IDs system."
228 bug: "352320847"
229 is_fixed_read_only: true
230} # stable_edid_ids
231
232flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000233 name: "true_hdr_screenshots"
234 namespace: "core_graphics"
235 description: "Enables screenshotting display content in HDR, sans tone mapping"
236 bug: "329470026"
237 is_fixed_read_only: true
Alec Mouri2b96d352024-07-09 19:19:36 +0000238} # true_hdr_screenshots
239
Vishnu Nair9e0017e2024-05-22 19:02:44 +0000240 flag {
241 name: "override_trusted_overlay"
242 namespace: "window_surfaces"
243 description: "Allow child to disable trusted overlay set by a parent layer"
244 bug: "339701674"
245 is_fixed_read_only: true
246 metadata {
247 purpose: PURPOSE_BUGFIX
248 }
249} # override_trusted_overlay
250
Vishnu Nairdf59f472024-05-17 16:51:33 +0000251flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000252 name: "view_set_requested_frame_rate_mrr"
253 namespace: "core_graphics"
254 description: "Enable to use frame rate category NoPreference with fixed frame rate vote on MRR devices"
255 bug: "352206100"
256 is_fixed_read_only: true
Rachel Lee0dd05182024-08-13 16:31:45 -0700257} # view_set_requested_frame_rate_mrr
258
259flag {
Vishnu Nairdf59f472024-05-17 16:51:33 +0000260 name: "vrr_bugfix_24q4"
261 namespace: "core_graphics"
262 description: "bug fixes for VRR"
263 bug: "331513837"
264 is_fixed_read_only: true
265 metadata {
266 purpose: PURPOSE_BUGFIX
267 }
268} # vrr_bugfix_24q4
269
ramindania3be80c2024-06-20 14:08:37 -0700270flag {
271 name: "vrr_bugfix_dropped_frame"
272 namespace: "core_graphics"
273 description: "bug fix for VRR dropped frame"
274 bug: "343603085"
275 is_fixed_read_only: true
276 metadata {
277 purpose: PURPOSE_BUGFIX
278 }
279} # vrr_bugfix_dropped_frame
280
Ady Abrahambcc90ee2024-02-28 15:43:51 -0800281# IMPORTANT - please keep alphabetize to reduce merge conflicts