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