blob: 6903941b4b0a588ac5a09c58e8ea5e3e1918f769 [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 {
Melody Hsu793f8362024-01-08 20:00:35 +000038 name: "ce_fence_promise"
39 namespace: "window_surfaces"
40 description: "Moves logic for buffer release fences into LayerFE"
41 bug: "294936197"
42 is_fixed_read_only: true
43 metadata {
44 purpose: PURPOSE_BUGFIX
45 }
Melody Hsu7a458f72024-03-25 23:53:13 +000046 } # ce_fence_promise
Melody Hsu793f8362024-01-08 20:00:35 +000047
Lucas Berthou8d0a0c42024-08-27 14:32:31 +000048flag {
49 name: "commit_not_composited"
50 namespace: "core_graphics"
51 description: "mark frames as non janky if the transaction resulted in no composition"
52 bug: "340633280"
53 is_fixed_read_only: true
54 metadata {
55 purpose: PURPOSE_BUGFIX
56 }
57} # commit_not_composited
Ady Abraham14beed72024-05-15 17:16:45 -070058
Lucas Berthou8d0a0c42024-08-27 14:32:31 +000059flag {
Sasha McIntosh066288a2024-10-28 17:21:39 -040060 name: "connected_display_hdr"
61 namespace: "core_graphics"
62 description: "enable connected display hdr capability"
63 bug: "374182788"
64 is_fixed_read_only: true
65} # connected_display_hdr
66
67flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +000068 name: "correct_dpi_with_display_size"
69 namespace: "core_graphics"
70 description: "indicate whether missing or likely incorrect dpi should be corrected using the display size."
71 bug: "328425848"
72 is_fixed_read_only: true
73 metadata {
74 purpose: PURPOSE_BUGFIX
75 }
76} # correct_dpi_with_display_size
77
78flag {
Ben Widawsky12b51122024-10-14 11:07:47 -070079 name: "deprecate_frame_tracker"
80 namespace: "core_graphics"
81 description: "Deprecate using FrameTracker to accumulate and provide FrameStats"
82 bug: "241394120"
83 is_fixed_read_only: true
84 metadata {
85 purpose: PURPOSE_BUGFIX
86 }
87} # deprecate_frame_tracker
88
89flag {
Ady Abrahamb3347582024-04-03 01:01:51 +000090 name: "deprecate_vsync_sf"
91 namespace: "core_graphics"
92 description: "Depracate eVsyncSourceSurfaceFlinger and use vsync_app everywhere"
93 bug: "162235855"
94 is_fixed_read_only: true
95 metadata {
96 purpose: PURPOSE_BUGFIX
97 }
98} # deprecate_vsync_sf
99
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000100flag {
Vishnu Nair491827d2024-04-29 23:43:26 +0000101 name: "detached_mirror"
102 namespace: "window_surfaces"
103 description: "Ignore local transform when mirroring a partial hierarchy"
104 bug: "337845753"
105 is_fixed_read_only: true
106 metadata {
107 purpose: PURPOSE_BUGFIX
108 }
Vishnu Nair9e0017e2024-05-22 19:02:44 +0000109} # detached_mirror
Vishnu Nair491827d2024-04-29 23:43:26 +0000110
Melody Hsu793f8362024-01-08 20:00:35 +0000111flag {
Manasi Navare6ab69ae2024-10-21 22:53:41 +0000112 name: "display_config_error_hal"
113 namespace: "core_graphics"
114 description: "Report HAL display configuration errors like modeset failure or link training failure"
115 bug: "374184110"
116 is_fixed_read_only: true
117} # display_config_error_hal
118
119flag {
Ady Abraham43a68c32024-09-04 19:21:20 -0700120 name: "filter_frames_before_trace_starts"
121 namespace: "core_graphics"
122 description: "Do not trace FrameTimeline events for frames started before the trace started"
123 bug: "364194637"
124 is_fixed_read_only: true
125 metadata {
126 purpose: PURPOSE_BUGFIX
127 }
128} # filter_frames_before_trace_starts
129
130flag {
Leon Scroggins IIIa3ba7fa2024-05-22 16:34:52 -0400131 name: "flush_buffer_slots_to_uncache"
132 namespace: "core_graphics"
133 description: "Flush DisplayCommands for disabled displays in order to uncache requested buffers."
134 bug: "330806421"
135 is_fixed_read_only: true
136 metadata {
137 purpose: PURPOSE_BUGFIX
138 }
139} # flush_buffer_slots_to_uncache
140
141flag {
Nolan Scobie4a466642024-05-23 16:22:22 -0400142 name: "force_compile_graphite_renderengine"
143 namespace: "core_graphics"
144 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."
145 bug: "293371537"
146 is_fixed_read_only: true
147} # force_compile_graphite_renderengine
148
149flag {
Rachel Lee52f0abe2024-03-14 18:34:04 -0700150 name: "frame_rate_category_mrr"
151 namespace: "core_graphics"
152 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"
153 bug: "330224639"
154 is_fixed_read_only: true
155 metadata {
156 purpose: PURPOSE_BUGFIX
157 }
158} # frame_rate_category_mrr
159
Ady Abrahambb1ad762024-03-27 18:31:28 -0700160flag {
161 name: "latch_unsignaled_with_auto_refresh_changed"
162 namespace: "core_graphics"
163 description: "Ignore eAutoRefreshChanged with latch unsignaled"
164 bug: "331513837"
165 is_fixed_read_only: true
166 metadata {
167 purpose: PURPOSE_BUGFIX
168 }
169} # latch_unsignaled_with_auto_refresh_changed
170
Alec Mouri1818c182024-05-13 18:25:11 +0000171flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000172 name: "local_tonemap_screenshots"
173 namespace: "core_graphics"
174 description: "Enables local tonemapping when capturing screenshots"
175 bug: "329464641"
176 is_fixed_read_only: true
Alec Mouri1818c182024-05-13 18:25:11 +0000177} # local_tonemap_screenshots
178
Melody Hsu8c42cf12024-06-05 00:07:03 +0000179flag {
Ady Abrahama8217b52024-10-31 15:51:45 -0700180 name: "no_vsyncs_on_screen_off"
181 namespace: "core_graphics"
182 description: "Stop vsync / Choreographer callbacks to apps when the screen is off"
183 bug: "331636736"
184 is_fixed_read_only: true
185} # no_vsyncs_on_screen_off
186
187flag {
Melody Hsu8c42cf12024-06-05 00:07:03 +0000188 name: "single_hop_screenshot"
189 namespace: "window_surfaces"
190 description: "Only access SF main thread once during a screenshot"
191 bug: "285553970"
192 is_fixed_read_only: true
193 metadata {
194 purpose: PURPOSE_BUGFIX
195 }
196 } # single_hop_screenshot
197
Alec Mouri2b96d352024-07-09 19:19:36 +0000198flag {
Wenhui Yangb09293f2024-11-08 23:42:19 +0000199 name: "skip_invisible_windows_in_input"
200 namespace: "window_surfaces"
201 description: "Only send visible windows to input list"
202 bug: "305254099"
203 is_fixed_read_only: true
204 metadata {
205 purpose: PURPOSE_BUGFIX
206 }
207 } # skip_invisible_windows_in_input
208
209flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000210 name: "true_hdr_screenshots"
211 namespace: "core_graphics"
212 description: "Enables screenshotting display content in HDR, sans tone mapping"
213 bug: "329470026"
214 is_fixed_read_only: true
Alec Mouri2b96d352024-07-09 19:19:36 +0000215} # true_hdr_screenshots
216
Vishnu Nair9e0017e2024-05-22 19:02:44 +0000217 flag {
218 name: "override_trusted_overlay"
219 namespace: "window_surfaces"
220 description: "Allow child to disable trusted overlay set by a parent layer"
221 bug: "339701674"
222 is_fixed_read_only: true
223 metadata {
224 purpose: PURPOSE_BUGFIX
225 }
226} # override_trusted_overlay
227
Vishnu Nairdf59f472024-05-17 16:51:33 +0000228flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000229 name: "view_set_requested_frame_rate_mrr"
230 namespace: "core_graphics"
231 description: "Enable to use frame rate category NoPreference with fixed frame rate vote on MRR devices"
232 bug: "352206100"
233 is_fixed_read_only: true
Rachel Lee0dd05182024-08-13 16:31:45 -0700234} # view_set_requested_frame_rate_mrr
235
236flag {
Vishnu Nairdf59f472024-05-17 16:51:33 +0000237 name: "vrr_bugfix_24q4"
238 namespace: "core_graphics"
239 description: "bug fixes for VRR"
240 bug: "331513837"
241 is_fixed_read_only: true
242 metadata {
243 purpose: PURPOSE_BUGFIX
244 }
245} # vrr_bugfix_24q4
246
ramindania3be80c2024-06-20 14:08:37 -0700247flag {
248 name: "vrr_bugfix_dropped_frame"
249 namespace: "core_graphics"
250 description: "bug fix for VRR dropped frame"
251 bug: "343603085"
252 is_fixed_read_only: true
253 metadata {
254 purpose: PURPOSE_BUGFIX
255 }
256} # vrr_bugfix_dropped_frame
257
Ady Abrahambcc90ee2024-02-28 15:43:51 -0800258# IMPORTANT - please keep alphabetize to reduce merge conflicts