Index: third_party/hwcplus/include/system/graphics.h |
diff --git a/third_party/hwcplus/include/system/graphics.h b/third_party/hwcplus/include/system/graphics.h |
index 4ba6a9e9f173f21a8cba2b75045a4bd1670d2bc6..c5d3d2f0c8b77276eeee68bdf2999e01623060cc 100644 |
--- a/third_party/hwcplus/include/system/graphics.h |
+++ b/third_party/hwcplus/include/system/graphics.h |
@@ -237,6 +237,11 @@ enum { |
*/ |
HAL_PIXEL_FORMAT_YCbCr_420_888 = 0x23, |
+ /* |
+ * DRM specific format used by drm_gralloc |
+ */ |
+ HAL_PIXEL_FORMAT_DRM_NV12 = 0x102, |
+ |
/* Legacy formats (deprecated), used by ImageFormat.java */ |
HAL_PIXEL_FORMAT_YCbCr_422_SP = 0x10, // NV16 |
HAL_PIXEL_FORMAT_YCrCb_420_SP = 0x11, // NV21 |