Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 187f68db authored by Marissa Wall's avatar Marissa Wall Committed by Marissa Ikonomidis
Browse files

gralloc4: Support RAW plane type

RAW12 and RAW16 buffers will have a PlaneLayoutComponentType of
type RAW. Update getPlaneLayoutComponentTypeName to include the
new type.

Test: Gralloc4_test
Bug: 149869426

Change-Id: Ib10b7d2c4dc3e7a68fc235391829ae7d6c6b2ea8
parent 219643ee
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1317,6 +1317,8 @@ std::string getPlaneLayoutComponentTypeName(const ExtendableType& planeLayoutCom
            return "G";
        case PlaneLayoutComponentType::B:
            return "B";
        case PlaneLayoutComponentType::RAW:
            return "RAW";
        case PlaneLayoutComponentType::A:
            return "A";
    }