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
diff --git a/libs/gralloc/types/Gralloc4.cpp b/libs/gralloc/types/Gralloc4.cpp
index 603e7e5..53c68b7 100644
--- a/libs/gralloc/types/Gralloc4.cpp
+++ b/libs/gralloc/types/Gralloc4.cpp
@@ -1317,6 +1317,8 @@
return "G";
case PlaneLayoutComponentType::B:
return "B";
+ case PlaneLayoutComponentType::RAW:
+ return "RAW";
case PlaneLayoutComponentType::A:
return "A";
}