From e8cda208331f804a6fdb74aa9a024b5389ce69fc Mon Sep 17 00:00:00 2001 From: Mathew Karimpanal Date: Tue, 2 Oct 2012 15:12:09 -0700 Subject: [PATCH] libhwcomposer: Correct an enum mismatch in the HAL. Correct the enumeration value of HWC_USE_COPYBIT factoring in the new HWC_BACKGROUND enum in hwcomposer_defs.h. Change-Id: I4a8f60ac1b5387bf6068a626d00db0b2e193ee98 --- libhwcomposer/hwc_utils.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libhwcomposer/hwc_utils.h b/libhwcomposer/hwc_utils.h index f0b0f02..b3a9600 100644 --- a/libhwcomposer/hwc_utils.h +++ b/libhwcomposer/hwc_utils.h @@ -56,8 +56,10 @@ enum external_display_type { }; enum HWCCompositionType { HWC_USE_GPU = HWC_FRAMEBUFFER, // This layer is to be handled by - // Surfaceflinger + // Surfaceflinger HWC_USE_OVERLAY = HWC_OVERLAY, // This layer is to be handled by the overlay + HWC_USE_BACKGROUND + = HWC_BACKGROUND, // This layer is to be handled by TBD HWC_USE_COPYBIT // This layer is to be handled by copybit };