sdm: Update solid-fill to support 10-bit
Currently the solid fill is hard-coded to 8 bit depth. SDM845 hardware
supports 10 bit solid fill. Change adds the support for various bit
depth's of solid fill color.
Change-Id: I3435cad5bb0b6f9097f22b39065944cb4f20d08c
diff --git a/libdrmutils/drm_interface.h b/libdrmutils/drm_interface.h
index ca2f6ff..e2876a6 100644
--- a/libdrmutils/drm_interface.h
+++ b/libdrmutils/drm_interface.h
@@ -490,6 +490,11 @@
DRMRect bounding_rect {};
bool is_exclusion_rect = false;
uint32_t color = 0xff000000; // in 8bit argb
+ uint32_t red = 0;
+ uint32_t blue = 0;
+ uint32_t green = 0;
+ uint32_t alpha = 0xff;
+ uint32_t color_bit_depth = 0;
uint32_t z_order = 0;
uint32_t plane_alpha = 0xff;
};