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