summaryrefslogtreecommitdiff
path: root/libs/ui/Gralloc2.cpp
diff options
context:
space:
mode:
author Chia-I Wu <olv@google.com> 2018-01-30 14:07:34 -0800
committer Chia-I Wu <olv@google.com> 2018-01-30 15:33:13 -0800
commite8d3ba646cc53d115f7fd4a74475f7d6e3f5dee3 (patch)
tree24a1cf4ad9c2e263a24dc1a4285b84da78956a28 /libs/ui/Gralloc2.cpp
parent246bd9b6ab1e7c07d5779e325dd35c4c82745380 (diff)
libui: set USAGE_HW_2D in getValid10UsageBits
Bug: 72703005 Test: Manual Change-Id: I48e2c5651881fe6d3b809e978787ffc9a6de9fab Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'libs/ui/Gralloc2.cpp')
-rw-r--r--libs/ui/Gralloc2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ui/Gralloc2.cpp b/libs/ui/Gralloc2.cpp
index 153d35a0b6..b92cbf351e 100644
--- a/libs/ui/Gralloc2.cpp
+++ b/libs/ui/Gralloc2.cpp
@@ -42,8 +42,8 @@ uint64_t getValid10UsageBits() {
for (const auto bit : hardware::hidl_enum_iterator<BufferUsage>()) {
bits = bits | bit;
}
- // TODO(b/72323293): Remove this mask for EXTERNAL_DISP.
- bits = bits | (1 << 13);
+ // TODO(b/72323293, b/72703005): Remove these additional bits
+ bits = bits | (1 << 10) | (1 << 13);
return bits;
}();