blob: fcfeaccee71392262af60c681e076ed8abc658cf [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 {
Melody Hsu793f8362024-01-08 20:00:35 +000014 name: "ce_fence_promise"
15 namespace: "window_surfaces"
16 description: "Moves logic for buffer release fences into LayerFE"
17 bug: "294936197"
18 is_fixed_read_only: true
19 metadata {
20 purpose: PURPOSE_BUGFIX
21 }
Melody Hsu7a458f72024-03-25 23:53:13 +000022 } # ce_fence_promise
Melody Hsu793f8362024-01-08 20:00:35 +000023
Lucas Berthou8d0a0c42024-08-27 14:32:31 +000024flag {
25 name: "commit_not_composited"
26 namespace: "core_graphics"
27 description: "mark frames as non janky if the transaction resulted in no composition"
28 bug: "340633280"
29 is_fixed_read_only: true
30 metadata {
31 purpose: PURPOSE_BUGFIX
32 }
33} # commit_not_composited
Ady Abraham14beed72024-05-15 17:16:45 -070034
Lucas Berthou8d0a0c42024-08-27 14:32:31 +000035flag {
36 name: "correct_dpi_with_display_size"
37 namespace: "core_graphics"
38 description: "indicate whether missing or likely incorrect dpi should be corrected using the display size."
39 bug: "328425848"
40 is_fixed_read_only: true
41 metadata {
42 purpose: PURPOSE_BUGFIX
43 }
44} # correct_dpi_with_display_size
45
46flag {
Ady Abrahamb3347582024-04-03 01:01:51 +000047 name: "deprecate_vsync_sf"
48 namespace: "core_graphics"
49 description: "Depracate eVsyncSourceSurfaceFlinger and use vsync_app everywhere"
50 bug: "162235855"
51 is_fixed_read_only: true
52 metadata {
53 purpose: PURPOSE_BUGFIX
54 }
55} # deprecate_vsync_sf
56
Lucas Berthou8d0a0c42024-08-27 14:32:31 +000057flag {
Vishnu Nair491827d2024-04-29 23:43:26 +000058 name: "detached_mirror"
59 namespace: "window_surfaces"
60 description: "Ignore local transform when mirroring a partial hierarchy"
61 bug: "337845753"
62 is_fixed_read_only: true
63 metadata {
64 purpose: PURPOSE_BUGFIX
65 }
Vishnu Nair9e0017e2024-05-22 19:02:44 +000066} # detached_mirror
Vishnu Nair491827d2024-04-29 23:43:26 +000067
Melody Hsu793f8362024-01-08 20:00:35 +000068flag {
Leon Scroggins IIIa3ba7fa2024-05-22 16:34:52 -040069 name: "flush_buffer_slots_to_uncache"
70 namespace: "core_graphics"
71 description: "Flush DisplayCommands for disabled displays in order to uncache requested buffers."
72 bug: "330806421"
73 is_fixed_read_only: true
74 metadata {
75 purpose: PURPOSE_BUGFIX
76 }
77} # flush_buffer_slots_to_uncache
78
79flag {
Nolan Scobie4a466642024-05-23 16:22:22 -040080 name: "force_compile_graphite_renderengine"
81 namespace: "core_graphics"
82 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."
83 bug: "293371537"
84 is_fixed_read_only: true
85} # force_compile_graphite_renderengine
86
87flag {
Rachel Lee52f0abe2024-03-14 18:34:04 -070088 name: "frame_rate_category_mrr"
89 namespace: "core_graphics"
90 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"
91 bug: "330224639"
92 is_fixed_read_only: true
93 metadata {
94 purpose: PURPOSE_BUGFIX
95 }
96} # frame_rate_category_mrr
97
Ady Abrahambb1ad762024-03-27 18:31:28 -070098flag {
99 name: "latch_unsignaled_with_auto_refresh_changed"
100 namespace: "core_graphics"
101 description: "Ignore eAutoRefreshChanged with latch unsignaled"
102 bug: "331513837"
103 is_fixed_read_only: true
104 metadata {
105 purpose: PURPOSE_BUGFIX
106 }
107} # latch_unsignaled_with_auto_refresh_changed
108
Alec Mouri1818c182024-05-13 18:25:11 +0000109flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000110 name: "local_tonemap_screenshots"
111 namespace: "core_graphics"
112 description: "Enables local tonemapping when capturing screenshots"
113 bug: "329464641"
114 is_fixed_read_only: true
Alec Mouri1818c182024-05-13 18:25:11 +0000115} # local_tonemap_screenshots
116
Melody Hsu8c42cf12024-06-05 00:07:03 +0000117flag {
118 name: "single_hop_screenshot"
119 namespace: "window_surfaces"
120 description: "Only access SF main thread once during a screenshot"
121 bug: "285553970"
122 is_fixed_read_only: true
123 metadata {
124 purpose: PURPOSE_BUGFIX
125 }
126 } # single_hop_screenshot
127
Alec Mouri2b96d352024-07-09 19:19:36 +0000128flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000129 name: "true_hdr_screenshots"
130 namespace: "core_graphics"
131 description: "Enables screenshotting display content in HDR, sans tone mapping"
132 bug: "329470026"
133 is_fixed_read_only: true
Alec Mouri2b96d352024-07-09 19:19:36 +0000134} # true_hdr_screenshots
135
Vishnu Nair9e0017e2024-05-22 19:02:44 +0000136 flag {
137 name: "override_trusted_overlay"
138 namespace: "window_surfaces"
139 description: "Allow child to disable trusted overlay set by a parent layer"
140 bug: "339701674"
141 is_fixed_read_only: true
142 metadata {
143 purpose: PURPOSE_BUGFIX
144 }
145} # override_trusted_overlay
146
Vishnu Nairdf59f472024-05-17 16:51:33 +0000147flag {
Lucas Berthou8d0a0c42024-08-27 14:32:31 +0000148 name: "view_set_requested_frame_rate_mrr"
149 namespace: "core_graphics"
150 description: "Enable to use frame rate category NoPreference with fixed frame rate vote on MRR devices"
151 bug: "352206100"
152 is_fixed_read_only: true
Rachel Lee0dd05182024-08-13 16:31:45 -0700153} # view_set_requested_frame_rate_mrr
154
155flag {
Vishnu Nairdf59f472024-05-17 16:51:33 +0000156 name: "vrr_bugfix_24q4"
157 namespace: "core_graphics"
158 description: "bug fixes for VRR"
159 bug: "331513837"
160 is_fixed_read_only: true
161 metadata {
162 purpose: PURPOSE_BUGFIX
163 }
164} # vrr_bugfix_24q4
165
ramindania3be80c2024-06-20 14:08:37 -0700166flag {
167 name: "vrr_bugfix_dropped_frame"
168 namespace: "core_graphics"
169 description: "bug fix for VRR dropped frame"
170 bug: "343603085"
171 is_fixed_read_only: true
172 metadata {
173 purpose: PURPOSE_BUGFIX
174 }
175} # vrr_bugfix_dropped_frame
176
Ady Abrahambcc90ee2024-02-28 15:43:51 -0800177# IMPORTANT - please keep alphabetize to reduce merge conflicts