blob: 924e87aa987758defbc40d9366e160660204d897 [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 {
52 name: "correct_dpi_with_display_size"
53 namespace: "core_graphics"
54 description: "indicate whether missing or likely incorrect dpi should be corrected using the display size."
55 bug: "328425848"
56 is_fixed_read_only: true
57 metadata {
58 purpose: PURPOSE_BUGFIX
59 }
60} # correct_dpi_with_display_size
61
62flag {
Ady Abrahamb3347582024-04-03 01:01:51 +000063 name: "deprecate_vsync_sf"
64 namespace: "core_graphics"
65 description: "Depracate eVsyncSourceSurfaceFlinger and use vsync_app everywhere"
66 bug: "162235855"
67 is_fixed_read_only: true
68 metadata {
69 purpose: PURPOSE_BUGFIX
70 }
71} # deprecate_vsync_sf
72
Lucas Berthou8d0a0c42024-08-27 14:32:31 +000073flag {
Vishnu Nair491827d2024-04-29 23:43:26 +000074 name: "detached_mirror"
75 namespace: "window_surfaces"
76 description: "Ignore local transform when mirroring a partial hierarchy"
77 bug: "337845753"
78 is_fixed_read_only: true
79 metadata {
80 purpose: PURPOSE_BUGFIX
81 }
Vishnu Nair9e0017e2024-05-22 19:02:44 +000082} # detached_mirror
Vishnu Nair491827d2024-04-29 23:43:26 +000083
Melody Hsu793f8362024-01-08 20:00:35 +000084flag {
Manasi Navare6ab69ae2024-10-21 22:53:41 +000085 name: "display_config_error_hal"
86 namespace: "core_graphics"
87 description: "Report HAL display configuration errors like modeset failure or link training failure"
88 bug: "374184110"
89 is_fixed_read_only: true
90} # display_config_error_hal
91
92flag {
Ady Abraham43a68c32024-09-04 19:21:20 -070093 name: "filter_frames_before_trace_starts"
94 namespace: "core_graphics"
95 description: "Do not trace FrameTimeline events for frames started before the trace started"
96 bug: "364194637"
97 is_fixed_read_only: true
98 metadata {
99 purpose: PURPOSE_BUGFIX
100 }
101} # filter_frames_before_trace_starts
102
103flag {
Leon Scroggins IIIa3ba7fa2024-05-22 16:34:52 -0400104 name: "flush_buffer_slots_to_uncache"
105 namespace: "core_graphics"
106 description: "Flush DisplayCommands for disabled displays in order to uncache requested buffers."
107 bug: "330806421"
108 is_fixed_read_only: true
109 metadata {
110 purpose: PURPOSE_BUGFIX
111 }
112} # flush_buffer_slots_to_uncache
113
114flag {
Nolan Scobie4a466642024-05-23 16:22:22 -0400115 name: "force_compile_graphite_renderengine"
116 namespace: "core_graphics"
117 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."
118 bug: "293371537"
119 is_fixed_read_only: true
120} # force_compile_graphite_renderengine
121
122flag {
Rachel Lee52f0abe2024-03-14 18:34:04 -0700123 name: "frame_rate_category_mrr"
124 namespace: "core_graphics"
125 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"
126 bug: "330224639"
127 is_fixed_read_only: true
128 metadata {
129 purpose: PURPOSE_BUGFIX
130 }
131} # frame_rate_category_mrr
132
Ady Abrahambb1ad762024-03-27 18:31:28 -0700133flag {
134 name: "latch_unsignaled_with_auto_refresh_changed"
135 namespace: "core_graphics"
136 description: "Ignore eAutoRefreshChanged with latch unsignaled"
137 bug: "331513837"
138 is_fixed_read_only: true
139 metadata {
140 purpose: PURPOSE_BUGFIX
141 }
142} # latch_unsignaled_with_auto_refresh_changed
143
Alec Mouri1818c182024-05-13 18:25:11 +0000144flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000145 name: "local_tonemap_screenshots"
146 namespace: "core_graphics"
147 description: "Enables local tonemapping when capturing screenshots"
148 bug: "329464641"
149 is_fixed_read_only: true
Alec Mouri1818c182024-05-13 18:25:11 +0000150} # local_tonemap_screenshots
151
Melody Hsu8c42cf12024-06-05 00:07:03 +0000152flag {
Ady Abrahama8217b52024-10-31 15:51:45 -0700153 name: "no_vsyncs_on_screen_off"
154 namespace: "core_graphics"
155 description: "Stop vsync / Choreographer callbacks to apps when the screen is off"
156 bug: "331636736"
157 is_fixed_read_only: true
158} # no_vsyncs_on_screen_off
159
160flag {
Melody Hsu8c42cf12024-06-05 00:07:03 +0000161 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