Display: Overlay HAL changes needed for HDMI
-Add overlay defines needed by framebuffer -enable compile time flag for HDMI Change-Id: I5b9a8412c579a3a8cd0e0283dc5fd7e26266c170
This commit is contained in:
committed by
Naseer Ahmed
parent
78ec9e4e53
commit
96dd6a36b9
@@ -17,7 +17,7 @@ LOCAL_C_INCLUDES += hardware/qcom/display/liboverlay
|
||||
LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
|
||||
ifeq ($(TARGET_HAVE_HDMI_OUT),true)
|
||||
#LOCAL_CFLAGS += -DHDMI_DUAL_DISPLAY
|
||||
LOCAL_CFLAGS += -DHDMI_DUAL_DISPLAY
|
||||
endif
|
||||
ifeq ($(TARGET_HAVE_BYPASS),true)
|
||||
#LOCAL_CFLAGS += -DCOMPOSITION_BYPASS
|
||||
|
@@ -110,6 +110,20 @@ struct overlay_buffer_info {
|
||||
int size;
|
||||
};
|
||||
|
||||
/* values for copybit_set_parameter(OVERLAY_TRANSFORM) */
|
||||
enum {
|
||||
/* flip source image horizontally */
|
||||
OVERLAY_TRANSFORM_FLIP_H = HAL_TRANSFORM_FLIP_H,
|
||||
/* flip source image vertically */
|
||||
OVERLAY_TRANSFORM_FLIP_V = HAL_TRANSFORM_FLIP_V,
|
||||
/* rotate source image 90 degrees */
|
||||
OVERLAY_TRANSFORM_ROT_90 = HAL_TRANSFORM_ROT_90,
|
||||
/* rotate source image 180 degrees */
|
||||
OVERLAY_TRANSFORM_ROT_180 = HAL_TRANSFORM_ROT_180,
|
||||
/* rotate source image 270 degrees */
|
||||
OVERLAY_TRANSFORM_ROT_270 = HAL_TRANSFORM_ROT_270
|
||||
};
|
||||
|
||||
namespace overlay {
|
||||
|
||||
enum {
|
||||
|
Reference in New Issue
Block a user