1# IMPORTANT - please keep alphabetize to reduce merge conflicts 2 3package: "com.android.graphics.surfaceflinger.flags" 4container: "system" 5 6flag { 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 14flag { 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" 19} # adpf_gpu_sf 20 21flag { 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 28flag { 29 name: "arr_setframerate_api" 30 namespace: "core_graphics" 31 description: "New SDK Surface#setFrameRate API and Surface.FrameRateParams for Android 16" 32 bug: "356987016" 33 is_fixed_read_only: true 34 is_exported: true 35} # arr_setframerate_api 36 37flag { 38 name: "arr_setframerate_gte_enum" 39 namespace: "core_graphics" 40 description: "Exposes GTE (greater than or equal to) enum for Android 16" 41 bug: "380949716" 42 is_fixed_read_only: true 43} # arr_setframerate_gte_enum 44 45flag { 46 name: "arr_surfacecontrol_setframerate_api" 47 namespace: "core_graphics" 48 description: "New SDK SurfaceControl.Transaction#setFrameRate API for Android 16" 49 bug: "356987016" 50 is_fixed_read_only: true 51 is_exported: true 52} # arr_surfacecontrol_setframerate_api 53 54flag { 55 name: "begone_bright_hlg" 56 namespace: "core_graphics" 57 description: "Caps HLG brightness relative to SDR" 58 bug: "362510107" 59 is_fixed_read_only: true 60} # begone_bright_hlg 61 62flag { 63 name: "ce_fence_promise" 64 namespace: "window_surfaces" 65 description: "Moves logic for buffer release fences into LayerFE" 66 bug: "294936197" 67 is_fixed_read_only: true 68 metadata { 69 purpose: PURPOSE_BUGFIX 70 } 71 } # ce_fence_promise 72 73flag { 74 name: "commit_not_composited" 75 namespace: "core_graphics" 76 description: "mark frames as non janky if the transaction resulted in no composition" 77 bug: "340633280" 78 is_fixed_read_only: true 79 metadata { 80 purpose: PURPOSE_BUGFIX 81 } 82} # commit_not_composited 83 84flag { 85 name: "connected_display_hdr" 86 namespace: "core_graphics" 87 description: "enable connected display hdr capability" 88 bug: "374182788" 89 is_fixed_read_only: true 90} # connected_display_hdr 91 92flag { 93 name: "correct_dpi_with_display_size" 94 namespace: "core_graphics" 95 description: "indicate whether missing or likely incorrect dpi should be corrected using the display size." 96 bug: "328425848" 97 is_fixed_read_only: true 98 metadata { 99 purpose: PURPOSE_BUGFIX 100 } 101} # correct_dpi_with_display_size 102 103flag { 104 name: "deprecate_frame_tracker" 105 namespace: "core_graphics" 106 description: "Deprecate using FrameTracker to accumulate and provide FrameStats" 107 bug: "241394120" 108 is_fixed_read_only: true 109 metadata { 110 purpose: PURPOSE_BUGFIX 111 } 112} # deprecate_frame_tracker 113 114flag { 115 name: "deprecate_vsync_sf" 116 namespace: "core_graphics" 117 description: "Depracate eVsyncSourceSurfaceFlinger and use vsync_app everywhere" 118 bug: "162235855" 119 is_fixed_read_only: true 120 metadata { 121 purpose: PURPOSE_BUGFIX 122 } 123} # deprecate_vsync_sf 124 125flag { 126 name: "detached_mirror" 127 namespace: "window_surfaces" 128 description: "Ignore local transform when mirroring a partial hierarchy" 129 bug: "337845753" 130 is_fixed_read_only: true 131 metadata { 132 purpose: PURPOSE_BUGFIX 133 } 134} # detached_mirror 135 136flag { 137 name: "display_config_error_hal" 138 namespace: "core_graphics" 139 description: "Report HAL display configuration errors like modeset failure or link training failure" 140 bug: "374184110" 141 is_fixed_read_only: true 142} # display_config_error_hal 143 144flag { 145 name: "filter_frames_before_trace_starts" 146 namespace: "core_graphics" 147 description: "Do not trace FrameTimeline events for frames started before the trace started" 148 bug: "364194637" 149 is_fixed_read_only: true 150 metadata { 151 purpose: PURPOSE_BUGFIX 152 } 153} # filter_frames_before_trace_starts 154 155flag { 156 name: "flush_buffer_slots_to_uncache" 157 namespace: "core_graphics" 158 description: "Flush DisplayCommands for disabled displays in order to uncache requested buffers." 159 bug: "330806421" 160 is_fixed_read_only: true 161 metadata { 162 purpose: PURPOSE_BUGFIX 163 } 164} # flush_buffer_slots_to_uncache 165 166flag { 167 name: "force_compile_graphite_renderengine" 168 namespace: "core_graphics" 169 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." 170 bug: "293371537" 171 is_fixed_read_only: true 172} # force_compile_graphite_renderengine 173 174flag { 175 name: "frame_rate_category_mrr" 176 namespace: "core_graphics" 177 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" 178 bug: "330224639" 179 is_fixed_read_only: true 180 metadata { 181 purpose: PURPOSE_BUGFIX 182 } 183} # frame_rate_category_mrr 184 185flag { 186 name: "graphite_renderengine_preview_rollout" 187 namespace: "core_graphics" 188 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." 189 bug: "293371537" 190} # graphite_renderengine_preview_rollout 191 192flag { 193 name: "latch_unsignaled_with_auto_refresh_changed" 194 namespace: "core_graphics" 195 description: "Ignore eAutoRefreshChanged with latch unsignaled" 196 bug: "331513837" 197 is_fixed_read_only: true 198 metadata { 199 purpose: PURPOSE_BUGFIX 200 } 201} # latch_unsignaled_with_auto_refresh_changed 202 203flag { 204 name: "local_tonemap_screenshots" 205 namespace: "core_graphics" 206 description: "Enables local tonemapping when capturing screenshots" 207 bug: "329464641" 208 is_fixed_read_only: true 209} # local_tonemap_screenshots 210 211flag { 212 name: "no_vsyncs_on_screen_off" 213 namespace: "core_graphics" 214 description: "Stop vsync / Choreographer callbacks to apps when the screen is off" 215 bug: "331636736" 216 is_fixed_read_only: true 217} # no_vsyncs_on_screen_off 218 219flag { 220 name: "single_hop_screenshot" 221 namespace: "window_surfaces" 222 description: "Only access SF main thread once during a screenshot" 223 bug: "285553970" 224 is_fixed_read_only: true 225 metadata { 226 purpose: PURPOSE_BUGFIX 227 } 228 } # single_hop_screenshot 229 230flag { 231 name: "skip_invisible_windows_in_input" 232 namespace: "window_surfaces" 233 description: "Only send visible windows to input list" 234 bug: "305254099" 235 is_fixed_read_only: true 236 metadata { 237 purpose: PURPOSE_BUGFIX 238 } 239 } # skip_invisible_windows_in_input 240 241flag { 242 name: "stable_edid_ids" 243 namespace: "core_graphics" 244 description: "Guard use of the new stable EDID-based display IDs system." 245 bug: "352320847" 246 is_fixed_read_only: true 247} # stable_edid_ids 248 249flag { 250 name: "true_hdr_screenshots" 251 namespace: "core_graphics" 252 description: "Enables screenshotting display content in HDR, sans tone mapping" 253 bug: "329470026" 254 is_fixed_read_only: true 255} # true_hdr_screenshots 256 257 flag { 258 name: "override_trusted_overlay" 259 namespace: "window_surfaces" 260 description: "Allow child to disable trusted overlay set by a parent layer" 261 bug: "339701674" 262 is_fixed_read_only: true 263 metadata { 264 purpose: PURPOSE_BUGFIX 265 } 266} # override_trusted_overlay 267 268flag { 269 name: "view_set_requested_frame_rate_mrr" 270 namespace: "core_graphics" 271 description: "Enable to use frame rate category NoPreference with fixed frame rate vote on MRR devices" 272 bug: "352206100" 273 is_fixed_read_only: true 274} # view_set_requested_frame_rate_mrr 275 276flag { 277 name: "vrr_bugfix_24q4" 278 namespace: "core_graphics" 279 description: "bug fixes for VRR" 280 bug: "331513837" 281 is_fixed_read_only: true 282 metadata { 283 purpose: PURPOSE_BUGFIX 284 } 285} # vrr_bugfix_24q4 286 287flag { 288 name: "vrr_bugfix_dropped_frame" 289 namespace: "core_graphics" 290 description: "bug fix for VRR dropped frame" 291 bug: "343603085" 292 is_fixed_read_only: true 293 metadata { 294 purpose: PURPOSE_BUGFIX 295 } 296} # vrr_bugfix_dropped_frame 297 298flag { 299 name: "window_blur_kawase2" 300 namespace: "core_graphics" 301 description: "Flag for using Kawase2 algorithm for window blur" 302 bug: "353826438" 303} # window_blur_kawase2 304 305# IMPORTANT - please keep alphabetize to reduce merge conflicts 306