blob: f644893c9f66280771969a98104ae3ae1f3f8b9b [file] [log] [blame]
Ady Abraham5ffd98a2023-08-24 17:37:01 -07001package: "com.android.graphics.surfaceflinger.flags"
Oriol Prieto Gasco33fd22e2024-02-06 18:34:41 +00002container: "system"
Ady Abraham5ffd98a2023-08-24 17:37:01 -07003
4flag {
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 Johnsonc99f6382023-09-07 10:52:30 -070010}
11
12flag {
13 name: "connected_display"
14 namespace: "core_graphics"
Brian Johnson9489a0c2023-09-28 12:16:07 -070015 description: "Controls SurfaceFlinger support for Connected Displays in 24Q1"
Brian Johnson766320a2023-10-09 09:18:03 -070016 bug: "278199093"
Brian Johnsonc99f6382023-09-07 10:52:30 -070017 is_fixed_read_only: true
18}
Ady Abraham6e54cdc2023-09-06 18:11:31 -070019
ramindani70465c42023-09-08 10:58:29 -070020flag {
21 name: "vrr_config"
22 namespace: "core_graphics"
23 description: "Controls SurfaceFlinger support for VRR Configurations"
24 bug: "284845445"
25 is_fixed_read_only: true
26}
Arthur Hungc99303b2023-10-02 07:25:24 +000027
28flag {
Manali Bhutiyani96f866c2023-11-09 18:09:44 +000029 name: "enable_layer_command_batching"
30 namespace: "core_graphics"
31 description: "This flag controls batching on createLayer/destroyLayer command with executeCommand."
32 bug: "290685621"
33 is_fixed_read_only: true
34}
35
36flag {
Ady Abraham529bd9f2023-10-05 14:55:30 -070037 name: "dont_skip_on_early"
38 namespace: "core_graphics"
39 description: "This flag is guarding the behaviour where SurfaceFlinger is trying to opportunistically present a frame when the configuration change from late to early"
40 bug: "273702768"
41}
Leon Scroggins IIIca7ea7b2023-09-07 13:59:24 -040042
43flag {
44 name: "multithreaded_present"
45 namespace: "core_graphics"
46 description: "Controls whether to offload present calls to another thread"
47 bug: "259132483"
48 is_fixed_read_only: true
49}
Arthur Hungdac89e92023-10-19 15:24:23 +000050
51flag {
52 name: "enable_small_area_detection"
53 namespace: "core_graphics"
54 description: "Feature flag for SmallAreaDetection"
55 bug: "283055450"
56 is_fixed_read_only: true
Brian Johnson8c144002023-10-30 15:47:44 -070057}
58
59flag {
60 name: "hotplug2"
61 namespace: "core_graphics"
62 description: "Feature flag for using hotplug2 HAL API"
63 bug: "303460805"
64 is_fixed_read_only: true
65}
Brian Johnson4f095462023-10-31 10:12:55 -070066
67flag {
68 name: "hdcp_level_hal"
69 namespace: "core_graphics"
70 description: "Feature flag for adding a HAL API to commuicate hdcp levels"
71 bug: "285359126"
72 is_fixed_read_only: true
73}
74
Sally Qide329f22023-09-26 16:21:39 -070075flag {
Sally Qif5721252023-11-17 11:14:53 -080076 name: "add_sf_skipped_frames_to_trace"
77 namespace: "core_graphics"
78 description: "Add SurfaceFlinger dropped Frames to frame timeline"
79 bug: "273701290"
80 is_fixed_read_only: true
81}
82
83flag {
Sally Qide329f22023-09-26 16:21:39 -070084 name: "refresh_rate_overlay_on_external_display"
85 namespace: "core_graphics"
86 description: "enable refresh rate indicator on the external display"
87 bug: "301647974"
88}
Jerry Chang04eb8e02023-11-15 08:06:07 +000089
90flag {
91 name: "use_known_refresh_rate_for_fps_consistency"
92 namespace: "core_graphics"
93 description: "Whether to use the closest known refresh rate to determine the fps consistency."
94 bug: "299201319"
Jerry Changf4755232023-12-26 12:37:56 +000095 is_fixed_read_only: true
Jerry Chang04eb8e02023-11-15 08:06:07 +000096}
Sally Qi567cf842023-11-14 15:25:29 -080097
Sally Qi4e20d7b2023-12-18 18:23:51 -080098# This flag is broken.
99# See alternative one: cache_when_source_crop_layer_only_moved
100# flag {
101# name: "cache_if_source_crop_layer_only_moved"
102# namespace: "core_graphics"
103# description: "do not flatten layers if source crop is only moved"
104# bug: "305718400"
105# is_fixed_read_only: true
106# }
107
Sally Qi567cf842023-11-14 15:25:29 -0800108flag {
Sally Qi4e20d7b2023-12-18 18:23:51 -0800109 name: "cache_when_source_crop_layer_only_moved"
Sally Qi567cf842023-11-14 15:25:29 -0800110 namespace: "core_graphics"
111 description: "do not flatten layers if source crop is only moved"
112 bug: "305718400"
Sally Qi34f26832023-12-05 18:58:42 +0000113 is_fixed_read_only: true
Ady Abraham3f84c502023-11-30 18:18:06 -0800114}
115
116flag {
117 name: "enable_fro_dependent_features"
118 namespace: "core_graphics"
119 description: "enable frame rate override dependent features by default"
120 bug: "314217419"
Sally Qi567cf842023-11-14 15:25:29 -0800121 is_fixed_read_only: true
122}
Chavi Weingarten18fa7c62023-11-28 21:16:03 +0000123
124flag {
125 name: "display_protected"
126 namespace: "core_graphics"
127 description: "Introduce protected displays to specify whether they should render protected content"
128 bug: "301647974"
129 is_fixed_read_only: true
130}
Alec Mourif97df4d2023-09-06 02:10:05 +0000131
132flag {
133 name: "fp16_client_target"
134 namespace: "core_graphics"
135 description: "Controls whether we render to fp16 client targets"
136 bug: "236745178"
137 is_fixed_read_only: true
138}
Andy Yu8c2703d2023-11-03 11:22:46 -0700139
140flag {
141 name: "game_default_frame_rate"
142 namespace: "game"
143 description: "This flag guards the new behavior with the addition of Game Default Frame Rate feature."
144 bug: "286084594"
145 is_fixed_read_only: true
146}
Leon Scroggins IIIfe6d6a62024-01-08 17:09:18 -0500147
148flag {
149 name: "vulkan_renderengine"
150 namespace: "core_graphics"
151 description: "Use Vulkan backend in RenderEngine prior to switching to Graphite."
152 bug: "293371537"
153 is_fixed_read_only: true
154}
155
156flag {
157 name: "graphite_renderengine"
158 namespace: "core_graphics"
159 description: "Use Skia's Graphite Vulkan backend in RenderEngine."
160 bug: "293371537"
161 is_fixed_read_only: true
162}
Alec Mouri9892aac2023-12-11 21:16:59 +0000163
164flag {
165 name: "screenshot_fence_preservation"
166 namespace: "core_graphics"
167 description: "Bug fix around screenshot fences"
168 bug: "302703346"
169 is_fixed_read_only: true
170}
Leon Scroggins IIIdf8166e2024-01-25 15:50:56 -0500171
172flag {
173 name: "renderable_buffer_usage"
174 namespace: "core_graphics"
175 description: "Decide whether an ExternalTexture isRenderable based on its buffer's usage."
176 bug: "305445199"
177 is_fixed_read_only: true
178 metadata {
179 purpose: PURPOSE_BUGFIX
180 }
181}
Leon Scroggins III48a60cc2024-01-31 12:41:33 -0500182
183flag {
184 name: "restore_blur_step"
185 namespace: "core_graphics"
186 description: "Restore drawing the blur input prior to drawing blurred content."
187 bug: "255921628"
188 is_fixed_read_only: true
189 metadata {
190 purpose: PURPOSE_BUGFIX
191 }
192}