Ady Abraham | bcc90ee | 2024-02-28 15:43:51 -0800 | [diff] [blame] | 1 | # This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig |
| 2 | |
Ady Abraham | 5ffd98a | 2023-08-24 17:37:01 -0700 | [diff] [blame] | 3 | package: "com.android.graphics.surfaceflinger.flags" |
Oriol Prieto Gasco | 33fd22e | 2024-02-06 18:34:41 +0000 | [diff] [blame] | 4 | container: "system" |
Ady Abraham | 5ffd98a | 2023-08-24 17:37:01 -0700 | [diff] [blame] | 5 | |
| 6 | flag { |
| 7 | name: "misc1" |
| 8 | namespace: "core_graphics" |
| 9 | description: "This flag controls minor miscellaneous SurfaceFlinger changes" |
| 10 | bug: "297389311" |
| 11 | is_fixed_read_only: true |
Brian Johnson | c99f638 | 2023-09-07 10:52:30 -0700 | [diff] [blame] | 12 | } |
| 13 | |
| 14 | flag { |
| 15 | name: "connected_display" |
| 16 | namespace: "core_graphics" |
Brian Johnson | 9489a0c | 2023-09-28 12:16:07 -0700 | [diff] [blame] | 17 | description: "Controls SurfaceFlinger support for Connected Displays in 24Q1" |
Brian Johnson | 766320a | 2023-10-09 09:18:03 -0700 | [diff] [blame] | 18 | bug: "278199093" |
Brian Johnson | c99f638 | 2023-09-07 10:52:30 -0700 | [diff] [blame] | 19 | is_fixed_read_only: true |
| 20 | } |
Ady Abraham | 6e54cdc | 2023-09-06 18:11:31 -0700 | [diff] [blame] | 21 | |
ramindani | 70465c4 | 2023-09-08 10:58:29 -0700 | [diff] [blame] | 22 | flag { |
| 23 | name: "vrr_config" |
| 24 | namespace: "core_graphics" |
| 25 | description: "Controls SurfaceFlinger support for VRR Configurations" |
| 26 | bug: "284845445" |
| 27 | is_fixed_read_only: true |
| 28 | } |
Arthur Hung | c99303b | 2023-10-02 07:25:24 +0000 | [diff] [blame] | 29 | |
Ady Abraham | bcc90ee | 2024-02-28 15:43:51 -0800 | [diff] [blame] | 30 | # This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig |
| 31 | |
Arthur Hung | c99303b | 2023-10-02 07:25:24 +0000 | [diff] [blame] | 32 | flag { |
Manali Bhutiyani | 96f866c | 2023-11-09 18:09:44 +0000 | [diff] [blame] | 33 | name: "enable_layer_command_batching" |
| 34 | namespace: "core_graphics" |
| 35 | description: "This flag controls batching on createLayer/destroyLayer command with executeCommand." |
| 36 | bug: "290685621" |
| 37 | is_fixed_read_only: true |
| 38 | } |
| 39 | |
| 40 | flag { |
Leon Scroggins III | ca7ea7b | 2023-09-07 13:59:24 -0400 | [diff] [blame] | 41 | name: "multithreaded_present" |
| 42 | namespace: "core_graphics" |
| 43 | description: "Controls whether to offload present calls to another thread" |
| 44 | bug: "259132483" |
| 45 | is_fixed_read_only: true |
| 46 | } |
Arthur Hung | dac89e9 | 2023-10-19 15:24:23 +0000 | [diff] [blame] | 47 | |
| 48 | flag { |
| 49 | name: "enable_small_area_detection" |
| 50 | namespace: "core_graphics" |
| 51 | description: "Feature flag for SmallAreaDetection" |
| 52 | bug: "283055450" |
| 53 | is_fixed_read_only: true |
Brian Johnson | 8c14400 | 2023-10-30 15:47:44 -0700 | [diff] [blame] | 54 | } |
| 55 | |
Ady Abraham | bcc90ee | 2024-02-28 15:43:51 -0800 | [diff] [blame] | 56 | # This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig |
| 57 | |
Brian Johnson | 8c14400 | 2023-10-30 15:47:44 -0700 | [diff] [blame] | 58 | flag { |
| 59 | name: "hotplug2" |
| 60 | namespace: "core_graphics" |
| 61 | description: "Feature flag for using hotplug2 HAL API" |
| 62 | bug: "303460805" |
| 63 | is_fixed_read_only: true |
| 64 | } |
Brian Johnson | 4f09546 | 2023-10-31 10:12:55 -0700 | [diff] [blame] | 65 | |
| 66 | flag { |
| 67 | name: "hdcp_level_hal" |
| 68 | namespace: "core_graphics" |
| 69 | description: "Feature flag for adding a HAL API to commuicate hdcp levels" |
| 70 | bug: "285359126" |
| 71 | is_fixed_read_only: true |
| 72 | } |
| 73 | |
Sally Qi | de329f2 | 2023-09-26 16:21:39 -0700 | [diff] [blame] | 74 | flag { |
Sally Qi | f572125 | 2023-11-17 11:14:53 -0800 | [diff] [blame] | 75 | name: "add_sf_skipped_frames_to_trace" |
| 76 | namespace: "core_graphics" |
| 77 | description: "Add SurfaceFlinger dropped Frames to frame timeline" |
| 78 | bug: "273701290" |
| 79 | is_fixed_read_only: true |
| 80 | } |
| 81 | |
Ady Abraham | bcc90ee | 2024-02-28 15:43:51 -0800 | [diff] [blame] | 82 | # This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig |
| 83 | |
Sally Qi | f572125 | 2023-11-17 11:14:53 -0800 | [diff] [blame] | 84 | flag { |
Sally Qi | de329f2 | 2023-09-26 16:21:39 -0700 | [diff] [blame] | 85 | name: "refresh_rate_overlay_on_external_display" |
| 86 | namespace: "core_graphics" |
| 87 | description: "enable refresh rate indicator on the external display" |
| 88 | bug: "301647974" |
| 89 | } |
Jerry Chang | 04eb8e0 | 2023-11-15 08:06:07 +0000 | [diff] [blame] | 90 | |
| 91 | flag { |
| 92 | name: "use_known_refresh_rate_for_fps_consistency" |
| 93 | namespace: "core_graphics" |
| 94 | description: "Whether to use the closest known refresh rate to determine the fps consistency." |
| 95 | bug: "299201319" |
Jerry Chang | f475523 | 2023-12-26 12:37:56 +0000 | [diff] [blame] | 96 | is_fixed_read_only: true |
Jerry Chang | 04eb8e0 | 2023-11-15 08:06:07 +0000 | [diff] [blame] | 97 | } |
Sally Qi | 567cf84 | 2023-11-14 15:25:29 -0800 | [diff] [blame] | 98 | |
Sally Qi | 4e20d7b | 2023-12-18 18:23:51 -0800 | [diff] [blame] | 99 | # This flag is broken. |
| 100 | # See alternative one: cache_when_source_crop_layer_only_moved |
| 101 | # flag { |
| 102 | # name: "cache_if_source_crop_layer_only_moved" |
| 103 | # namespace: "core_graphics" |
| 104 | # description: "do not flatten layers if source crop is only moved" |
| 105 | # bug: "305718400" |
| 106 | # is_fixed_read_only: true |
| 107 | # } |
| 108 | |
Ady Abraham | bcc90ee | 2024-02-28 15:43:51 -0800 | [diff] [blame] | 109 | # This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig |
| 110 | |
Sally Qi | 567cf84 | 2023-11-14 15:25:29 -0800 | [diff] [blame] | 111 | flag { |
Sally Qi | 4e20d7b | 2023-12-18 18:23:51 -0800 | [diff] [blame] | 112 | name: "cache_when_source_crop_layer_only_moved" |
Sally Qi | 567cf84 | 2023-11-14 15:25:29 -0800 | [diff] [blame] | 113 | namespace: "core_graphics" |
| 114 | description: "do not flatten layers if source crop is only moved" |
| 115 | bug: "305718400" |
Sally Qi | 34f2683 | 2023-12-05 18:58:42 +0000 | [diff] [blame] | 116 | is_fixed_read_only: true |
Ady Abraham | 3f84c50 | 2023-11-30 18:18:06 -0800 | [diff] [blame] | 117 | } |
| 118 | |
| 119 | flag { |
| 120 | name: "enable_fro_dependent_features" |
| 121 | namespace: "core_graphics" |
| 122 | description: "enable frame rate override dependent features by default" |
| 123 | bug: "314217419" |
Sally Qi | 567cf84 | 2023-11-14 15:25:29 -0800 | [diff] [blame] | 124 | is_fixed_read_only: true |
| 125 | } |
Chavi Weingarten | 18fa7c6 | 2023-11-28 21:16:03 +0000 | [diff] [blame] | 126 | |
| 127 | flag { |
| 128 | name: "display_protected" |
| 129 | namespace: "core_graphics" |
| 130 | description: "Introduce protected displays to specify whether they should render protected content" |
| 131 | bug: "301647974" |
| 132 | is_fixed_read_only: true |
| 133 | } |
Alec Mouri | f97df4d | 2023-09-06 02:10:05 +0000 | [diff] [blame] | 134 | |
| 135 | flag { |
| 136 | name: "fp16_client_target" |
| 137 | namespace: "core_graphics" |
| 138 | description: "Controls whether we render to fp16 client targets" |
| 139 | bug: "236745178" |
| 140 | is_fixed_read_only: true |
| 141 | } |
Andy Yu | 8c2703d | 2023-11-03 11:22:46 -0700 | [diff] [blame] | 142 | |
Ady Abraham | bcc90ee | 2024-02-28 15:43:51 -0800 | [diff] [blame] | 143 | # This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig |
| 144 | |
Andy Yu | 8c2703d | 2023-11-03 11:22:46 -0700 | [diff] [blame] | 145 | flag { |
| 146 | name: "game_default_frame_rate" |
| 147 | namespace: "game" |
| 148 | description: "This flag guards the new behavior with the addition of Game Default Frame Rate feature." |
| 149 | bug: "286084594" |
| 150 | is_fixed_read_only: true |
| 151 | } |
Leon Scroggins III | fe6d6a6 | 2024-01-08 17:09:18 -0500 | [diff] [blame] | 152 | |
| 153 | flag { |
| 154 | name: "vulkan_renderengine" |
| 155 | namespace: "core_graphics" |
| 156 | description: "Use Vulkan backend in RenderEngine prior to switching to Graphite." |
| 157 | bug: "293371537" |
| 158 | is_fixed_read_only: true |
| 159 | } |
| 160 | |
| 161 | flag { |
| 162 | name: "graphite_renderengine" |
| 163 | namespace: "core_graphics" |
Nolan Scobie | 4a46664 | 2024-05-23 16:22:22 -0400 | [diff] [blame] | 164 | description: "Compile AND enable Skia's Graphite Vulkan backend in RenderEngine. See also: force_compile_graphite_renderengine." |
Leon Scroggins III | fe6d6a6 | 2024-01-08 17:09:18 -0500 | [diff] [blame] | 165 | bug: "293371537" |
| 166 | is_fixed_read_only: true |
| 167 | } |
Alec Mouri | 9892aac | 2023-12-11 21:16:59 +0000 | [diff] [blame] | 168 | |
| 169 | flag { |
| 170 | name: "screenshot_fence_preservation" |
| 171 | namespace: "core_graphics" |
| 172 | description: "Bug fix around screenshot fences" |
| 173 | bug: "302703346" |
| 174 | is_fixed_read_only: true |
| 175 | } |
Leon Scroggins III | df8166e | 2024-01-25 15:50:56 -0500 | [diff] [blame] | 176 | |
Ady Abraham | bcc90ee | 2024-02-28 15:43:51 -0800 | [diff] [blame] | 177 | # This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig |
| 178 | |
Leon Scroggins III | df8166e | 2024-01-25 15:50:56 -0500 | [diff] [blame] | 179 | flag { |
| 180 | name: "renderable_buffer_usage" |
| 181 | namespace: "core_graphics" |
| 182 | description: "Decide whether an ExternalTexture isRenderable based on its buffer's usage." |
| 183 | bug: "305445199" |
| 184 | is_fixed_read_only: true |
| 185 | metadata { |
| 186 | purpose: PURPOSE_BUGFIX |
| 187 | } |
| 188 | } |
Leon Scroggins III | 48a60cc | 2024-01-31 12:41:33 -0500 | [diff] [blame] | 189 | |
| 190 | flag { |
| 191 | name: "restore_blur_step" |
| 192 | namespace: "core_graphics" |
| 193 | description: "Restore drawing the blur input prior to drawing blurred content." |
| 194 | bug: "255921628" |
| 195 | is_fixed_read_only: true |
| 196 | metadata { |
| 197 | purpose: PURPOSE_BUGFIX |
| 198 | } |
| 199 | } |
Ady Abraham | bf55489 | 2024-02-14 18:18:21 +0000 | [diff] [blame] | 200 | |
Ady Abraham | bcc90ee | 2024-02-28 15:43:51 -0800 | [diff] [blame] | 201 | # This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig |
| 202 | |
Ady Abraham | bf55489 | 2024-02-14 18:18:21 +0000 | [diff] [blame] | 203 | flag { |
| 204 | name: "dont_skip_on_early_ro" |
| 205 | namespace: "core_graphics" |
| 206 | description: "This flag is guarding the behaviour where SurfaceFlinger is trying to opportunistically present a frame when the configuration change from late to early" |
| 207 | bug: "273702768" |
Ady Abraham | 6ad86bd | 2024-02-27 21:54:02 +0000 | [diff] [blame] | 208 | is_fixed_read_only: true |
| 209 | metadata { |
| 210 | purpose: PURPOSE_BUGFIX |
| 211 | } |
Eason Chiu | 4509966 | 2023-10-23 08:55:48 +0800 | [diff] [blame] | 212 | } |
| 213 | |
| 214 | flag { |
| 215 | name: "protected_if_client" |
| 216 | namespace: "core_graphics" |
| 217 | description: "Only set the RenderSurface to protected if protected layers are in client composition." |
| 218 | bug: "307674749" |
Ady Abraham | bf55489 | 2024-02-14 18:18:21 +0000 | [diff] [blame] | 219 | is_fixed_read_only: true |
| 220 | metadata { |
| 221 | purpose: PURPOSE_BUGFIX |
| 222 | } |
| 223 | } |
Ady Abraham | bcc90ee | 2024-02-28 15:43:51 -0800 | [diff] [blame] | 224 | |
ramindani | 8470d76 | 2024-04-10 15:18:43 -0700 | [diff] [blame] | 225 | flag { |
| 226 | name: "allow_n_vsyncs_in_targeter" |
| 227 | namespace: "core_graphics" |
| 228 | description: "This flag will enable utilizing N vsyncs in the FrameTargeter for past vsyncs" |
| 229 | bug: "308858993" |
| 230 | is_fixed_read_only: true |
| 231 | metadata { |
| 232 | purpose: PURPOSE_BUGFIX |
| 233 | } |
| 234 | } |
| 235 | |
Ady Abraham | bcc90ee | 2024-02-28 15:43:51 -0800 | [diff] [blame] | 236 | # This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig |