blob: 245bc2a35dab0b93bf851656e7573daac78cd25d [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 {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +00007 name: "adpf_gpu_sf"
8 namespace: "game"
9 description: "Guards use of the sending ADPF GPU duration hint and load hints from SurfaceFlinger to Power HAL"
10 bug: "284324521"
Xiang Wang05cb7642024-03-12 17:27:05 -070011} # adpf_gpu_sf
12
13flag {
Rachel Lee032e7f42024-10-04 14:14:58 -070014 name: "arr_setframerate_api"
15 namespace: "core_graphics"
16 description: "New setFrameRate API for Android 16"
17 bug: "356987016"
18 is_fixed_read_only: true
19} # arr_setframerate_api
20
21flag {
Melody Hsu793f8362024-01-08 20:00:35 +000022 name: "ce_fence_promise"
23 namespace: "window_surfaces"
24 description: "Moves logic for buffer release fences into LayerFE"
25 bug: "294936197"
26 is_fixed_read_only: true
27 metadata {
28 purpose: PURPOSE_BUGFIX
29 }
Melody Hsu7a458f72024-03-25 23:53:13 +000030 } # ce_fence_promise
Melody Hsu793f8362024-01-08 20:00:35 +000031
Lucas Berthou8d0a0c42024-08-27 14:32:31 +000032flag {
33 name: "commit_not_composited"
34 namespace: "core_graphics"
35 description: "mark frames as non janky if the transaction resulted in no composition"
36 bug: "340633280"
37 is_fixed_read_only: true
38 metadata {
39 purpose: PURPOSE_BUGFIX
40 }
41} # commit_not_composited
Ady Abraham14beed72024-05-15 17:16:45 -070042
Lucas Berthou8d0a0c42024-08-27 14:32:31 +000043flag {
44 name: "correct_dpi_with_display_size"
45 namespace: "core_graphics"
46 description: "indicate whether missing or likely incorrect dpi should be corrected using the display size."
47 bug: "328425848"
48 is_fixed_read_only: true
49 metadata {
50 purpose: PURPOSE_BUGFIX
51 }
52} # correct_dpi_with_display_size
53
54flag {
Ady Abrahamb3347582024-04-03 01:01:51 +000055 name: "deprecate_vsync_sf"
56 namespace: "core_graphics"
57 description: "Depracate eVsyncSourceSurfaceFlinger and use vsync_app everywhere"
58 bug: "162235855"
59 is_fixed_read_only: true
60 metadata {
61 purpose: PURPOSE_BUGFIX
62 }
63} # deprecate_vsync_sf
64
Lucas Berthou8d0a0c42024-08-27 14:32:31 +000065flag {
Vishnu Nair491827d2024-04-29 23:43:26 +000066 name: "detached_mirror"
67 namespace: "window_surfaces"
68 description: "Ignore local transform when mirroring a partial hierarchy"
69 bug: "337845753"
70 is_fixed_read_only: true
71 metadata {
72 purpose: PURPOSE_BUGFIX
73 }
Vishnu Nair9e0017e2024-05-22 19:02:44 +000074} # detached_mirror
Vishnu Nair491827d2024-04-29 23:43:26 +000075
Melody Hsu793f8362024-01-08 20:00:35 +000076flag {
Manasi Navare6ab69ae2024-10-21 22:53:41 +000077 name: "display_config_error_hal"
78 namespace: "core_graphics"
79 description: "Report HAL display configuration errors like modeset failure or link training failure"
80 bug: "374184110"
81 is_fixed_read_only: true
82} # display_config_error_hal
83
84flag {
Ady Abraham43a68c32024-09-04 19:21:20 -070085 name: "filter_frames_before_trace_starts"
86 namespace: "core_graphics"
87 description: "Do not trace FrameTimeline events for frames started before the trace started"
88 bug: "364194637"
89 is_fixed_read_only: true
90 metadata {
91 purpose: PURPOSE_BUGFIX
92 }
93} # filter_frames_before_trace_starts
94
95flag {
Leon Scroggins IIIa3ba7fa2024-05-22 16:34:52 -040096 name: "flush_buffer_slots_to_uncache"
97 namespace: "core_graphics"
98 description: "Flush DisplayCommands for disabled displays in order to uncache requested buffers."
99 bug: "330806421"
100 is_fixed_read_only: true
101 metadata {
102 purpose: PURPOSE_BUGFIX
103 }
104} # flush_buffer_slots_to_uncache
105
106flag {
Nolan Scobie4a466642024-05-23 16:22:22 -0400107 name: "force_compile_graphite_renderengine"
108 namespace: "core_graphics"
109 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."
110 bug: "293371537"
111 is_fixed_read_only: true
112} # force_compile_graphite_renderengine
113
114flag {
Rachel Lee52f0abe2024-03-14 18:34:04 -0700115 name: "frame_rate_category_mrr"
116 namespace: "core_graphics"
117 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"
118 bug: "330224639"
119 is_fixed_read_only: true
120 metadata {
121 purpose: PURPOSE_BUGFIX
122 }
123} # frame_rate_category_mrr
124
Ady Abrahambb1ad762024-03-27 18:31:28 -0700125flag {
126 name: "latch_unsignaled_with_auto_refresh_changed"
127 namespace: "core_graphics"
128 description: "Ignore eAutoRefreshChanged with latch unsignaled"
129 bug: "331513837"
130 is_fixed_read_only: true
131 metadata {
132 purpose: PURPOSE_BUGFIX
133 }
134} # latch_unsignaled_with_auto_refresh_changed
135
Alec Mouri1818c182024-05-13 18:25:11 +0000136flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000137 name: "local_tonemap_screenshots"
138 namespace: "core_graphics"
139 description: "Enables local tonemapping when capturing screenshots"
140 bug: "329464641"
141 is_fixed_read_only: true
Alec Mouri1818c182024-05-13 18:25:11 +0000142} # local_tonemap_screenshots
143
Melody Hsu8c42cf12024-06-05 00:07:03 +0000144flag {
145 name: "single_hop_screenshot"
146 namespace: "window_surfaces"
147 description: "Only access SF main thread once during a screenshot"
148 bug: "285553970"
149 is_fixed_read_only: true
150 metadata {
151 purpose: PURPOSE_BUGFIX
152 }
153 } # single_hop_screenshot
154
Alec Mouri2b96d352024-07-09 19:19:36 +0000155flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000156 name: "true_hdr_screenshots"
157 namespace: "core_graphics"
158 description: "Enables screenshotting display content in HDR, sans tone mapping"
159 bug: "329470026"
160 is_fixed_read_only: true
Alec Mouri2b96d352024-07-09 19:19:36 +0000161} # true_hdr_screenshots
162
Vishnu Nair9e0017e2024-05-22 19:02:44 +0000163 flag {
164 name: "override_trusted_overlay"
165 namespace: "window_surfaces"
166 description: "Allow child to disable trusted overlay set by a parent layer"
167 bug: "339701674"
168 is_fixed_read_only: true
169 metadata {
170 purpose: PURPOSE_BUGFIX
171 }
172} # override_trusted_overlay
173
Vishnu Nairdf59f472024-05-17 16:51:33 +0000174flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000175 name: "view_set_requested_frame_rate_mrr"
176 namespace: "core_graphics"
177 description: "Enable to use frame rate category NoPreference with fixed frame rate vote on MRR devices"
178 bug: "352206100"
179 is_fixed_read_only: true
Rachel Lee0dd05182024-08-13 16:31:45 -0700180} # view_set_requested_frame_rate_mrr
181
182flag {
Vishnu Nairdf59f472024-05-17 16:51:33 +0000183 name: "vrr_bugfix_24q4"
184 namespace: "core_graphics"
185 description: "bug fixes for VRR"
186 bug: "331513837"
187 is_fixed_read_only: true
188 metadata {
189 purpose: PURPOSE_BUGFIX
190 }
191} # vrr_bugfix_24q4
192
ramindania3be80c2024-06-20 14:08:37 -0700193flag {
194 name: "vrr_bugfix_dropped_frame"
195 namespace: "core_graphics"
196 description: "bug fix for VRR dropped frame"
197 bug: "343603085"
198 is_fixed_read_only: true
199 metadata {
200 purpose: PURPOSE_BUGFIX
201 }
202} # vrr_bugfix_dropped_frame
203
Ady Abrahambcc90ee2024-02-28 15:43:51 -0800204# IMPORTANT - please keep alphabetize to reduce merge conflicts