From e6e1b684490570a170b6dedcd861a7355b349035 Mon Sep 17 00:00:00 2001 From: Marissa Wall Date: Thu, 20 Feb 2020 10:23:06 -0800 Subject: [PATCH] gralloc4: Add RAW PlaneLayoutComponentType RAW12 and RAW16 buffers need a PlaneLayoutComponentType. Add a RAW type so vendors don't have to add private RAW types. Test: VtsHalGraphicsMapperV4_0 Bug: 149869426 Change-Id: Idf1fa609e3a1506c3c87af22d4c548cf1218fad1 --- .../hardware/graphics/common/PlaneLayoutComponentType.aidl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/graphics/common/aidl/android/hardware/graphics/common/PlaneLayoutComponentType.aidl b/graphics/common/aidl/android/hardware/graphics/common/PlaneLayoutComponentType.aidl index 18c4a2e154..ce083966fe 100644 --- a/graphics/common/aidl/android/hardware/graphics/common/PlaneLayoutComponentType.aidl +++ b/graphics/common/aidl/android/hardware/graphics/common/PlaneLayoutComponentType.aidl @@ -41,6 +41,9 @@ enum PlaneLayoutComponentType { /* Blue */ B = 1 << 12, + /* Raw */ + RAW = 1 << 20, + /* Alpha */ A = 1 << 30, }