diff options
| author | Vishnu Nair <vishnun@google.com> | 2021-03-16 10:05:52 -0700 |
|---|---|---|
| committer | Vishnu Nair <vishnun@google.com> | 2021-03-16 10:05:52 -0700 |
| commit | 947fee291da572f43c2fcac7d8f3cdc0b3490175 (patch) | |
| tree | 8f5e90dcca9b7959b4fd368adf01ad91d0224498 /core/java/android/view/WindowManagerGlobal.java | |
| parent | 0b3f22b2165d9f345b56ba84f5e593bdd6da4613 (diff) | |
Remove legacy disable triple buffering config
The config changes the dequeue limit of BQ (setMaxDequeuedBufferCount) from 2 to 1, decreasing the default size of the queue from (3 to 2).
Some of the motivations behind this change include:
- not applicable in most scenarios since producers in the system override this
- breaks async mode, not well tested in other scenarios
- simplifying some of the implementation and removes a configuration/flag.
Clients can still manually call setMaxDequeuedBufferCount if they wish.
Test: presubmit
Fixes: 182314340
Change-Id: I724218d14ad106a4b7af69f7eacf97fae3c93923
Diffstat (limited to 'core/java/android/view/WindowManagerGlobal.java')
| -rw-r--r-- | core/java/android/view/WindowManagerGlobal.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/java/android/view/WindowManagerGlobal.java b/core/java/android/view/WindowManagerGlobal.java index 47ac1ee5b339..18013e815d13 100644 --- a/core/java/android/view/WindowManagerGlobal.java +++ b/core/java/android/view/WindowManagerGlobal.java @@ -118,7 +118,6 @@ public final class WindowManagerGlobal { public static final int ADD_FLAG_IN_TOUCH_MODE = 0x1; public static final int ADD_FLAG_APP_VISIBLE = 0x2; - public static final int ADD_FLAG_USE_TRIPLE_BUFFERING = 0x4; public static final int ADD_FLAG_USE_BLAST = 0x8; /** |
