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