7181de24ab
There is no need to do a glFinish on every composition complete. glFinish needs to be called for composition cycles where GPU and copybit are both used for composition. This is because the GPU and copybit operate on the same framebuffer. (cherry picked from commit 7983c275ae3eb15fab931d301e6338f83ad4a75a) Change-Id: If06da4ca60ec17122c3dd698558cbf08fec73251
55 lines
2.3 KiB
Makefile
55 lines
2.3 KiB
Makefile
LOCAL_PATH := $(call my-dir)
|
|
include $(LOCAL_PATH)/../common.mk
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := hwcomposer.$(TARGET_BOARD_PLATFORM)
|
|
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
|
|
LOCAL_MODULE_TAGS := optional
|
|
LOCAL_C_INCLUDES := $(common_includes) $(kernel_includes)
|
|
LOCAL_SHARED_LIBRARIES := $(common_libs) libEGL liboverlay libgenlock \
|
|
libhwcexternal libqdutils libhardware_legacy \
|
|
libdl libmemalloc libhwcservice libGLESv1_CM
|
|
|
|
LOCAL_CFLAGS := $(common_flags) -DLOG_TAG=\"hwcomposer\"
|
|
LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps)
|
|
LOCAL_SRC_FILES := hwc.cpp \
|
|
hwc_video.cpp \
|
|
hwc_pip.cpp \
|
|
hwc_utils.cpp \
|
|
hwc_uimirror.cpp \
|
|
hwc_uevents.cpp \
|
|
hwc_vsync.cpp \
|
|
hwc_copybit.cpp \
|
|
hwc_mdpcomp.cpp \
|
|
hwc_extonly.cpp
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
#libhwcexternal library
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := libhwcexternal
|
|
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)
|
|
LOCAL_MODULE_TAGS := optional
|
|
LOCAL_C_INCLUDES := $(common_includes) $(kernel_includes)
|
|
LOCAL_SHARED_LIBRARIES := $(common_libs) liboverlay
|
|
|
|
LOCAL_CFLAGS := $(common_flags) -DLOG_TAG=\"hwcexternal\"
|
|
LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps)
|
|
LOCAL_SRC_FILES := hwc_external.cpp
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
#libhwcservice library
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := libhwcservice
|
|
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)
|
|
LOCAL_MODULE_TAGS := optional
|
|
LOCAL_C_INCLUDES := $(common_includes) $(kernel_includes)
|
|
LOCAL_SHARED_LIBRARIES := $(common_libs) libhwcexternal libbinder \
|
|
|
|
LOCAL_CFLAGS := $(common_flags) -DLOG_TAG=\"hwcservice\"
|
|
LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps)
|
|
LOCAL_SRC_FILES := hwc_service.cpp \
|
|
ihwc.cpp
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|