blob: 11884350085ccac9705dfc1b3098379c89925079 [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 {
Rachel Lee032e7f42024-10-04 14:14:58 -070022 name: "arr_setframerate_api"
23 namespace: "core_graphics"
Rachel Lee1ed210e2024-10-22 19:15:52 -070024 description: "New SDK Surface#setFrameRate API and Surface.FrameRateParams for Android 16"
Rachel Lee032e7f42024-10-04 14:14:58 -070025 bug: "356987016"
26 is_fixed_read_only: true
27} # arr_setframerate_api
28
29flag {
Rachel Lee1ed210e2024-10-22 19:15:52 -070030 name: "arr_surfacecontrol_setframerate_api"
31 namespace: "core_graphics"
32 description: "New SDK SurfaceControl.Transaction#setFrameRate API for Android 16"
33 bug: "356987016"
34 is_fixed_read_only: true
35} # arr_surfacecontrol_setframerate_api
36
37flag {
Alec Mouri8face532024-11-09 22:15:32 +000038 name: "begone_bright_hlg"
39 namespace: "core_graphics"
40 description: "Caps HLG brightness relative to SDR"
41 bug: "362510107"
42 is_fixed_read_only: true
43} # begone_bright_hlg
44
45flag {
Melody Hsu793f8362024-01-08 20:00:35 +000046 name: "ce_fence_promise"
47 namespace: "window_surfaces"
48 description: "Moves logic for buffer release fences into LayerFE"
49 bug: "294936197"
50 is_fixed_read_only: true
51 metadata {
52 purpose: PURPOSE_BUGFIX
53 }
Melody Hsu7a458f72024-03-25 23:53:13 +000054 } # ce_fence_promise
Melody Hsu793f8362024-01-08 20:00:35 +000055
Lucas Berthou8d0a0c42024-08-27 14:32:31 +000056flag {
57 name: "commit_not_composited"
58 namespace: "core_graphics"
59 description: "mark frames as non janky if the transaction resulted in no composition"
60 bug: "340633280"
61 is_fixed_read_only: true
62 metadata {
63 purpose: PURPOSE_BUGFIX
64 }
65} # commit_not_composited
Ady Abraham14beed72024-05-15 17:16:45 -070066
Lucas Berthou8d0a0c42024-08-27 14:32:31 +000067flag {
Sasha McIntosh066288a2024-10-28 17:21:39 -040068 name: "connected_display_hdr"
69 namespace: "core_graphics"
70 description: "enable connected display hdr capability"
71 bug: "374182788"
72 is_fixed_read_only: true
73} # connected_display_hdr
74
75flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +000076 name: "correct_dpi_with_display_size"
77 namespace: "core_graphics"
78 description: "indicate whether missing or likely incorrect dpi should be corrected using the display size."
79 bug: "328425848"
80 is_fixed_read_only: true
81 metadata {
82 purpose: PURPOSE_BUGFIX
83 }
84} # correct_dpi_with_display_size
85
86flag {
Ben Widawsky12b51122024-10-14 11:07:47 -070087 name: "deprecate_frame_tracker"
88 namespace: "core_graphics"
89 description: "Deprecate using FrameTracker to accumulate and provide FrameStats"
90 bug: "241394120"
91 is_fixed_read_only: true
92 metadata {
93 purpose: PURPOSE_BUGFIX
94 }
95} # deprecate_frame_tracker
96
97flag {
Ady Abrahamb3347582024-04-03 01:01:51 +000098 name: "deprecate_vsync_sf"
99 namespace: "core_graphics"
100 description: "Depracate eVsyncSourceSurfaceFlinger and use vsync_app everywhere"
101 bug: "162235855"
102 is_fixed_read_only: true
103 metadata {
104 purpose: PURPOSE_BUGFIX
105 }
106} # deprecate_vsync_sf
107
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000108flag {
Vishnu Nair491827d2024-04-29 23:43:26 +0000109 name: "detached_mirror"
110 namespace: "window_surfaces"
111 description: "Ignore local transform when mirroring a partial hierarchy"
112 bug: "337845753"
113 is_fixed_read_only: true
114 metadata {
115 purpose: PURPOSE_BUGFIX
116 }
Vishnu Nair9e0017e2024-05-22 19:02:44 +0000117} # detached_mirror
Vishnu Nair491827d2024-04-29 23:43:26 +0000118
Melody Hsu793f8362024-01-08 20:00:35 +0000119flag {
Manasi Navare6ab69ae2024-10-21 22:53:41 +0000120 name: "display_config_error_hal"
121 namespace: "core_graphics"
122 description: "Report HAL display configuration errors like modeset failure or link training failure"
123 bug: "374184110"
124 is_fixed_read_only: true
125} # display_config_error_hal
126
127flag {
Ady Abraham43a68c32024-09-04 19:21:20 -0700128 name: "filter_frames_before_trace_starts"
129 namespace: "core_graphics"
130 description: "Do not trace FrameTimeline events for frames started before the trace started"
131 bug: "364194637"
132 is_fixed_read_only: true
133 metadata {
134 purpose: PURPOSE_BUGFIX
135 }
136} # filter_frames_before_trace_starts
137
138flag {
Leon Scroggins IIIa3ba7fa2024-05-22 16:34:52 -0400139 name: "flush_buffer_slots_to_uncache"
140 namespace: "core_graphics"
141 description: "Flush DisplayCommands for disabled displays in order to uncache requested buffers."
142 bug: "330806421"
143 is_fixed_read_only: true
144 metadata {
145 purpose: PURPOSE_BUGFIX
146 }
147} # flush_buffer_slots_to_uncache
148
149flag {
Nolan Scobie4a466642024-05-23 16:22:22 -0400150 name: "force_compile_graphite_renderengine"
151 namespace: "core_graphics"
152 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."
153 bug: "293371537"
154 is_fixed_read_only: true
155} # force_compile_graphite_renderengine
156
157flag {
Rachel Lee52f0abe2024-03-14 18:34:04 -0700158 name: "frame_rate_category_mrr"
159 namespace: "core_graphics"
160 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"
161 bug: "330224639"
162 is_fixed_read_only: true
163 metadata {
164 purpose: PURPOSE_BUGFIX
165 }
166} # frame_rate_category_mrr
167
Ady Abrahambb1ad762024-03-27 18:31:28 -0700168flag {
169 name: "latch_unsignaled_with_auto_refresh_changed"
170 namespace: "core_graphics"
171 description: "Ignore eAutoRefreshChanged with latch unsignaled"
172 bug: "331513837"
173 is_fixed_read_only: true
174 metadata {
175 purpose: PURPOSE_BUGFIX
176 }
177} # latch_unsignaled_with_auto_refresh_changed
178
Alec Mouri1818c182024-05-13 18:25:11 +0000179flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000180 name: "local_tonemap_screenshots"
181 namespace: "core_graphics"
182 description: "Enables local tonemapping when capturing screenshots"
183 bug: "329464641"
184 is_fixed_read_only: true
Alec Mouri1818c182024-05-13 18:25:11 +0000185} # local_tonemap_screenshots
186
Melody Hsu8c42cf12024-06-05 00:07:03 +0000187flag {
Ady Abrahama8217b52024-10-31 15:51:45 -0700188 name: "no_vsyncs_on_screen_off"
189 namespace: "core_graphics"
190 description: "Stop vsync / Choreographer callbacks to apps when the screen is off"
191 bug: "331636736"
192 is_fixed_read_only: true
193} # no_vsyncs_on_screen_off
194
195flag {
Melody Hsu8c42cf12024-06-05 00:07:03 +0000196 name: "single_hop_screenshot"
197 namespace: "window_surfaces"
198 description: "Only access SF main thread once during a screenshot"
199 bug: "285553970"
200 is_fixed_read_only: true
201 metadata {
202 purpose: PURPOSE_BUGFIX
203 }
204 } # single_hop_screenshot
205
Alec Mouri2b96d352024-07-09 19:19:36 +0000206flag {
Wenhui Yangb09293f2024-11-08 23:42:19 +0000207 name: "skip_invisible_windows_in_input"
208 namespace: "window_surfaces"
209 description: "Only send visible windows to input list"
210 bug: "305254099"
211 is_fixed_read_only: true
212 metadata {
213 purpose: PURPOSE_BUGFIX
214 }
215 } # skip_invisible_windows_in_input
216
217flag {
Gil Dekel4c575a12024-11-14 15:11:16 -0500218 name: "stable_edid_ids"
219 namespace: "core_graphics"
220 description: "Guard use of the new stable EDID-based display IDs system."
221 bug: "352320847"
222 is_fixed_read_only: true
223} # stable_edid_ids
224
225flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000226 name: "true_hdr_screenshots"
227 namespace: "core_graphics"
228 description: "Enables screenshotting display content in HDR, sans tone mapping"
229 bug: "329470026"
230 is_fixed_read_only: true
Alec Mouri2b96d352024-07-09 19:19:36 +0000231} # true_hdr_screenshots
232
Vishnu Nair9e0017e2024-05-22 19:02:44 +0000233 flag {
234 name: "override_trusted_overlay"
235 namespace: "window_surfaces"
236 description: "Allow child to disable trusted overlay set by a parent layer"
237 bug: "339701674"
238 is_fixed_read_only: true
239 metadata {
240 purpose: PURPOSE_BUGFIX
241 }
242} # override_trusted_overlay
243
Vishnu Nairdf59f472024-05-17 16:51:33 +0000244flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000245 name: "view_set_requested_frame_rate_mrr"
246 namespace: "core_graphics"
247 description: "Enable to use frame rate category NoPreference with fixed frame rate vote on MRR devices"
248 bug: "352206100"
249 is_fixed_read_only: true
Rachel Lee0dd05182024-08-13 16:31:45 -0700250} # view_set_requested_frame_rate_mrr
251
252flag {
Vishnu Nairdf59f472024-05-17 16:51:33 +0000253 name: "vrr_bugfix_24q4"
254 namespace: "core_graphics"
255 description: "bug fixes for VRR"
256 bug: "331513837"
257 is_fixed_read_only: true
258 metadata {
259 purpose: PURPOSE_BUGFIX
260 }
261} # vrr_bugfix_24q4
262
ramindania3be80c2024-06-20 14:08:37 -0700263flag {
264 name: "vrr_bugfix_dropped_frame"
265 namespace: "core_graphics"
266 description: "bug fix for VRR dropped frame"
267 bug: "343603085"
268 is_fixed_read_only: true
269 metadata {
270 purpose: PURPOSE_BUGFIX
271 }
272} # vrr_bugfix_dropped_frame
273
Ady Abrahambcc90ee2024-02-28 15:43:51 -0800274# IMPORTANT - please keep alphabetize to reduce merge conflicts