am c354effe
: Fix handling of undefined TARGET_FORCE_HWC_FOR_VIRTUAL_DISPLAYS
* commit 'c354effe97be26638618e3bc0da81a3f8b384b20': Fix handling of undefined TARGET_FORCE_HWC_FOR_VIRTUAL_DISPLAYS
This commit is contained in:
commit
96002be4bd
@ -51,10 +51,8 @@ ifeq ($(TARGET_DISABLE_TRIPLE_BUFFERING),true)
|
|||||||
LOCAL_CFLAGS += -DTARGET_DISABLE_TRIPLE_BUFFERING
|
LOCAL_CFLAGS += -DTARGET_DISABLE_TRIPLE_BUFFERING
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(TARGET_FORCE_HWC_FOR_VIRTUAL_DISPLAYS),)
|
ifeq ($(TARGET_FORCE_HWC_FOR_VIRTUAL_DISPLAYS),true)
|
||||||
LOCAL_CFLAGS += -DFORCE_HWC_COPY_FOR_VIRTUAL_DISPLAYS=false
|
LOCAL_CFLAGS += -DFORCE_HWC_COPY_FOR_VIRTUAL_DISPLAYS
|
||||||
else
|
|
||||||
LOCAL_CFLAGS += -DFORCE_HWC_COPY_FOR_VIRTUAL_DISPLAYS=true
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(NUM_FRAMEBUFFER_SURFACE_BUFFERS),)
|
ifneq ($(NUM_FRAMEBUFFER_SURFACE_BUFFERS),)
|
||||||
|
@ -22,7 +22,11 @@
|
|||||||
namespace android {
|
namespace android {
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
static bool sForceHwcCopy = FORCE_HWC_COPY_FOR_VIRTUAL_DISPLAYS;
|
#if defined(FORCE_HWC_COPY_FOR_VIRTUAL_DISPLAYS)
|
||||||
|
static const bool sForceHwcCopy = true;
|
||||||
|
#else
|
||||||
|
static const bool sForceHwcCopy = false;
|
||||||
|
#endif
|
||||||
|
|
||||||
#define VDS_LOGE(msg, ...) ALOGE("[%s] "msg, \
|
#define VDS_LOGE(msg, ...) ALOGE("[%s] "msg, \
|
||||||
mDisplayName.string(), ##__VA_ARGS__)
|
mDisplayName.string(), ##__VA_ARGS__)
|
||||||
|
Loading…
Reference in New Issue
Block a user