blob: 79379fe4a149d35cfd7c65c238bdb39fd280e999 [file] [log] [blame]
Ady Abraham5ffd98a2023-08-24 17:37:01 -07001package: "com.android.graphics.surfaceflinger.flags"
2
3flag {
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 Johnsonc99f6382023-09-07 10:52:30 -07009}
10
11flag {
12 name: "connected_display"
13 namespace: "core_graphics"
Brian Johnson9489a0c2023-09-28 12:16:07 -070014 description: "Controls SurfaceFlinger support for Connected Displays in 24Q1"
Brian Johnson766320a2023-10-09 09:18:03 -070015 bug: "278199093"
Brian Johnsonc99f6382023-09-07 10:52:30 -070016 is_fixed_read_only: true
17}
Ady Abraham6e54cdc2023-09-06 18:11:31 -070018
19flag{
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}
ramindani70465c42023-09-08 10:58:29 -070025
26flag {
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 Hungc99303b2023-10-02 07:25:24 +000033
34flag {
Manali Bhutiyani96f866c2023-11-09 18:09:44 +000035 name: "enable_layer_command_batching"
36 namespace: "core_graphics"
37 description: "This flag controls batching on createLayer/destroyLayer command with executeCommand."
38 bug: "290685621"
39 is_fixed_read_only: true
40}
41
42flag {
Ady Abraham529bd9f2023-10-05 14:55:30 -070043 name: "dont_skip_on_early"
44 namespace: "core_graphics"
45 description: "This flag is guarding the behaviour where SurfaceFlinger is trying to opportunistically present a frame when the configuration change from late to early"
46 bug: "273702768"
47}
Leon Scroggins IIIca7ea7b2023-09-07 13:59:24 -040048
49flag {
50 name: "multithreaded_present"
51 namespace: "core_graphics"
52 description: "Controls whether to offload present calls to another thread"
53 bug: "259132483"
54 is_fixed_read_only: true
55}
Arthur Hungdac89e92023-10-19 15:24:23 +000056
57flag {
58 name: "enable_small_area_detection"
59 namespace: "core_graphics"
60 description: "Feature flag for SmallAreaDetection"
61 bug: "283055450"
62 is_fixed_read_only: true
Brian Johnson8c144002023-10-30 15:47:44 -070063}
64
65flag {
66 name: "hotplug2"
67 namespace: "core_graphics"
68 description: "Feature flag for using hotplug2 HAL API"
69 bug: "303460805"
70 is_fixed_read_only: true
71}
Brian Johnson4f095462023-10-31 10:12:55 -070072
73flag {
74 name: "hdcp_level_hal"
75 namespace: "core_graphics"
76 description: "Feature flag for adding a HAL API to commuicate hdcp levels"
77 bug: "285359126"
78 is_fixed_read_only: true
79}
80
Sally Qide329f22023-09-26 16:21:39 -070081flag {
Sally Qif5721252023-11-17 11:14:53 -080082 name: "add_sf_skipped_frames_to_trace"
83 namespace: "core_graphics"
84 description: "Add SurfaceFlinger dropped Frames to frame timeline"
85 bug: "273701290"
86 is_fixed_read_only: true
87}
88
89flag {
Sally Qide329f22023-09-26 16:21:39 -070090 name: "refresh_rate_overlay_on_external_display"
91 namespace: "core_graphics"
92 description: "enable refresh rate indicator on the external display"
93 bug: "301647974"
94}
Jerry Chang04eb8e02023-11-15 08:06:07 +000095
96flag {
97 name: "use_known_refresh_rate_for_fps_consistency"
98 namespace: "core_graphics"
99 description: "Whether to use the closest known refresh rate to determine the fps consistency."
100 bug: "299201319"
Jerry Changf4755232023-12-26 12:37:56 +0000101 is_fixed_read_only: true
Jerry Chang04eb8e02023-11-15 08:06:07 +0000102}
Sally Qi567cf842023-11-14 15:25:29 -0800103
Sally Qi4e20d7b2023-12-18 18:23:51 -0800104# This flag is broken.
105# See alternative one: cache_when_source_crop_layer_only_moved
106# flag {
107# name: "cache_if_source_crop_layer_only_moved"
108# namespace: "core_graphics"
109# description: "do not flatten layers if source crop is only moved"
110# bug: "305718400"
111# is_fixed_read_only: true
112# }
113
Sally Qi567cf842023-11-14 15:25:29 -0800114flag {
Sally Qi4e20d7b2023-12-18 18:23:51 -0800115 name: "cache_when_source_crop_layer_only_moved"
Sally Qi567cf842023-11-14 15:25:29 -0800116 namespace: "core_graphics"
117 description: "do not flatten layers if source crop is only moved"
118 bug: "305718400"
Sally Qi34f26832023-12-05 18:58:42 +0000119 is_fixed_read_only: true
Ady Abraham3f84c502023-11-30 18:18:06 -0800120}
121
122flag {
123 name: "enable_fro_dependent_features"
124 namespace: "core_graphics"
125 description: "enable frame rate override dependent features by default"
126 bug: "314217419"
Sally Qi567cf842023-11-14 15:25:29 -0800127 is_fixed_read_only: true
128}
Chavi Weingarten18fa7c62023-11-28 21:16:03 +0000129
130flag {
131 name: "display_protected"
132 namespace: "core_graphics"
133 description: "Introduce protected displays to specify whether they should render protected content"
134 bug: "301647974"
135 is_fixed_read_only: true
136}
Alec Mourif97df4d2023-09-06 02:10:05 +0000137
138flag {
139 name: "fp16_client_target"
140 namespace: "core_graphics"
141 description: "Controls whether we render to fp16 client targets"
142 bug: "236745178"
143 is_fixed_read_only: true
144}
Andy Yu8c2703d2023-11-03 11:22:46 -0700145
146flag {
147 name: "game_default_frame_rate"
148 namespace: "game"
149 description: "This flag guards the new behavior with the addition of Game Default Frame Rate feature."
150 bug: "286084594"
151 is_fixed_read_only: true
152}