hwc: disable FIMG
Change-Id: I61f764973d4b3bb350a99a69804b96995addee70
This commit is contained in:
parent
f3b1c86f77
commit
e24564745e
|
@ -26,9 +26,9 @@ LOCAL_PRELINK_MODULE := false
|
||||||
LOCAL_MODULE_RELATIVE_PATH := hw
|
LOCAL_MODULE_RELATIVE_PATH := hw
|
||||||
LOCAL_SHARED_LIBRARIES := liblog libEGL libcutils libhardware libutils libsync libfimg
|
LOCAL_SHARED_LIBRARIES := liblog libEGL libcutils libhardware libutils libsync libfimg
|
||||||
|
|
||||||
ifeq ($(TARGET_BOOTLOADER_BOARD_NAME),smdk4210)
|
#ifeq ($(TARGET_BOOTLOADER_BOARD_NAME),smdk4210)
|
||||||
LOCAL_CFLAGS += -DNO_FIMG
|
LOCAL_CFLAGS += -DNO_FIMG
|
||||||
endif
|
#endif
|
||||||
|
|
||||||
LOCAL_SRC_FILES := hwcomposer.cpp \
|
LOCAL_SRC_FILES := hwcomposer.cpp \
|
||||||
hwcomposer_vsync.cpp \
|
hwcomposer_vsync.cpp \
|
||||||
|
|
|
@ -287,6 +287,7 @@ bool is_overlay_supported(struct hwc_context_t *ctx, hwc_layer_1_t &layer, size_
|
||||||
ALOGV("%s layer_requires_process() mode=%d", __FUNCTION__, (int) mode);
|
ALOGV("%s layer_requires_process() mode=%d", __FUNCTION__, (int) mode);
|
||||||
|
|
||||||
switch (mode) {
|
switch (mode) {
|
||||||
|
#if 0
|
||||||
case gsc_map_t::FIMG:
|
case gsc_map_t::FIMG:
|
||||||
if (!supports_fimg(layer)) {
|
if (!supports_fimg(layer)) {
|
||||||
ALOGW("\tlayer %u: FIMG required but not supported", i);
|
ALOGW("\tlayer %u: FIMG required but not supported", i);
|
||||||
|
@ -297,7 +298,7 @@ bool is_overlay_supported(struct hwc_context_t *ctx, hwc_layer_1_t &layer, size_
|
||||||
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
case gsc_map_t::FIMC:
|
case gsc_map_t::FIMC:
|
||||||
if (!supports_fimc(layer)) {
|
if (!supports_fimc(layer)) {
|
||||||
ALOGW("\tlayer %u: FIMC required but not supported", i);
|
ALOGW("\tlayer %u: FIMC required but not supported", i);
|
||||||
|
|
Loading…
Reference in New Issue