Ady Abraham | bcc90ee | 2024-02-28 15:43:51 -0800 | [diff] [blame] | 1 | # IMPORTANT - please keep alphabetize to reduce merge conflicts |
| 2 | |
| 3 | package: "com.android.graphics.surfaceflinger.flags" |
| 4 | container: "system" |
| 5 | |
| 6 | flag { |
Matt Buckley | 48eb435 | 2024-10-18 11:48:46 -0700 | [diff] [blame] | 7 | 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 | |
| 14 | flag { |
Lucas Berthou | 8d0a0c4 | 2024-08-27 14:32:31 +0000 | [diff] [blame] | 15 | 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 Wang | 05cb764 | 2024-03-12 17:27:05 -0700 | [diff] [blame] | 19 | } # adpf_gpu_sf |
| 20 | |
| 21 | flag { |
Rachel Lee | 032e7f4 | 2024-10-04 14:14:58 -0700 | [diff] [blame] | 22 | name: "arr_setframerate_api" |
| 23 | namespace: "core_graphics" |
Rachel Lee | 1ed210e | 2024-10-22 19:15:52 -0700 | [diff] [blame] | 24 | description: "New SDK Surface#setFrameRate API and Surface.FrameRateParams for Android 16" |
Rachel Lee | 032e7f4 | 2024-10-04 14:14:58 -0700 | [diff] [blame] | 25 | bug: "356987016" |
| 26 | is_fixed_read_only: true |
| 27 | } # arr_setframerate_api |
| 28 | |
| 29 | flag { |
Rachel Lee | 1ed210e | 2024-10-22 19:15:52 -0700 | [diff] [blame] | 30 | name: "arr_surfacecontrol_setframerate_api" |
| 31 | namespace: "core_graphics" |
| 32 | description: "New SDK SurfaceControl.Transaction#setFrameRate API for Android 16" |
| 33 | bug: "356987016" |
| 34 | is_fixed_read_only: true |
| 35 | } # arr_surfacecontrol_setframerate_api |
| 36 | |
| 37 | flag { |
Alec Mouri | 8face53 | 2024-11-09 22:15:32 +0000 | [diff] [blame^] | 38 | name: "begone_bright_hlg" |
| 39 | namespace: "core_graphics" |
| 40 | description: "Caps HLG brightness relative to SDR" |
| 41 | bug: "362510107" |
| 42 | is_fixed_read_only: true |
| 43 | } # begone_bright_hlg |
| 44 | |
| 45 | flag { |
Melody Hsu | 793f836 | 2024-01-08 20:00:35 +0000 | [diff] [blame] | 46 | name: "ce_fence_promise" |
| 47 | namespace: "window_surfaces" |
| 48 | description: "Moves logic for buffer release fences into LayerFE" |
| 49 | bug: "294936197" |
| 50 | is_fixed_read_only: true |
| 51 | metadata { |
| 52 | purpose: PURPOSE_BUGFIX |
| 53 | } |
Melody Hsu | 7a458f7 | 2024-03-25 23:53:13 +0000 | [diff] [blame] | 54 | } # ce_fence_promise |
Melody Hsu | 793f836 | 2024-01-08 20:00:35 +0000 | [diff] [blame] | 55 | |
Lucas Berthou | 8d0a0c4 | 2024-08-27 14:32:31 +0000 | [diff] [blame] | 56 | flag { |
| 57 | name: "commit_not_composited" |
| 58 | namespace: "core_graphics" |
| 59 | description: "mark frames as non janky if the transaction resulted in no composition" |
| 60 | bug: "340633280" |
| 61 | is_fixed_read_only: true |
| 62 | metadata { |
| 63 | purpose: PURPOSE_BUGFIX |
| 64 | } |
| 65 | } # commit_not_composited |
Ady Abraham | 14beed7 | 2024-05-15 17:16:45 -0700 | [diff] [blame] | 66 | |
Lucas Berthou | 8d0a0c4 | 2024-08-27 14:32:31 +0000 | [diff] [blame] | 67 | flag { |
Sasha McIntosh | 066288a | 2024-10-28 17:21:39 -0400 | [diff] [blame] | 68 | name: "connected_display_hdr" |
| 69 | namespace: "core_graphics" |
| 70 | description: "enable connected display hdr capability" |
| 71 | bug: "374182788" |
| 72 | is_fixed_read_only: true |
| 73 | } # connected_display_hdr |
| 74 | |
| 75 | flag { |
Lucas Berthou | 8d0a0c4 | 2024-08-27 14:32:31 +0000 | [diff] [blame] | 76 | name: "correct_dpi_with_display_size" |
| 77 | namespace: "core_graphics" |
| 78 | description: "indicate whether missing or likely incorrect dpi should be corrected using the display size." |
| 79 | bug: "328425848" |
| 80 | is_fixed_read_only: true |
| 81 | metadata { |
| 82 | purpose: PURPOSE_BUGFIX |
| 83 | } |
| 84 | } # correct_dpi_with_display_size |
| 85 | |
| 86 | flag { |
Ben Widawsky | 12b5112 | 2024-10-14 11:07:47 -0700 | [diff] [blame] | 87 | name: "deprecate_frame_tracker" |
| 88 | namespace: "core_graphics" |
| 89 | description: "Deprecate using FrameTracker to accumulate and provide FrameStats" |
| 90 | bug: "241394120" |
| 91 | is_fixed_read_only: true |
| 92 | metadata { |
| 93 | purpose: PURPOSE_BUGFIX |
| 94 | } |
| 95 | } # deprecate_frame_tracker |
| 96 | |
| 97 | flag { |
Ady Abraham | b334758 | 2024-04-03 01:01:51 +0000 | [diff] [blame] | 98 | name: "deprecate_vsync_sf" |
| 99 | namespace: "core_graphics" |
| 100 | description: "Depracate eVsyncSourceSurfaceFlinger and use vsync_app everywhere" |
| 101 | bug: "162235855" |
| 102 | is_fixed_read_only: true |
| 103 | metadata { |
| 104 | purpose: PURPOSE_BUGFIX |
| 105 | } |
| 106 | } # deprecate_vsync_sf |
| 107 | |
Lucas Berthou | 8d0a0c4 | 2024-08-27 14:32:31 +0000 | [diff] [blame] | 108 | flag { |
Vishnu Nair | 491827d | 2024-04-29 23:43:26 +0000 | [diff] [blame] | 109 | name: "detached_mirror" |
| 110 | namespace: "window_surfaces" |
| 111 | description: "Ignore local transform when mirroring a partial hierarchy" |
| 112 | bug: "337845753" |
| 113 | is_fixed_read_only: true |
| 114 | metadata { |
| 115 | purpose: PURPOSE_BUGFIX |
| 116 | } |
Vishnu Nair | 9e0017e | 2024-05-22 19:02:44 +0000 | [diff] [blame] | 117 | } # detached_mirror |
Vishnu Nair | 491827d | 2024-04-29 23:43:26 +0000 | [diff] [blame] | 118 | |
Melody Hsu | 793f836 | 2024-01-08 20:00:35 +0000 | [diff] [blame] | 119 | flag { |
Manasi Navare | 6ab69ae | 2024-10-21 22:53:41 +0000 | [diff] [blame] | 120 | name: "display_config_error_hal" |
| 121 | namespace: "core_graphics" |
| 122 | description: "Report HAL display configuration errors like modeset failure or link training failure" |
| 123 | bug: "374184110" |
| 124 | is_fixed_read_only: true |
| 125 | } # display_config_error_hal |
| 126 | |
| 127 | flag { |
Ady Abraham | 43a68c3 | 2024-09-04 19:21:20 -0700 | [diff] [blame] | 128 | name: "filter_frames_before_trace_starts" |
| 129 | namespace: "core_graphics" |
| 130 | description: "Do not trace FrameTimeline events for frames started before the trace started" |
| 131 | bug: "364194637" |
| 132 | is_fixed_read_only: true |
| 133 | metadata { |
| 134 | purpose: PURPOSE_BUGFIX |
| 135 | } |
| 136 | } # filter_frames_before_trace_starts |
| 137 | |
| 138 | flag { |
Leon Scroggins III | a3ba7fa | 2024-05-22 16:34:52 -0400 | [diff] [blame] | 139 | name: "flush_buffer_slots_to_uncache" |
| 140 | namespace: "core_graphics" |
| 141 | description: "Flush DisplayCommands for disabled displays in order to uncache requested buffers." |
| 142 | bug: "330806421" |
| 143 | is_fixed_read_only: true |
| 144 | metadata { |
| 145 | purpose: PURPOSE_BUGFIX |
| 146 | } |
| 147 | } # flush_buffer_slots_to_uncache |
| 148 | |
| 149 | flag { |
Nolan Scobie | 4a46664 | 2024-05-23 16:22:22 -0400 | [diff] [blame] | 150 | name: "force_compile_graphite_renderengine" |
| 151 | namespace: "core_graphics" |
| 152 | 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." |
| 153 | bug: "293371537" |
| 154 | is_fixed_read_only: true |
| 155 | } # force_compile_graphite_renderengine |
| 156 | |
| 157 | flag { |
Rachel Lee | 52f0abe | 2024-03-14 18:34:04 -0700 | [diff] [blame] | 158 | name: "frame_rate_category_mrr" |
| 159 | namespace: "core_graphics" |
| 160 | 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" |
| 161 | bug: "330224639" |
| 162 | is_fixed_read_only: true |
| 163 | metadata { |
| 164 | purpose: PURPOSE_BUGFIX |
| 165 | } |
| 166 | } # frame_rate_category_mrr |
| 167 | |
Ady Abraham | bb1ad76 | 2024-03-27 18:31:28 -0700 | [diff] [blame] | 168 | flag { |
| 169 | name: "latch_unsignaled_with_auto_refresh_changed" |
| 170 | namespace: "core_graphics" |
| 171 | description: "Ignore eAutoRefreshChanged with latch unsignaled" |
| 172 | bug: "331513837" |
| 173 | is_fixed_read_only: true |
| 174 | metadata { |
| 175 | purpose: PURPOSE_BUGFIX |
| 176 | } |
| 177 | } # latch_unsignaled_with_auto_refresh_changed |
| 178 | |
Alec Mouri | 1818c18 | 2024-05-13 18:25:11 +0000 | [diff] [blame] | 179 | flag { |
Lucas Berthou | 8d0a0c4 | 2024-08-27 14:32:31 +0000 | [diff] [blame] | 180 | name: "local_tonemap_screenshots" |
| 181 | namespace: "core_graphics" |
| 182 | description: "Enables local tonemapping when capturing screenshots" |
| 183 | bug: "329464641" |
| 184 | is_fixed_read_only: true |
Alec Mouri | 1818c18 | 2024-05-13 18:25:11 +0000 | [diff] [blame] | 185 | } # local_tonemap_screenshots |
| 186 | |
Melody Hsu | 8c42cf1 | 2024-06-05 00:07:03 +0000 | [diff] [blame] | 187 | flag { |
Ady Abraham | a8217b5 | 2024-10-31 15:51:45 -0700 | [diff] [blame] | 188 | name: "no_vsyncs_on_screen_off" |
| 189 | namespace: "core_graphics" |
| 190 | description: "Stop vsync / Choreographer callbacks to apps when the screen is off" |
| 191 | bug: "331636736" |
| 192 | is_fixed_read_only: true |
| 193 | } # no_vsyncs_on_screen_off |
| 194 | |
| 195 | flag { |
Melody Hsu | 8c42cf1 | 2024-06-05 00:07:03 +0000 | [diff] [blame] | 196 | name: "single_hop_screenshot" |
| 197 | namespace: "window_surfaces" |
| 198 | description: "Only access SF main thread once during a screenshot" |
| 199 | bug: "285553970" |
| 200 | is_fixed_read_only: true |
| 201 | metadata { |
| 202 | purpose: PURPOSE_BUGFIX |
| 203 | } |
| 204 | } # single_hop_screenshot |
| 205 | |
Alec Mouri | 2b96d35 | 2024-07-09 19:19:36 +0000 | [diff] [blame] | 206 | flag { |
Wenhui Yang | b09293f | 2024-11-08 23:42:19 +0000 | [diff] [blame] | 207 | name: "skip_invisible_windows_in_input" |
| 208 | namespace: "window_surfaces" |
| 209 | description: "Only send visible windows to input list" |
| 210 | bug: "305254099" |
| 211 | is_fixed_read_only: true |
| 212 | metadata { |
| 213 | purpose: PURPOSE_BUGFIX |
| 214 | } |
| 215 | } # skip_invisible_windows_in_input |
| 216 | |
| 217 | flag { |
Gil Dekel | 4c575a1 | 2024-11-14 15:11:16 -0500 | [diff] [blame] | 218 | name: "stable_edid_ids" |
| 219 | namespace: "core_graphics" |
| 220 | description: "Guard use of the new stable EDID-based display IDs system." |
| 221 | bug: "352320847" |
| 222 | is_fixed_read_only: true |
| 223 | } # stable_edid_ids |
| 224 | |
| 225 | flag { |
Lucas Berthou | 8d0a0c4 | 2024-08-27 14:32:31 +0000 | [diff] [blame] | 226 | name: "true_hdr_screenshots" |
| 227 | namespace: "core_graphics" |
| 228 | description: "Enables screenshotting display content in HDR, sans tone mapping" |
| 229 | bug: "329470026" |
| 230 | is_fixed_read_only: true |
Alec Mouri | 2b96d35 | 2024-07-09 19:19:36 +0000 | [diff] [blame] | 231 | } # true_hdr_screenshots |
| 232 | |
Vishnu Nair | 9e0017e | 2024-05-22 19:02:44 +0000 | [diff] [blame] | 233 | flag { |
| 234 | name: "override_trusted_overlay" |
| 235 | namespace: "window_surfaces" |
| 236 | description: "Allow child to disable trusted overlay set by a parent layer" |
| 237 | bug: "339701674" |
| 238 | is_fixed_read_only: true |
| 239 | metadata { |
| 240 | purpose: PURPOSE_BUGFIX |
| 241 | } |
| 242 | } # override_trusted_overlay |
| 243 | |
Vishnu Nair | df59f47 | 2024-05-17 16:51:33 +0000 | [diff] [blame] | 244 | flag { |
Lucas Berthou | 8d0a0c4 | 2024-08-27 14:32:31 +0000 | [diff] [blame] | 245 | name: "view_set_requested_frame_rate_mrr" |
| 246 | namespace: "core_graphics" |
| 247 | description: "Enable to use frame rate category NoPreference with fixed frame rate vote on MRR devices" |
| 248 | bug: "352206100" |
| 249 | is_fixed_read_only: true |
Rachel Lee | 0dd0518 | 2024-08-13 16:31:45 -0700 | [diff] [blame] | 250 | } # view_set_requested_frame_rate_mrr |
| 251 | |
| 252 | flag { |
Vishnu Nair | df59f47 | 2024-05-17 16:51:33 +0000 | [diff] [blame] | 253 | name: "vrr_bugfix_24q4" |
| 254 | namespace: "core_graphics" |
| 255 | description: "bug fixes for VRR" |
| 256 | bug: "331513837" |
| 257 | is_fixed_read_only: true |
| 258 | metadata { |
| 259 | purpose: PURPOSE_BUGFIX |
| 260 | } |
| 261 | } # vrr_bugfix_24q4 |
| 262 | |
ramindani | a3be80c | 2024-06-20 14:08:37 -0700 | [diff] [blame] | 263 | flag { |
| 264 | name: "vrr_bugfix_dropped_frame" |
| 265 | namespace: "core_graphics" |
| 266 | description: "bug fix for VRR dropped frame" |
| 267 | bug: "343603085" |
| 268 | is_fixed_read_only: true |
| 269 | metadata { |
| 270 | purpose: PURPOSE_BUGFIX |
| 271 | } |
| 272 | } # vrr_bugfix_dropped_frame |
| 273 | |
Ady Abraham | bcc90ee | 2024-02-28 15:43:51 -0800 | [diff] [blame] | 274 | # IMPORTANT - please keep alphabetize to reduce merge conflicts |