blob: cfeaa7d1af852084a8e9f8ba6ec251247d73a0b7 [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"
24 description: "New setFrameRate API for Android 16"
25 bug: "356987016"
26 is_fixed_read_only: true
27} # arr_setframerate_api
28
29flag {
Melody Hsu793f8362024-01-08 20:00:35 +000030 name: "ce_fence_promise"
31 namespace: "window_surfaces"
32 description: "Moves logic for buffer release fences into LayerFE"
33 bug: "294936197"
34 is_fixed_read_only: true
35 metadata {
36 purpose: PURPOSE_BUGFIX
37 }
Melody Hsu7a458f72024-03-25 23:53:13 +000038 } # ce_fence_promise
Melody Hsu793f8362024-01-08 20:00:35 +000039
Lucas Berthou8d0a0c42024-08-27 14:32:31 +000040flag {
41 name: "commit_not_composited"
42 namespace: "core_graphics"
43 description: "mark frames as non janky if the transaction resulted in no composition"
44 bug: "340633280"
45 is_fixed_read_only: true
46 metadata {
47 purpose: PURPOSE_BUGFIX
48 }
49} # commit_not_composited
Ady Abraham14beed72024-05-15 17:16:45 -070050
Lucas Berthou8d0a0c42024-08-27 14:32:31 +000051flag {
Sasha McIntosh066288a2024-10-28 17:21:39 -040052 name: "connected_display_hdr"
53 namespace: "core_graphics"
54 description: "enable connected display hdr capability"
55 bug: "374182788"
56 is_fixed_read_only: true
57} # connected_display_hdr
58
59flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +000060 name: "correct_dpi_with_display_size"
61 namespace: "core_graphics"
62 description: "indicate whether missing or likely incorrect dpi should be corrected using the display size."
63 bug: "328425848"
64 is_fixed_read_only: true
65 metadata {
66 purpose: PURPOSE_BUGFIX
67 }
68} # correct_dpi_with_display_size
69
70flag {
Ady Abrahamb3347582024-04-03 01:01:51 +000071 name: "deprecate_vsync_sf"
72 namespace: "core_graphics"
73 description: "Depracate eVsyncSourceSurfaceFlinger and use vsync_app everywhere"
74 bug: "162235855"
75 is_fixed_read_only: true
76 metadata {
77 purpose: PURPOSE_BUGFIX
78 }
79} # deprecate_vsync_sf
80
Lucas Berthou8d0a0c42024-08-27 14:32:31 +000081flag {
Vishnu Nair491827d2024-04-29 23:43:26 +000082 name: "detached_mirror"
83 namespace: "window_surfaces"
84 description: "Ignore local transform when mirroring a partial hierarchy"
85 bug: "337845753"
86 is_fixed_read_only: true
87 metadata {
88 purpose: PURPOSE_BUGFIX
89 }
Vishnu Nair9e0017e2024-05-22 19:02:44 +000090} # detached_mirror
Vishnu Nair491827d2024-04-29 23:43:26 +000091
Melody Hsu793f8362024-01-08 20:00:35 +000092flag {
Manasi Navare6ab69ae2024-10-21 22:53:41 +000093 name: "display_config_error_hal"
94 namespace: "core_graphics"
95 description: "Report HAL display configuration errors like modeset failure or link training failure"
96 bug: "374184110"
97 is_fixed_read_only: true
98} # display_config_error_hal
99
100flag {
Ady Abraham43a68c32024-09-04 19:21:20 -0700101 name: "filter_frames_before_trace_starts"
102 namespace: "core_graphics"
103 description: "Do not trace FrameTimeline events for frames started before the trace started"
104 bug: "364194637"
105 is_fixed_read_only: true
106 metadata {
107 purpose: PURPOSE_BUGFIX
108 }
109} # filter_frames_before_trace_starts
110
111flag {
Leon Scroggins IIIa3ba7fa2024-05-22 16:34:52 -0400112 name: "flush_buffer_slots_to_uncache"
113 namespace: "core_graphics"
114 description: "Flush DisplayCommands for disabled displays in order to uncache requested buffers."
115 bug: "330806421"
116 is_fixed_read_only: true
117 metadata {
118 purpose: PURPOSE_BUGFIX
119 }
120} # flush_buffer_slots_to_uncache
121
122flag {
Nolan Scobie4a466642024-05-23 16:22:22 -0400123 name: "force_compile_graphite_renderengine"
124 namespace: "core_graphics"
125 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."
126 bug: "293371537"
127 is_fixed_read_only: true
128} # force_compile_graphite_renderengine
129
130flag {
Rachel Lee52f0abe2024-03-14 18:34:04 -0700131 name: "frame_rate_category_mrr"
132 namespace: "core_graphics"
133 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"
134 bug: "330224639"
135 is_fixed_read_only: true
136 metadata {
137 purpose: PURPOSE_BUGFIX
138 }
139} # frame_rate_category_mrr
140
Ady Abrahambb1ad762024-03-27 18:31:28 -0700141flag {
142 name: "latch_unsignaled_with_auto_refresh_changed"
143 namespace: "core_graphics"
144 description: "Ignore eAutoRefreshChanged with latch unsignaled"
145 bug: "331513837"
146 is_fixed_read_only: true
147 metadata {
148 purpose: PURPOSE_BUGFIX
149 }
150} # latch_unsignaled_with_auto_refresh_changed
151
Alec Mouri1818c182024-05-13 18:25:11 +0000152flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000153 name: "local_tonemap_screenshots"
154 namespace: "core_graphics"
155 description: "Enables local tonemapping when capturing screenshots"
156 bug: "329464641"
157 is_fixed_read_only: true
Alec Mouri1818c182024-05-13 18:25:11 +0000158} # local_tonemap_screenshots
159
Melody Hsu8c42cf12024-06-05 00:07:03 +0000160flag {
161 name: "single_hop_screenshot"
162 namespace: "window_surfaces"
163 description: "Only access SF main thread once during a screenshot"
164 bug: "285553970"
165 is_fixed_read_only: true
166 metadata {
167 purpose: PURPOSE_BUGFIX
168 }
169 } # single_hop_screenshot
170
Alec Mouri2b96d352024-07-09 19:19:36 +0000171flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000172 name: "true_hdr_screenshots"
173 namespace: "core_graphics"
174 description: "Enables screenshotting display content in HDR, sans tone mapping"
175 bug: "329470026"
176 is_fixed_read_only: true
Alec Mouri2b96d352024-07-09 19:19:36 +0000177} # true_hdr_screenshots
178
Vishnu Nair9e0017e2024-05-22 19:02:44 +0000179 flag {
180 name: "override_trusted_overlay"
181 namespace: "window_surfaces"
182 description: "Allow child to disable trusted overlay set by a parent layer"
183 bug: "339701674"
184 is_fixed_read_only: true
185 metadata {
186 purpose: PURPOSE_BUGFIX
187 }
188} # override_trusted_overlay
189
Vishnu Nairdf59f472024-05-17 16:51:33 +0000190flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000191 name: "view_set_requested_frame_rate_mrr"
192 namespace: "core_graphics"
193 description: "Enable to use frame rate category NoPreference with fixed frame rate vote on MRR devices"
194 bug: "352206100"
195 is_fixed_read_only: true
Rachel Lee0dd05182024-08-13 16:31:45 -0700196} # view_set_requested_frame_rate_mrr
197
198flag {
Vishnu Nairdf59f472024-05-17 16:51:33 +0000199 name: "vrr_bugfix_24q4"
200 namespace: "core_graphics"
201 description: "bug fixes for VRR"
202 bug: "331513837"
203 is_fixed_read_only: true
204 metadata {
205 purpose: PURPOSE_BUGFIX
206 }
207} # vrr_bugfix_24q4
208
ramindania3be80c2024-06-20 14:08:37 -0700209flag {
210 name: "vrr_bugfix_dropped_frame"
211 namespace: "core_graphics"
212 description: "bug fix for VRR dropped frame"
213 bug: "343603085"
214 is_fixed_read_only: true
215 metadata {
216 purpose: PURPOSE_BUGFIX
217 }
218} # vrr_bugfix_dropped_frame
219
Ady Abrahambcc90ee2024-02-28 15:43:51 -0800220# IMPORTANT - please keep alphabetize to reduce merge conflicts