Merge "Add enums for 10bit color formats"
diff --git a/graphics/common/1.0/types.hal b/graphics/common/1.0/types.hal
index 0f470b9..7663701 100644
--- a/graphics/common/1.0/types.hal
+++ b/graphics/common/1.0/types.hal
@@ -38,6 +38,16 @@
BGRA_8888 = 5,
/*
+ * The following formats use 10bit integers for R, G, and B and
+ * 2 bits for alpha. This is used to improve color precision on
+ * wide-color devices, e.g. Display-P3 or scRGB.
+ *
+ * When used with ANativeWindow, the dataSpace field describes the color
+ * space of the buffer.
+ */
+ RGBA_1010102 = 0x2B,
+
+ /*
* The following formats use a 16bit float per color component.
*
* When used with ANativeWindow, the dataSpace field describes the color