Ady Abraham | 5ffd98a | 2023-08-24 17:37:01 -0700 | [diff] [blame] | 1 | package: "com.android.graphics.surfaceflinger.flags" |
| 2 | |
| 3 | flag { |
| 4 | name: "misc1" |
| 5 | namespace: "core_graphics" |
| 6 | description: "This flag controls minor miscellaneous SurfaceFlinger changes" |
| 7 | bug: "297389311" |
| 8 | is_fixed_read_only: true |
Brian Johnson | c99f638 | 2023-09-07 10:52:30 -0700 | [diff] [blame] | 9 | } |
| 10 | |
| 11 | flag { |
| 12 | name: "connected_display" |
| 13 | namespace: "core_graphics" |
Brian Johnson | 9489a0c | 2023-09-28 12:16:07 -0700 | [diff] [blame] | 14 | description: "Controls SurfaceFlinger support for Connected Displays in 24Q1" |
Brian Johnson | 766320a | 2023-10-09 09:18:03 -0700 | [diff] [blame] | 15 | bug: "278199093" |
Brian Johnson | c99f638 | 2023-09-07 10:52:30 -0700 | [diff] [blame] | 16 | is_fixed_read_only: true |
| 17 | } |
Ady Abraham | 6e54cdc | 2023-09-06 18:11:31 -0700 | [diff] [blame] | 18 | |
| 19 | flag{ |
| 20 | name: "late_boot_misc2" |
| 21 | namespace: "core_graphics" |
| 22 | description: "This flag controls minor miscellaneous SurfaceFlinger changes. Cannot be read before boot finished!" |
| 23 | bug: "297389311" |
| 24 | } |
ramindani | 70465c4 | 2023-09-08 10:58:29 -0700 | [diff] [blame] | 25 | |
| 26 | flag { |
| 27 | name: "vrr_config" |
| 28 | namespace: "core_graphics" |
| 29 | description: "Controls SurfaceFlinger support for VRR Configurations" |
| 30 | bug: "284845445" |
| 31 | is_fixed_read_only: true |
| 32 | } |
Arthur Hung | c99303b | 2023-10-02 07:25:24 +0000 | [diff] [blame] | 33 | |
| 34 | flag { |
Ady Abraham | 529bd9f | 2023-10-05 14:55:30 -0700 | [diff] [blame] | 35 | name: "dont_skip_on_early" |
| 36 | namespace: "core_graphics" |
| 37 | description: "This flag is guarding the behaviour where SurfaceFlinger is trying to opportunistically present a frame when the configuration change from late to early" |
| 38 | bug: "273702768" |
| 39 | } |
Leon Scroggins III | ca7ea7b | 2023-09-07 13:59:24 -0400 | [diff] [blame] | 40 | |
| 41 | flag { |
| 42 | name: "multithreaded_present" |
| 43 | namespace: "core_graphics" |
| 44 | description: "Controls whether to offload present calls to another thread" |
| 45 | bug: "259132483" |
| 46 | is_fixed_read_only: true |
| 47 | } |
Arthur Hung | dac89e9 | 2023-10-19 15:24:23 +0000 | [diff] [blame] | 48 | |
| 49 | flag { |
| 50 | name: "enable_small_area_detection" |
| 51 | namespace: "core_graphics" |
| 52 | description: "Feature flag for SmallAreaDetection" |
| 53 | bug: "283055450" |
| 54 | is_fixed_read_only: true |
Brian Johnson | 8c14400 | 2023-10-30 15:47:44 -0700 | [diff] [blame] | 55 | } |
| 56 | |
| 57 | flag { |
| 58 | name: "hotplug2" |
| 59 | namespace: "core_graphics" |
| 60 | description: "Feature flag for using hotplug2 HAL API" |
| 61 | bug: "303460805" |
| 62 | is_fixed_read_only: true |
| 63 | } |
Brian Johnson | 4f09546 | 2023-10-31 10:12:55 -0700 | [diff] [blame] | 64 | |
| 65 | flag { |
| 66 | name: "hdcp_level_hal" |
| 67 | namespace: "core_graphics" |
| 68 | description: "Feature flag for adding a HAL API to commuicate hdcp levels" |
| 69 | bug: "285359126" |
| 70 | is_fixed_read_only: true |
| 71 | } |
| 72 | |
Sally Qi | de329f2 | 2023-09-26 16:21:39 -0700 | [diff] [blame] | 73 | flag { |
Sally Qi | f572125 | 2023-11-17 11:14:53 -0800 | [diff] [blame] | 74 | name: "add_sf_skipped_frames_to_trace" |
| 75 | namespace: "core_graphics" |
| 76 | description: "Add SurfaceFlinger dropped Frames to frame timeline" |
| 77 | bug: "273701290" |
| 78 | is_fixed_read_only: true |
| 79 | } |
| 80 | |
| 81 | flag { |
Sally Qi | de329f2 | 2023-09-26 16:21:39 -0700 | [diff] [blame] | 82 | name: "refresh_rate_overlay_on_external_display" |
| 83 | namespace: "core_graphics" |
| 84 | description: "enable refresh rate indicator on the external display" |
| 85 | bug: "301647974" |
| 86 | } |
Jerry Chang | 04eb8e0 | 2023-11-15 08:06:07 +0000 | [diff] [blame] | 87 | |
| 88 | flag { |
| 89 | name: "use_known_refresh_rate_for_fps_consistency" |
| 90 | namespace: "core_graphics" |
| 91 | description: "Whether to use the closest known refresh rate to determine the fps consistency." |
| 92 | bug: "299201319" |
Jerry Chang | 04eb8e0 | 2023-11-15 08:06:07 +0000 | [diff] [blame] | 93 | } |
Sally Qi | 567cf84 | 2023-11-14 15:25:29 -0800 | [diff] [blame] | 94 | |
Sally Qi | 4e20d7b | 2023-12-18 18:23:51 -0800 | [diff] [blame^] | 95 | # This flag is broken. |
| 96 | # See alternative one: cache_when_source_crop_layer_only_moved |
| 97 | # flag { |
| 98 | # name: "cache_if_source_crop_layer_only_moved" |
| 99 | # namespace: "core_graphics" |
| 100 | # description: "do not flatten layers if source crop is only moved" |
| 101 | # bug: "305718400" |
| 102 | # is_fixed_read_only: true |
| 103 | # } |
| 104 | |
Sally Qi | 567cf84 | 2023-11-14 15:25:29 -0800 | [diff] [blame] | 105 | flag { |
Sally Qi | 4e20d7b | 2023-12-18 18:23:51 -0800 | [diff] [blame^] | 106 | name: "cache_when_source_crop_layer_only_moved" |
Sally Qi | 567cf84 | 2023-11-14 15:25:29 -0800 | [diff] [blame] | 107 | namespace: "core_graphics" |
| 108 | description: "do not flatten layers if source crop is only moved" |
| 109 | bug: "305718400" |
Sally Qi | 34f2683 | 2023-12-05 18:58:42 +0000 | [diff] [blame] | 110 | is_fixed_read_only: true |
Ady Abraham | 3f84c50 | 2023-11-30 18:18:06 -0800 | [diff] [blame] | 111 | } |
| 112 | |
| 113 | flag { |
| 114 | name: "enable_fro_dependent_features" |
| 115 | namespace: "core_graphics" |
| 116 | description: "enable frame rate override dependent features by default" |
| 117 | bug: "314217419" |
Sally Qi | 567cf84 | 2023-11-14 15:25:29 -0800 | [diff] [blame] | 118 | is_fixed_read_only: true |
| 119 | } |
Chavi Weingarten | 18fa7c6 | 2023-11-28 21:16:03 +0000 | [diff] [blame] | 120 | |
| 121 | flag { |
| 122 | name: "display_protected" |
| 123 | namespace: "core_graphics" |
| 124 | description: "Introduce protected displays to specify whether they should render protected content" |
| 125 | bug: "301647974" |
| 126 | is_fixed_read_only: true |
| 127 | } |
Alec Mouri | f97df4d | 2023-09-06 02:10:05 +0000 | [diff] [blame] | 128 | |
| 129 | flag { |
| 130 | name: "fp16_client_target" |
| 131 | namespace: "core_graphics" |
| 132 | description: "Controls whether we render to fp16 client targets" |
| 133 | bug: "236745178" |
| 134 | is_fixed_read_only: true |
| 135 | } |