From d0ec96adaaa48f712b8272db9cdf6377f9354e0c Mon Sep 17 00:00:00 2001 From: Andrew Sutherland Date: Sat, 2 Jun 2012 00:02:31 -0500 Subject: [PATCH] qcomui: remove BYPASS_EGLIMAGE this should have been removed when adding isGPUSupportedFormatInHW Change-Id: I8dd60fb7837a7c3075bee0562355f9c399e1f6aa --- libqcomui/Android.mk | 1 - libqcomui/qcom_ui.cpp | 8 -------- 2 files changed, 9 deletions(-) diff --git a/libqcomui/Android.mk b/libqcomui/Android.mk index 54d2712..cbc2639 100644 --- a/libqcomui/Android.mk +++ b/libqcomui/Android.mk @@ -8,7 +8,6 @@ LOCAL_SRC_FILES := \ ifeq ($(TARGET_BOARD_PLATFORM),qsd8k) # these are originally for 7x27a LOCAL_CFLAGS += -DCHECK_FOR_EXTERNAL_FORMAT - LOCAL_CFLAGS += -DBYPASS_EGLIMAGE endif LOCAL_SHARED_LIBRARIES := \ diff --git a/libqcomui/qcom_ui.cpp b/libqcomui/qcom_ui.cpp index 2d88842..15ded4b 100644 --- a/libqcomui/qcom_ui.cpp +++ b/libqcomui/qcom_ui.cpp @@ -137,14 +137,6 @@ int getNumberOfArgsForOperation(int operation) { * @return true if the format is supported by the GPU. */ bool isGPUSupportedFormat(int format) { - - // For 7x27A bypass creating EGL image for 420 SP - // This is done to save CPU utilization by SurfaceFlinger thread -#ifdef BYPASS_EGLIMAGE - if (format == HAL_PIXEL_FORMAT_YCrCb_420_SP){ - return false; - } -#endif if (format == HAL_PIXEL_FORMAT_YV12) { // We check the YV12 formats, since some Qcom specific formats // could have the bits set.