blob: ce334e476fd1d786fa28dcbb06955f6c4d0efd93 [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 {
Ady Abrahamb3347582024-04-03 01:01:51 +000079 name: "deprecate_vsync_sf"
80 namespace: "core_graphics"
81 description: "Depracate eVsyncSourceSurfaceFlinger and use vsync_app everywhere"
82 bug: "162235855"
83 is_fixed_read_only: true
84 metadata {
85 purpose: PURPOSE_BUGFIX
86 }
87} # deprecate_vsync_sf
88
Lucas Berthou8d0a0c42024-08-27 14:32:31 +000089flag {
Vishnu Nair491827d2024-04-29 23:43:26 +000090 name: "detached_mirror"
91 namespace: "window_surfaces"
92 description: "Ignore local transform when mirroring a partial hierarchy"
93 bug: "337845753"
94 is_fixed_read_only: true
95 metadata {
96 purpose: PURPOSE_BUGFIX
97 }
Vishnu Nair9e0017e2024-05-22 19:02:44 +000098} # detached_mirror
Vishnu Nair491827d2024-04-29 23:43:26 +000099
Melody Hsu793f8362024-01-08 20:00:35 +0000100flag {
Manasi Navare6ab69ae2024-10-21 22:53:41 +0000101 name: "display_config_error_hal"
102 namespace: "core_graphics"
103 description: "Report HAL display configuration errors like modeset failure or link training failure"
104 bug: "374184110"
105 is_fixed_read_only: true
106} # display_config_error_hal
107
108flag {
Ady Abraham43a68c32024-09-04 19:21:20 -0700109 name: "filter_frames_before_trace_starts"
110 namespace: "core_graphics"
111 description: "Do not trace FrameTimeline events for frames started before the trace started"
112 bug: "364194637"
113 is_fixed_read_only: true
114 metadata {
115 purpose: PURPOSE_BUGFIX
116 }
117} # filter_frames_before_trace_starts
118
119flag {
Leon Scroggins IIIa3ba7fa2024-05-22 16:34:52 -0400120 name: "flush_buffer_slots_to_uncache"
121 namespace: "core_graphics"
122 description: "Flush DisplayCommands for disabled displays in order to uncache requested buffers."
123 bug: "330806421"
124 is_fixed_read_only: true
125 metadata {
126 purpose: PURPOSE_BUGFIX
127 }
128} # flush_buffer_slots_to_uncache
129
130flag {
Nolan Scobie4a466642024-05-23 16:22:22 -0400131 name: "force_compile_graphite_renderengine"
132 namespace: "core_graphics"
133 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."
134 bug: "293371537"
135 is_fixed_read_only: true
136} # force_compile_graphite_renderengine
137
138flag {
Rachel Lee52f0abe2024-03-14 18:34:04 -0700139 name: "frame_rate_category_mrr"
140 namespace: "core_graphics"
141 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"
142 bug: "330224639"
143 is_fixed_read_only: true
144 metadata {
145 purpose: PURPOSE_BUGFIX
146 }
147} # frame_rate_category_mrr
148
Ady Abrahambb1ad762024-03-27 18:31:28 -0700149flag {
150 name: "latch_unsignaled_with_auto_refresh_changed"
151 namespace: "core_graphics"
152 description: "Ignore eAutoRefreshChanged with latch unsignaled"
153 bug: "331513837"
154 is_fixed_read_only: true
155 metadata {
156 purpose: PURPOSE_BUGFIX
157 }
158} # latch_unsignaled_with_auto_refresh_changed
159
Alec Mouri1818c182024-05-13 18:25:11 +0000160flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000161 name: "local_tonemap_screenshots"
162 namespace: "core_graphics"
163 description: "Enables local tonemapping when capturing screenshots"
164 bug: "329464641"
165 is_fixed_read_only: true
Alec Mouri1818c182024-05-13 18:25:11 +0000166} # local_tonemap_screenshots
167
Melody Hsu8c42cf12024-06-05 00:07:03 +0000168flag {
Ady Abrahama8217b52024-10-31 15:51:45 -0700169 name: "no_vsyncs_on_screen_off"
170 namespace: "core_graphics"
171 description: "Stop vsync / Choreographer callbacks to apps when the screen is off"
172 bug: "331636736"
173 is_fixed_read_only: true
174} # no_vsyncs_on_screen_off
175
176flag {
Melody Hsu8c42cf12024-06-05 00:07:03 +0000177 name: "single_hop_screenshot"
178 namespace: "window_surfaces"
179 description: "Only access SF main thread once during a screenshot"
180 bug: "285553970"
181 is_fixed_read_only: true
182 metadata {
183 purpose: PURPOSE_BUGFIX
184 }
185 } # single_hop_screenshot
186
Alec Mouri2b96d352024-07-09 19:19:36 +0000187flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000188 name: "true_hdr_screenshots"
189 namespace: "core_graphics"
190 description: "Enables screenshotting display content in HDR, sans tone mapping"
191 bug: "329470026"
192 is_fixed_read_only: true
Alec Mouri2b96d352024-07-09 19:19:36 +0000193} # true_hdr_screenshots
194
Vishnu Nair9e0017e2024-05-22 19:02:44 +0000195 flag {
196 name: "override_trusted_overlay"
197 namespace: "window_surfaces"
198 description: "Allow child to disable trusted overlay set by a parent layer"
199 bug: "339701674"
200 is_fixed_read_only: true
201 metadata {
202 purpose: PURPOSE_BUGFIX
203 }
204} # override_trusted_overlay
205
Vishnu Nairdf59f472024-05-17 16:51:33 +0000206flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000207 name: "view_set_requested_frame_rate_mrr"
208 namespace: "core_graphics"
209 description: "Enable to use frame rate category NoPreference with fixed frame rate vote on MRR devices"
210 bug: "352206100"
211 is_fixed_read_only: true
Rachel Lee0dd05182024-08-13 16:31:45 -0700212} # view_set_requested_frame_rate_mrr
213
214flag {
Vishnu Nairdf59f472024-05-17 16:51:33 +0000215 name: "vrr_bugfix_24q4"
216 namespace: "core_graphics"
217 description: "bug fixes for VRR"
218 bug: "331513837"
219 is_fixed_read_only: true
220 metadata {
221 purpose: PURPOSE_BUGFIX
222 }
223} # vrr_bugfix_24q4
224
ramindania3be80c2024-06-20 14:08:37 -0700225flag {
226 name: "vrr_bugfix_dropped_frame"
227 namespace: "core_graphics"
228 description: "bug fix for VRR dropped frame"
229 bug: "343603085"
230 is_fixed_read_only: true
231 metadata {
232 purpose: PURPOSE_BUGFIX
233 }
234} # vrr_bugfix_dropped_frame
235
Ady Abrahambcc90ee2024-02-28 15:43:51 -0800236# IMPORTANT - please keep alphabetize to reduce merge conflicts