blob: e40be515aa6be5b0a7cd18bd777276d157e5c070 [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 {
Ady Abraham43a68c32024-09-04 19:21:20 -070077 name: "filter_frames_before_trace_starts"
78 namespace: "core_graphics"
79 description: "Do not trace FrameTimeline events for frames started before the trace started"
80 bug: "364194637"
81 is_fixed_read_only: true
82 metadata {
83 purpose: PURPOSE_BUGFIX
84 }
85} # filter_frames_before_trace_starts
86
87flag {
Leon Scroggins IIIa3ba7fa2024-05-22 16:34:52 -040088 name: "flush_buffer_slots_to_uncache"
89 namespace: "core_graphics"
90 description: "Flush DisplayCommands for disabled displays in order to uncache requested buffers."
91 bug: "330806421"
92 is_fixed_read_only: true
93 metadata {
94 purpose: PURPOSE_BUGFIX
95 }
96} # flush_buffer_slots_to_uncache
97
98flag {
Nolan Scobie4a466642024-05-23 16:22:22 -040099 name: "force_compile_graphite_renderengine"
100 namespace: "core_graphics"
101 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."
102 bug: "293371537"
103 is_fixed_read_only: true
104} # force_compile_graphite_renderengine
105
106flag {
Rachel Lee52f0abe2024-03-14 18:34:04 -0700107 name: "frame_rate_category_mrr"
108 namespace: "core_graphics"
109 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"
110 bug: "330224639"
111 is_fixed_read_only: true
112 metadata {
113 purpose: PURPOSE_BUGFIX
114 }
115} # frame_rate_category_mrr
116
Ady Abrahambb1ad762024-03-27 18:31:28 -0700117flag {
118 name: "latch_unsignaled_with_auto_refresh_changed"
119 namespace: "core_graphics"
120 description: "Ignore eAutoRefreshChanged with latch unsignaled"
121 bug: "331513837"
122 is_fixed_read_only: true
123 metadata {
124 purpose: PURPOSE_BUGFIX
125 }
126} # latch_unsignaled_with_auto_refresh_changed
127
Alec Mouri1818c182024-05-13 18:25:11 +0000128flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000129 name: "local_tonemap_screenshots"
130 namespace: "core_graphics"
131 description: "Enables local tonemapping when capturing screenshots"
132 bug: "329464641"
133 is_fixed_read_only: true
Alec Mouri1818c182024-05-13 18:25:11 +0000134} # local_tonemap_screenshots
135
Melody Hsu8c42cf12024-06-05 00:07:03 +0000136flag {
137 name: "single_hop_screenshot"
138 namespace: "window_surfaces"
139 description: "Only access SF main thread once during a screenshot"
140 bug: "285553970"
141 is_fixed_read_only: true
142 metadata {
143 purpose: PURPOSE_BUGFIX
144 }
145 } # single_hop_screenshot
146
Alec Mouri2b96d352024-07-09 19:19:36 +0000147flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000148 name: "true_hdr_screenshots"
149 namespace: "core_graphics"
150 description: "Enables screenshotting display content in HDR, sans tone mapping"
151 bug: "329470026"
152 is_fixed_read_only: true
Alec Mouri2b96d352024-07-09 19:19:36 +0000153} # true_hdr_screenshots
154
Vishnu Nair9e0017e2024-05-22 19:02:44 +0000155 flag {
156 name: "override_trusted_overlay"
157 namespace: "window_surfaces"
158 description: "Allow child to disable trusted overlay set by a parent layer"
159 bug: "339701674"
160 is_fixed_read_only: true
161 metadata {
162 purpose: PURPOSE_BUGFIX
163 }
164} # override_trusted_overlay
165
Vishnu Nairdf59f472024-05-17 16:51:33 +0000166flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000167 name: "view_set_requested_frame_rate_mrr"
168 namespace: "core_graphics"
169 description: "Enable to use frame rate category NoPreference with fixed frame rate vote on MRR devices"
170 bug: "352206100"
171 is_fixed_read_only: true
Rachel Lee0dd05182024-08-13 16:31:45 -0700172} # view_set_requested_frame_rate_mrr
173
174flag {
Vishnu Nairdf59f472024-05-17 16:51:33 +0000175 name: "vrr_bugfix_24q4"
176 namespace: "core_graphics"
177 description: "bug fixes for VRR"
178 bug: "331513837"
179 is_fixed_read_only: true
180 metadata {
181 purpose: PURPOSE_BUGFIX
182 }
183} # vrr_bugfix_24q4
184
ramindania3be80c2024-06-20 14:08:37 -0700185flag {
186 name: "vrr_bugfix_dropped_frame"
187 namespace: "core_graphics"
188 description: "bug fix for VRR dropped frame"
189 bug: "343603085"
190 is_fixed_read_only: true
191 metadata {
192 purpose: PURPOSE_BUGFIX
193 }
194} # vrr_bugfix_dropped_frame
195
Ady Abrahambcc90ee2024-02-28 15:43:51 -0800196# IMPORTANT - please keep alphabetize to reduce merge conflicts