Ady Abraham | bcc90ee | 2024-02-28 15:43:51 -0800 | [diff] [blame] | 1 | # IMPORTANT - please keep alphabetize to reduce merge conflicts |
| 2 | |
| 3 | package: "com.android.graphics.surfaceflinger.flags" |
| 4 | container: "system" |
| 5 | |
| 6 | flag { |
Xiang Wang | 05cb764 | 2024-03-12 17:27:05 -0700 | [diff] [blame] | 7 | name: "adpf_gpu_sf" |
| 8 | namespace: "game" |
| 9 | description: "Guards use of the sending ADPF GPU duration hint and load hints from SurfaceFlinger to Power HAL" |
| 10 | bug: "284324521" |
| 11 | } # adpf_gpu_sf |
| 12 | |
| 13 | flag { |
Melody Hsu | 793f836 | 2024-01-08 20:00:35 +0000 | [diff] [blame] | 14 | name: "ce_fence_promise" |
| 15 | namespace: "window_surfaces" |
| 16 | description: "Moves logic for buffer release fences into LayerFE" |
| 17 | bug: "294936197" |
| 18 | is_fixed_read_only: true |
| 19 | metadata { |
| 20 | purpose: PURPOSE_BUGFIX |
| 21 | } |
Melody Hsu | 7a458f7 | 2024-03-25 23:53:13 +0000 | [diff] [blame] | 22 | } # ce_fence_promise |
Melody Hsu | 793f836 | 2024-01-08 20:00:35 +0000 | [diff] [blame] | 23 | |
Ady Abraham | b334758 | 2024-04-03 01:01:51 +0000 | [diff] [blame] | 24 | flag { |
Ady Abraham | 14beed7 | 2024-05-15 17:16:45 -0700 | [diff] [blame] | 25 | name: "commit_not_composited" |
| 26 | namespace: "core_graphics" |
| 27 | description: "mark frames as non janky if the transaction resulted in no composition" |
| 28 | bug: "340633280" |
| 29 | is_fixed_read_only: true |
| 30 | metadata { |
| 31 | purpose: PURPOSE_BUGFIX |
| 32 | } |
| 33 | } # commit_not_composited |
| 34 | |
| 35 | flag { |
Ady Abraham | b334758 | 2024-04-03 01:01:51 +0000 | [diff] [blame] | 36 | name: "deprecate_vsync_sf" |
| 37 | namespace: "core_graphics" |
| 38 | description: "Depracate eVsyncSourceSurfaceFlinger and use vsync_app everywhere" |
| 39 | bug: "162235855" |
| 40 | is_fixed_read_only: true |
| 41 | metadata { |
| 42 | purpose: PURPOSE_BUGFIX |
| 43 | } |
| 44 | } # deprecate_vsync_sf |
| 45 | |
Vishnu Nair | 491827d | 2024-04-29 23:43:26 +0000 | [diff] [blame] | 46 | flag { |
| 47 | name: "detached_mirror" |
| 48 | namespace: "window_surfaces" |
| 49 | description: "Ignore local transform when mirroring a partial hierarchy" |
| 50 | bug: "337845753" |
| 51 | is_fixed_read_only: true |
| 52 | metadata { |
| 53 | purpose: PURPOSE_BUGFIX |
| 54 | } |
Vishnu Nair | 9e0017e | 2024-05-22 19:02:44 +0000 | [diff] [blame] | 55 | } # detached_mirror |
Vishnu Nair | 491827d | 2024-04-29 23:43:26 +0000 | [diff] [blame] | 56 | |
Melody Hsu | 793f836 | 2024-01-08 20:00:35 +0000 | [diff] [blame] | 57 | flag { |
Leon Scroggins III | a3ba7fa | 2024-05-22 16:34:52 -0400 | [diff] [blame] | 58 | name: "flush_buffer_slots_to_uncache" |
| 59 | namespace: "core_graphics" |
| 60 | description: "Flush DisplayCommands for disabled displays in order to uncache requested buffers." |
| 61 | bug: "330806421" |
| 62 | is_fixed_read_only: true |
| 63 | metadata { |
| 64 | purpose: PURPOSE_BUGFIX |
| 65 | } |
| 66 | } # flush_buffer_slots_to_uncache |
| 67 | |
| 68 | flag { |
Nolan Scobie | 4a46664 | 2024-05-23 16:22:22 -0400 | [diff] [blame] | 69 | name: "force_compile_graphite_renderengine" |
| 70 | namespace: "core_graphics" |
| 71 | description: "Compile Skia's Graphite Vulkan backend in RenderEngine, but do NOT enable it, unless graphite_renderengine is also set. It can also be enabled with the debug.renderengine.graphite system property for testing. In contrast, the graphite_renderengine flag both compiles AND enables Graphite in RenderEngine." |
| 72 | bug: "293371537" |
| 73 | is_fixed_read_only: true |
| 74 | } # force_compile_graphite_renderengine |
| 75 | |
| 76 | flag { |
Rachel Lee | 52f0abe | 2024-03-14 18:34:04 -0700 | [diff] [blame] | 77 | name: "frame_rate_category_mrr" |
| 78 | namespace: "core_graphics" |
| 79 | description: "Enable to use frame rate category and newer frame rate votes such as GTE in SurfaceFlinger scheduler, to guard dVRR changes from MRR devices" |
| 80 | bug: "330224639" |
| 81 | is_fixed_read_only: true |
| 82 | metadata { |
| 83 | purpose: PURPOSE_BUGFIX |
| 84 | } |
| 85 | } # frame_rate_category_mrr |
| 86 | |
Ady Abraham | bb1ad76 | 2024-03-27 18:31:28 -0700 | [diff] [blame] | 87 | flag { |
| 88 | name: "latch_unsignaled_with_auto_refresh_changed" |
| 89 | namespace: "core_graphics" |
| 90 | description: "Ignore eAutoRefreshChanged with latch unsignaled" |
| 91 | bug: "331513837" |
| 92 | is_fixed_read_only: true |
| 93 | metadata { |
| 94 | purpose: PURPOSE_BUGFIX |
| 95 | } |
| 96 | } # latch_unsignaled_with_auto_refresh_changed |
| 97 | |
Alec Mouri | 1818c18 | 2024-05-13 18:25:11 +0000 | [diff] [blame] | 98 | flag { |
| 99 | name: "local_tonemap_screenshots" |
| 100 | namespace: "core_graphics" |
| 101 | description: "Enables local tonemapping when capturing screenshots" |
| 102 | bug: "329464641" |
| 103 | is_fixed_read_only: true |
| 104 | } # local_tonemap_screenshots |
| 105 | |
Vishnu Nair | 9e0017e | 2024-05-22 19:02:44 +0000 | [diff] [blame] | 106 | flag { |
| 107 | name: "override_trusted_overlay" |
| 108 | namespace: "window_surfaces" |
| 109 | description: "Allow child to disable trusted overlay set by a parent layer" |
| 110 | bug: "339701674" |
| 111 | is_fixed_read_only: true |
| 112 | metadata { |
| 113 | purpose: PURPOSE_BUGFIX |
| 114 | } |
| 115 | } # override_trusted_overlay |
| 116 | |
Vishnu Nair | df59f47 | 2024-05-17 16:51:33 +0000 | [diff] [blame] | 117 | flag { |
| 118 | name: "vrr_bugfix_24q4" |
| 119 | namespace: "core_graphics" |
| 120 | description: "bug fixes for VRR" |
| 121 | bug: "331513837" |
| 122 | is_fixed_read_only: true |
| 123 | metadata { |
| 124 | purpose: PURPOSE_BUGFIX |
| 125 | } |
| 126 | } # vrr_bugfix_24q4 |
| 127 | |
ramindani | a3be80c | 2024-06-20 14:08:37 -0700 | [diff] [blame^] | 128 | flag { |
| 129 | name: "vrr_bugfix_dropped_frame" |
| 130 | namespace: "core_graphics" |
| 131 | description: "bug fix for VRR dropped frame" |
| 132 | bug: "343603085" |
| 133 | is_fixed_read_only: true |
| 134 | metadata { |
| 135 | purpose: PURPOSE_BUGFIX |
| 136 | } |
| 137 | } # vrr_bugfix_dropped_frame |
| 138 | |
Ady Abraham | bcc90ee | 2024-02-28 15:43:51 -0800 | [diff] [blame] | 139 | # IMPORTANT - please keep alphabetize to reduce merge conflicts |