blob: 7202c9ed611998a44c65ed5da68f2372bbb2a997 [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
20flag{
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}
ramindani70465c42023-09-08 10:58:29 -070026
27flag {
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 Hungc99303b2023-10-02 07:25:24 +000034
35flag {
Manali Bhutiyani96f866c2023-11-09 18:09:44 +000036 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
43flag {
Ady Abraham529bd9f2023-10-05 14:55:30 -070044 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 IIIca7ea7b2023-09-07 13:59:24 -040049
50flag {
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 Hungdac89e92023-10-19 15:24:23 +000057
58flag {
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 Johnson8c144002023-10-30 15:47:44 -070064}
65
66flag {
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 Johnson4f095462023-10-31 10:12:55 -070073
74flag {
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 Qide329f22023-09-26 16:21:39 -070082flag {
Sally Qif5721252023-11-17 11:14:53 -080083 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
90flag {
Sally Qide329f22023-09-26 16:21:39 -070091 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 Chang04eb8e02023-11-15 08:06:07 +000096
97flag {
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 Changf4755232023-12-26 12:37:56 +0000102 is_fixed_read_only: true
Jerry Chang04eb8e02023-11-15 08:06:07 +0000103}
Sally Qi567cf842023-11-14 15:25:29 -0800104
Sally Qi4e20d7b2023-12-18 18:23:51 -0800105# 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 Qi567cf842023-11-14 15:25:29 -0800115flag {
Sally Qi4e20d7b2023-12-18 18:23:51 -0800116 name: "cache_when_source_crop_layer_only_moved"
Sally Qi567cf842023-11-14 15:25:29 -0800117 namespace: "core_graphics"
118 description: "do not flatten layers if source crop is only moved"
119 bug: "305718400"
Sally Qi34f26832023-12-05 18:58:42 +0000120 is_fixed_read_only: true
Ady Abraham3f84c502023-11-30 18:18:06 -0800121}
122
123flag {
124 name: "enable_fro_dependent_features"
125 namespace: "core_graphics"
126 description: "enable frame rate override dependent features by default"
127 bug: "314217419"
Sally Qi567cf842023-11-14 15:25:29 -0800128 is_fixed_read_only: true
129}
Chavi Weingarten18fa7c62023-11-28 21:16:03 +0000130
131flag {
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 Mourif97df4d2023-09-06 02:10:05 +0000138
139flag {
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 Yu8c2703d2023-11-03 11:22:46 -0700146
147flag {
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 IIIfe6d6a62024-01-08 17:09:18 -0500154
155flag {
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
163flag {
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 Mouri9892aac2023-12-11 21:16:59 +0000170
171flag {
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 IIIdf8166e2024-01-25 15:50:56 -0500178
179flag {
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}