Ady Abraham | 5ffd98a | 2023-08-24 17:37:01 -0700 | [diff] [blame] | 1 | package: "com.android.graphics.surfaceflinger.flags" |
Oriol Prieto Gasco | 33fd22e | 2024-02-06 18:34:41 +0000 | [diff] [blame^] | 2 | container: "system" |
Ady Abraham | 5ffd98a | 2023-08-24 17:37:01 -0700 | [diff] [blame] | 3 | |
| 4 | flag { |
| 5 | name: "misc1" |
| 6 | namespace: "core_graphics" |
| 7 | description: "This flag controls minor miscellaneous SurfaceFlinger changes" |
| 8 | bug: "297389311" |
| 9 | is_fixed_read_only: true |
Brian Johnson | c99f638 | 2023-09-07 10:52:30 -0700 | [diff] [blame] | 10 | } |
| 11 | |
| 12 | flag { |
| 13 | name: "connected_display" |
| 14 | namespace: "core_graphics" |
Brian Johnson | 9489a0c | 2023-09-28 12:16:07 -0700 | [diff] [blame] | 15 | description: "Controls SurfaceFlinger support for Connected Displays in 24Q1" |
Brian Johnson | 766320a | 2023-10-09 09:18:03 -0700 | [diff] [blame] | 16 | bug: "278199093" |
Brian Johnson | c99f638 | 2023-09-07 10:52:30 -0700 | [diff] [blame] | 17 | is_fixed_read_only: true |
| 18 | } |
Ady Abraham | 6e54cdc | 2023-09-06 18:11:31 -0700 | [diff] [blame] | 19 | |
| 20 | flag{ |
| 21 | name: "late_boot_misc2" |
| 22 | namespace: "core_graphics" |
| 23 | description: "This flag controls minor miscellaneous SurfaceFlinger changes. Cannot be read before boot finished!" |
| 24 | bug: "297389311" |
| 25 | } |
ramindani | 70465c4 | 2023-09-08 10:58:29 -0700 | [diff] [blame] | 26 | |
| 27 | flag { |
| 28 | name: "vrr_config" |
| 29 | namespace: "core_graphics" |
| 30 | description: "Controls SurfaceFlinger support for VRR Configurations" |
| 31 | bug: "284845445" |
| 32 | is_fixed_read_only: true |
| 33 | } |
Arthur Hung | c99303b | 2023-10-02 07:25:24 +0000 | [diff] [blame] | 34 | |
| 35 | flag { |
Manali Bhutiyani | 96f866c | 2023-11-09 18:09:44 +0000 | [diff] [blame] | 36 | name: "enable_layer_command_batching" |
| 37 | namespace: "core_graphics" |
| 38 | description: "This flag controls batching on createLayer/destroyLayer command with executeCommand." |
| 39 | bug: "290685621" |
| 40 | is_fixed_read_only: true |
| 41 | } |
| 42 | |
| 43 | flag { |
Ady Abraham | 529bd9f | 2023-10-05 14:55:30 -0700 | [diff] [blame] | 44 | name: "dont_skip_on_early" |
| 45 | namespace: "core_graphics" |
| 46 | description: "This flag is guarding the behaviour where SurfaceFlinger is trying to opportunistically present a frame when the configuration change from late to early" |
| 47 | bug: "273702768" |
| 48 | } |
Leon Scroggins III | ca7ea7b | 2023-09-07 13:59:24 -0400 | [diff] [blame] | 49 | |
| 50 | flag { |
| 51 | name: "multithreaded_present" |
| 52 | namespace: "core_graphics" |
| 53 | description: "Controls whether to offload present calls to another thread" |
| 54 | bug: "259132483" |
| 55 | is_fixed_read_only: true |
| 56 | } |
Arthur Hung | dac89e9 | 2023-10-19 15:24:23 +0000 | [diff] [blame] | 57 | |
| 58 | flag { |
| 59 | name: "enable_small_area_detection" |
| 60 | namespace: "core_graphics" |
| 61 | description: "Feature flag for SmallAreaDetection" |
| 62 | bug: "283055450" |
| 63 | is_fixed_read_only: true |
Brian Johnson | 8c14400 | 2023-10-30 15:47:44 -0700 | [diff] [blame] | 64 | } |
| 65 | |
| 66 | flag { |
| 67 | name: "hotplug2" |
| 68 | namespace: "core_graphics" |
| 69 | description: "Feature flag for using hotplug2 HAL API" |
| 70 | bug: "303460805" |
| 71 | is_fixed_read_only: true |
| 72 | } |
Brian Johnson | 4f09546 | 2023-10-31 10:12:55 -0700 | [diff] [blame] | 73 | |
| 74 | flag { |
| 75 | name: "hdcp_level_hal" |
| 76 | namespace: "core_graphics" |
| 77 | description: "Feature flag for adding a HAL API to commuicate hdcp levels" |
| 78 | bug: "285359126" |
| 79 | is_fixed_read_only: true |
| 80 | } |
| 81 | |
Sally Qi | de329f2 | 2023-09-26 16:21:39 -0700 | [diff] [blame] | 82 | flag { |
Sally Qi | f572125 | 2023-11-17 11:14:53 -0800 | [diff] [blame] | 83 | name: "add_sf_skipped_frames_to_trace" |
| 84 | namespace: "core_graphics" |
| 85 | description: "Add SurfaceFlinger dropped Frames to frame timeline" |
| 86 | bug: "273701290" |
| 87 | is_fixed_read_only: true |
| 88 | } |
| 89 | |
| 90 | flag { |
Sally Qi | de329f2 | 2023-09-26 16:21:39 -0700 | [diff] [blame] | 91 | name: "refresh_rate_overlay_on_external_display" |
| 92 | namespace: "core_graphics" |
| 93 | description: "enable refresh rate indicator on the external display" |
| 94 | bug: "301647974" |
| 95 | } |
Jerry Chang | 04eb8e0 | 2023-11-15 08:06:07 +0000 | [diff] [blame] | 96 | |
| 97 | flag { |
| 98 | name: "use_known_refresh_rate_for_fps_consistency" |
| 99 | namespace: "core_graphics" |
| 100 | description: "Whether to use the closest known refresh rate to determine the fps consistency." |
| 101 | bug: "299201319" |
Jerry Chang | f475523 | 2023-12-26 12:37:56 +0000 | [diff] [blame] | 102 | is_fixed_read_only: true |
Jerry Chang | 04eb8e0 | 2023-11-15 08:06:07 +0000 | [diff] [blame] | 103 | } |
Sally Qi | 567cf84 | 2023-11-14 15:25:29 -0800 | [diff] [blame] | 104 | |
Sally Qi | 4e20d7b | 2023-12-18 18:23:51 -0800 | [diff] [blame] | 105 | # This flag is broken. |
| 106 | # See alternative one: cache_when_source_crop_layer_only_moved |
| 107 | # flag { |
| 108 | # name: "cache_if_source_crop_layer_only_moved" |
| 109 | # namespace: "core_graphics" |
| 110 | # description: "do not flatten layers if source crop is only moved" |
| 111 | # bug: "305718400" |
| 112 | # is_fixed_read_only: true |
| 113 | # } |
| 114 | |
Sally Qi | 567cf84 | 2023-11-14 15:25:29 -0800 | [diff] [blame] | 115 | flag { |
Sally Qi | 4e20d7b | 2023-12-18 18:23:51 -0800 | [diff] [blame] | 116 | name: "cache_when_source_crop_layer_only_moved" |
Sally Qi | 567cf84 | 2023-11-14 15:25:29 -0800 | [diff] [blame] | 117 | namespace: "core_graphics" |
| 118 | description: "do not flatten layers if source crop is only moved" |
| 119 | bug: "305718400" |
Sally Qi | 34f2683 | 2023-12-05 18:58:42 +0000 | [diff] [blame] | 120 | is_fixed_read_only: true |
Ady Abraham | 3f84c50 | 2023-11-30 18:18:06 -0800 | [diff] [blame] | 121 | } |
| 122 | |
| 123 | flag { |
| 124 | name: "enable_fro_dependent_features" |
| 125 | namespace: "core_graphics" |
| 126 | description: "enable frame rate override dependent features by default" |
| 127 | bug: "314217419" |
Sally Qi | 567cf84 | 2023-11-14 15:25:29 -0800 | [diff] [blame] | 128 | is_fixed_read_only: true |
| 129 | } |
Chavi Weingarten | 18fa7c6 | 2023-11-28 21:16:03 +0000 | [diff] [blame] | 130 | |
| 131 | flag { |
| 132 | name: "display_protected" |
| 133 | namespace: "core_graphics" |
| 134 | description: "Introduce protected displays to specify whether they should render protected content" |
| 135 | bug: "301647974" |
| 136 | is_fixed_read_only: true |
| 137 | } |
Alec Mouri | f97df4d | 2023-09-06 02:10:05 +0000 | [diff] [blame] | 138 | |
| 139 | flag { |
| 140 | name: "fp16_client_target" |
| 141 | namespace: "core_graphics" |
| 142 | description: "Controls whether we render to fp16 client targets" |
| 143 | bug: "236745178" |
| 144 | is_fixed_read_only: true |
| 145 | } |
Andy Yu | 8c2703d | 2023-11-03 11:22:46 -0700 | [diff] [blame] | 146 | |
| 147 | flag { |
| 148 | name: "game_default_frame_rate" |
| 149 | namespace: "game" |
| 150 | description: "This flag guards the new behavior with the addition of Game Default Frame Rate feature." |
| 151 | bug: "286084594" |
| 152 | is_fixed_read_only: true |
| 153 | } |
Leon Scroggins III | fe6d6a6 | 2024-01-08 17:09:18 -0500 | [diff] [blame] | 154 | |
| 155 | flag { |
| 156 | name: "vulkan_renderengine" |
| 157 | namespace: "core_graphics" |
| 158 | description: "Use Vulkan backend in RenderEngine prior to switching to Graphite." |
| 159 | bug: "293371537" |
| 160 | is_fixed_read_only: true |
| 161 | } |
| 162 | |
| 163 | flag { |
| 164 | name: "graphite_renderengine" |
| 165 | namespace: "core_graphics" |
| 166 | description: "Use Skia's Graphite Vulkan backend in RenderEngine." |
| 167 | bug: "293371537" |
| 168 | is_fixed_read_only: true |
| 169 | } |
Alec Mouri | 9892aac | 2023-12-11 21:16:59 +0000 | [diff] [blame] | 170 | |
| 171 | flag { |
| 172 | name: "screenshot_fence_preservation" |
| 173 | namespace: "core_graphics" |
| 174 | description: "Bug fix around screenshot fences" |
| 175 | bug: "302703346" |
| 176 | is_fixed_read_only: true |
| 177 | } |
Leon Scroggins III | df8166e | 2024-01-25 15:50:56 -0500 | [diff] [blame] | 178 | |
| 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 | } |