blob: c8f4218d3200310f2bf2859eb3bace5ba4832800 [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 {
Leon Scroggins IIIca7ea7b2023-09-07 13:59:24 -040037 name: "multithreaded_present"
38 namespace: "core_graphics"
39 description: "Controls whether to offload present calls to another thread"
40 bug: "259132483"
41 is_fixed_read_only: true
42}
Arthur Hungdac89e92023-10-19 15:24:23 +000043
44flag {
45 name: "enable_small_area_detection"
46 namespace: "core_graphics"
47 description: "Feature flag for SmallAreaDetection"
48 bug: "283055450"
49 is_fixed_read_only: true
Brian Johnson8c144002023-10-30 15:47:44 -070050}
51
52flag {
53 name: "hotplug2"
54 namespace: "core_graphics"
55 description: "Feature flag for using hotplug2 HAL API"
56 bug: "303460805"
57 is_fixed_read_only: true
58}
Brian Johnson4f095462023-10-31 10:12:55 -070059
60flag {
61 name: "hdcp_level_hal"
62 namespace: "core_graphics"
63 description: "Feature flag for adding a HAL API to commuicate hdcp levels"
64 bug: "285359126"
65 is_fixed_read_only: true
66}
67
Sally Qide329f22023-09-26 16:21:39 -070068flag {
Sally Qif5721252023-11-17 11:14:53 -080069 name: "add_sf_skipped_frames_to_trace"
70 namespace: "core_graphics"
71 description: "Add SurfaceFlinger dropped Frames to frame timeline"
72 bug: "273701290"
73 is_fixed_read_only: true
74}
75
76flag {
Sally Qide329f22023-09-26 16:21:39 -070077 name: "refresh_rate_overlay_on_external_display"
78 namespace: "core_graphics"
79 description: "enable refresh rate indicator on the external display"
80 bug: "301647974"
81}
Jerry Chang04eb8e02023-11-15 08:06:07 +000082
83flag {
84 name: "use_known_refresh_rate_for_fps_consistency"
85 namespace: "core_graphics"
86 description: "Whether to use the closest known refresh rate to determine the fps consistency."
87 bug: "299201319"
Jerry Changf4755232023-12-26 12:37:56 +000088 is_fixed_read_only: true
Jerry Chang04eb8e02023-11-15 08:06:07 +000089}
Sally Qi567cf842023-11-14 15:25:29 -080090
Sally Qi4e20d7b2023-12-18 18:23:51 -080091# This flag is broken.
92# See alternative one: cache_when_source_crop_layer_only_moved
93# flag {
94# name: "cache_if_source_crop_layer_only_moved"
95# namespace: "core_graphics"
96# description: "do not flatten layers if source crop is only moved"
97# bug: "305718400"
98# is_fixed_read_only: true
99# }
100
Sally Qi567cf842023-11-14 15:25:29 -0800101flag {
Sally Qi4e20d7b2023-12-18 18:23:51 -0800102 name: "cache_when_source_crop_layer_only_moved"
Sally Qi567cf842023-11-14 15:25:29 -0800103 namespace: "core_graphics"
104 description: "do not flatten layers if source crop is only moved"
105 bug: "305718400"
Sally Qi34f26832023-12-05 18:58:42 +0000106 is_fixed_read_only: true
Ady Abraham3f84c502023-11-30 18:18:06 -0800107}
108
109flag {
110 name: "enable_fro_dependent_features"
111 namespace: "core_graphics"
112 description: "enable frame rate override dependent features by default"
113 bug: "314217419"
Sally Qi567cf842023-11-14 15:25:29 -0800114 is_fixed_read_only: true
115}
Chavi Weingarten18fa7c62023-11-28 21:16:03 +0000116
117flag {
118 name: "display_protected"
119 namespace: "core_graphics"
120 description: "Introduce protected displays to specify whether they should render protected content"
121 bug: "301647974"
122 is_fixed_read_only: true
123}
Alec Mourif97df4d2023-09-06 02:10:05 +0000124
125flag {
126 name: "fp16_client_target"
127 namespace: "core_graphics"
128 description: "Controls whether we render to fp16 client targets"
129 bug: "236745178"
130 is_fixed_read_only: true
131}
Andy Yu8c2703d2023-11-03 11:22:46 -0700132
133flag {
134 name: "game_default_frame_rate"
135 namespace: "game"
136 description: "This flag guards the new behavior with the addition of Game Default Frame Rate feature."
137 bug: "286084594"
138 is_fixed_read_only: true
139}
Leon Scroggins IIIfe6d6a62024-01-08 17:09:18 -0500140
141flag {
142 name: "vulkan_renderengine"
143 namespace: "core_graphics"
144 description: "Use Vulkan backend in RenderEngine prior to switching to Graphite."
145 bug: "293371537"
146 is_fixed_read_only: true
147}
148
149flag {
150 name: "graphite_renderengine"
151 namespace: "core_graphics"
152 description: "Use Skia's Graphite Vulkan backend in RenderEngine."
153 bug: "293371537"
154 is_fixed_read_only: true
155}
Alec Mouri9892aac2023-12-11 21:16:59 +0000156
157flag {
158 name: "screenshot_fence_preservation"
159 namespace: "core_graphics"
160 description: "Bug fix around screenshot fences"
161 bug: "302703346"
162 is_fixed_read_only: true
163}
Leon Scroggins IIIdf8166e2024-01-25 15:50:56 -0500164
165flag {
166 name: "renderable_buffer_usage"
167 namespace: "core_graphics"
168 description: "Decide whether an ExternalTexture isRenderable based on its buffer's usage."
169 bug: "305445199"
170 is_fixed_read_only: true
171 metadata {
172 purpose: PURPOSE_BUGFIX
173 }
174}
Leon Scroggins III48a60cc2024-01-31 12:41:33 -0500175
176flag {
177 name: "restore_blur_step"
178 namespace: "core_graphics"
179 description: "Restore drawing the blur input prior to drawing blurred content."
180 bug: "255921628"
181 is_fixed_read_only: true
182 metadata {
183 purpose: PURPOSE_BUGFIX
184 }
185}
Ady Abrahambf554892024-02-14 18:18:21 +0000186
187flag {
188 name: "dont_skip_on_early_ro"
189 namespace: "core_graphics"
190 description: "This flag is guarding the behaviour where SurfaceFlinger is trying to opportunistically present a frame when the configuration change from late to early"
191 bug: "273702768"
Eason Chiu45099662023-10-23 08:55:48 +0800192}
193
194flag {
195 name: "protected_if_client"
196 namespace: "core_graphics"
197 description: "Only set the RenderSurface to protected if protected layers are in client composition."
198 bug: "307674749"
Ady Abrahambf554892024-02-14 18:18:21 +0000199 is_fixed_read_only: true
200 metadata {
201 purpose: PURPOSE_BUGFIX
202 }
203}