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" |
| 24 | description: "New setFrameRate API for Android 16" |
| 25 | bug: "356987016" |
| 26 | is_fixed_read_only: true |
| 27 | } # arr_setframerate_api |
| 28 | |
| 29 | flag { |
Melody Hsu | 793f836 | 2024-01-08 20:00:35 +0000 | [diff] [blame] | 30 | name: "ce_fence_promise" |
| 31 | namespace: "window_surfaces" |
| 32 | description: "Moves logic for buffer release fences into LayerFE" |
| 33 | bug: "294936197" |
| 34 | is_fixed_read_only: true |
| 35 | metadata { |
| 36 | purpose: PURPOSE_BUGFIX |
| 37 | } |
Melody Hsu | 7a458f7 | 2024-03-25 23:53:13 +0000 | [diff] [blame] | 38 | } # ce_fence_promise |
Melody Hsu | 793f836 | 2024-01-08 20:00:35 +0000 | [diff] [blame] | 39 | |
Lucas Berthou | 8d0a0c4 | 2024-08-27 14:32:31 +0000 | [diff] [blame] | 40 | flag { |
| 41 | name: "commit_not_composited" |
| 42 | namespace: "core_graphics" |
| 43 | description: "mark frames as non janky if the transaction resulted in no composition" |
| 44 | bug: "340633280" |
| 45 | is_fixed_read_only: true |
| 46 | metadata { |
| 47 | purpose: PURPOSE_BUGFIX |
| 48 | } |
| 49 | } # commit_not_composited |
Ady Abraham | 14beed7 | 2024-05-15 17:16:45 -0700 | [diff] [blame] | 50 | |
Lucas Berthou | 8d0a0c4 | 2024-08-27 14:32:31 +0000 | [diff] [blame] | 51 | flag { |
Sasha McIntosh | 066288a | 2024-10-28 17:21:39 -0400 | [diff] [blame^] | 52 | name: "connected_display_hdr" |
| 53 | namespace: "core_graphics" |
| 54 | description: "enable connected display hdr capability" |
| 55 | bug: "374182788" |
| 56 | is_fixed_read_only: true |
| 57 | } # connected_display_hdr |
| 58 | |
| 59 | flag { |
Lucas Berthou | 8d0a0c4 | 2024-08-27 14:32:31 +0000 | [diff] [blame] | 60 | name: "correct_dpi_with_display_size" |
| 61 | namespace: "core_graphics" |
| 62 | description: "indicate whether missing or likely incorrect dpi should be corrected using the display size." |
| 63 | bug: "328425848" |
| 64 | is_fixed_read_only: true |
| 65 | metadata { |
| 66 | purpose: PURPOSE_BUGFIX |
| 67 | } |
| 68 | } # correct_dpi_with_display_size |
| 69 | |
| 70 | flag { |
Ady Abraham | b334758 | 2024-04-03 01:01:51 +0000 | [diff] [blame] | 71 | name: "deprecate_vsync_sf" |
| 72 | namespace: "core_graphics" |
| 73 | description: "Depracate eVsyncSourceSurfaceFlinger and use vsync_app everywhere" |
| 74 | bug: "162235855" |
| 75 | is_fixed_read_only: true |
| 76 | metadata { |
| 77 | purpose: PURPOSE_BUGFIX |
| 78 | } |
| 79 | } # deprecate_vsync_sf |
| 80 | |
Lucas Berthou | 8d0a0c4 | 2024-08-27 14:32:31 +0000 | [diff] [blame] | 81 | flag { |
Vishnu Nair | 491827d | 2024-04-29 23:43:26 +0000 | [diff] [blame] | 82 | name: "detached_mirror" |
| 83 | namespace: "window_surfaces" |
| 84 | description: "Ignore local transform when mirroring a partial hierarchy" |
| 85 | bug: "337845753" |
| 86 | is_fixed_read_only: true |
| 87 | metadata { |
| 88 | purpose: PURPOSE_BUGFIX |
| 89 | } |
Vishnu Nair | 9e0017e | 2024-05-22 19:02:44 +0000 | [diff] [blame] | 90 | } # detached_mirror |
Vishnu Nair | 491827d | 2024-04-29 23:43:26 +0000 | [diff] [blame] | 91 | |
Melody Hsu | 793f836 | 2024-01-08 20:00:35 +0000 | [diff] [blame] | 92 | flag { |
Manasi Navare | 6ab69ae | 2024-10-21 22:53:41 +0000 | [diff] [blame] | 93 | name: "display_config_error_hal" |
| 94 | namespace: "core_graphics" |
| 95 | description: "Report HAL display configuration errors like modeset failure or link training failure" |
| 96 | bug: "374184110" |
| 97 | is_fixed_read_only: true |
| 98 | } # display_config_error_hal |
| 99 | |
| 100 | flag { |
Ady Abraham | 43a68c3 | 2024-09-04 19:21:20 -0700 | [diff] [blame] | 101 | name: "filter_frames_before_trace_starts" |
| 102 | namespace: "core_graphics" |
| 103 | description: "Do not trace FrameTimeline events for frames started before the trace started" |
| 104 | bug: "364194637" |
| 105 | is_fixed_read_only: true |
| 106 | metadata { |
| 107 | purpose: PURPOSE_BUGFIX |
| 108 | } |
| 109 | } # filter_frames_before_trace_starts |
| 110 | |
| 111 | flag { |
Leon Scroggins III | a3ba7fa | 2024-05-22 16:34:52 -0400 | [diff] [blame] | 112 | name: "flush_buffer_slots_to_uncache" |
| 113 | namespace: "core_graphics" |
| 114 | description: "Flush DisplayCommands for disabled displays in order to uncache requested buffers." |
| 115 | bug: "330806421" |
| 116 | is_fixed_read_only: true |
| 117 | metadata { |
| 118 | purpose: PURPOSE_BUGFIX |
| 119 | } |
| 120 | } # flush_buffer_slots_to_uncache |
| 121 | |
| 122 | flag { |
Nolan Scobie | 4a46664 | 2024-05-23 16:22:22 -0400 | [diff] [blame] | 123 | name: "force_compile_graphite_renderengine" |
| 124 | namespace: "core_graphics" |
| 125 | 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." |
| 126 | bug: "293371537" |
| 127 | is_fixed_read_only: true |
| 128 | } # force_compile_graphite_renderengine |
| 129 | |
| 130 | flag { |
Rachel Lee | 52f0abe | 2024-03-14 18:34:04 -0700 | [diff] [blame] | 131 | name: "frame_rate_category_mrr" |
| 132 | namespace: "core_graphics" |
| 133 | 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" |
| 134 | bug: "330224639" |
| 135 | is_fixed_read_only: true |
| 136 | metadata { |
| 137 | purpose: PURPOSE_BUGFIX |
| 138 | } |
| 139 | } # frame_rate_category_mrr |
| 140 | |
Ady Abraham | bb1ad76 | 2024-03-27 18:31:28 -0700 | [diff] [blame] | 141 | flag { |
| 142 | name: "latch_unsignaled_with_auto_refresh_changed" |
| 143 | namespace: "core_graphics" |
| 144 | description: "Ignore eAutoRefreshChanged with latch unsignaled" |
| 145 | bug: "331513837" |
| 146 | is_fixed_read_only: true |
| 147 | metadata { |
| 148 | purpose: PURPOSE_BUGFIX |
| 149 | } |
| 150 | } # latch_unsignaled_with_auto_refresh_changed |
| 151 | |
Alec Mouri | 1818c18 | 2024-05-13 18:25:11 +0000 | [diff] [blame] | 152 | flag { |
Lucas Berthou | 8d0a0c4 | 2024-08-27 14:32:31 +0000 | [diff] [blame] | 153 | name: "local_tonemap_screenshots" |
| 154 | namespace: "core_graphics" |
| 155 | description: "Enables local tonemapping when capturing screenshots" |
| 156 | bug: "329464641" |
| 157 | is_fixed_read_only: true |
Alec Mouri | 1818c18 | 2024-05-13 18:25:11 +0000 | [diff] [blame] | 158 | } # local_tonemap_screenshots |
| 159 | |
Melody Hsu | 8c42cf1 | 2024-06-05 00:07:03 +0000 | [diff] [blame] | 160 | flag { |
| 161 | name: "single_hop_screenshot" |
| 162 | namespace: "window_surfaces" |
| 163 | description: "Only access SF main thread once during a screenshot" |
| 164 | bug: "285553970" |
| 165 | is_fixed_read_only: true |
| 166 | metadata { |
| 167 | purpose: PURPOSE_BUGFIX |
| 168 | } |
| 169 | } # single_hop_screenshot |
| 170 | |
Alec Mouri | 2b96d35 | 2024-07-09 19:19:36 +0000 | [diff] [blame] | 171 | flag { |
Lucas Berthou | 8d0a0c4 | 2024-08-27 14:32:31 +0000 | [diff] [blame] | 172 | name: "true_hdr_screenshots" |
| 173 | namespace: "core_graphics" |
| 174 | description: "Enables screenshotting display content in HDR, sans tone mapping" |
| 175 | bug: "329470026" |
| 176 | is_fixed_read_only: true |
Alec Mouri | 2b96d35 | 2024-07-09 19:19:36 +0000 | [diff] [blame] | 177 | } # true_hdr_screenshots |
| 178 | |
Vishnu Nair | 9e0017e | 2024-05-22 19:02:44 +0000 | [diff] [blame] | 179 | flag { |
| 180 | name: "override_trusted_overlay" |
| 181 | namespace: "window_surfaces" |
| 182 | description: "Allow child to disable trusted overlay set by a parent layer" |
| 183 | bug: "339701674" |
| 184 | is_fixed_read_only: true |
| 185 | metadata { |
| 186 | purpose: PURPOSE_BUGFIX |
| 187 | } |
| 188 | } # override_trusted_overlay |
| 189 | |
Vishnu Nair | df59f47 | 2024-05-17 16:51:33 +0000 | [diff] [blame] | 190 | flag { |
Lucas Berthou | 8d0a0c4 | 2024-08-27 14:32:31 +0000 | [diff] [blame] | 191 | name: "view_set_requested_frame_rate_mrr" |
| 192 | namespace: "core_graphics" |
| 193 | description: "Enable to use frame rate category NoPreference with fixed frame rate vote on MRR devices" |
| 194 | bug: "352206100" |
| 195 | is_fixed_read_only: true |
Rachel Lee | 0dd0518 | 2024-08-13 16:31:45 -0700 | [diff] [blame] | 196 | } # view_set_requested_frame_rate_mrr |
| 197 | |
| 198 | flag { |
Vishnu Nair | df59f47 | 2024-05-17 16:51:33 +0000 | [diff] [blame] | 199 | name: "vrr_bugfix_24q4" |
| 200 | namespace: "core_graphics" |
| 201 | description: "bug fixes for VRR" |
| 202 | bug: "331513837" |
| 203 | is_fixed_read_only: true |
| 204 | metadata { |
| 205 | purpose: PURPOSE_BUGFIX |
| 206 | } |
| 207 | } # vrr_bugfix_24q4 |
| 208 | |
ramindani | a3be80c | 2024-06-20 14:08:37 -0700 | [diff] [blame] | 209 | flag { |
| 210 | name: "vrr_bugfix_dropped_frame" |
| 211 | namespace: "core_graphics" |
| 212 | description: "bug fix for VRR dropped frame" |
| 213 | bug: "343603085" |
| 214 | is_fixed_read_only: true |
| 215 | metadata { |
| 216 | purpose: PURPOSE_BUGFIX |
| 217 | } |
| 218 | } # vrr_bugfix_dropped_frame |
| 219 | |
Ady Abraham | bcc90ee | 2024-02-28 15:43:51 -0800 | [diff] [blame] | 220 | # IMPORTANT - please keep alphabetize to reduce merge conflicts |