99ce5cdeb3
with this changes, SF transactions are handled as soon as possible but do not trigger updates. the update is delayed until the next vsync. this allows us to work much better without requiring triple-buffering. Change-Id: I1fa10794d0cf742129f0877698b7b1e1f2ec7401
61 lines
1.7 KiB
Makefile
61 lines
1.7 KiB
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
EventThread.cpp \
|
|
Layer.cpp \
|
|
LayerBase.cpp \
|
|
LayerDim.cpp \
|
|
LayerScreenshot.cpp \
|
|
DdmConnection.cpp \
|
|
DisplayHardware/DisplayHardware.cpp \
|
|
DisplayHardware/DisplayHardwareBase.cpp \
|
|
DisplayHardware/HWComposer.cpp \
|
|
DisplayHardware/VSyncBarrier.cpp \
|
|
DisplayEventConnection.cpp \
|
|
GLExtensions.cpp \
|
|
MessageQueue.cpp \
|
|
SurfaceFlinger.cpp \
|
|
SurfaceTextureLayer.cpp \
|
|
Transform.cpp \
|
|
|
|
|
|
LOCAL_CFLAGS:= -DLOG_TAG=\"SurfaceFlinger\"
|
|
LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
|
|
|
|
ifeq ($(TARGET_HAS_WAITFORVSYNC), true)
|
|
LOCAL_CFLAGS += -DHAS_WAITFORVSYNC
|
|
endif
|
|
|
|
ifeq ($(TARGET_BOARD_PLATFORM), omap3)
|
|
LOCAL_CFLAGS += -DNO_RGBX_8888
|
|
endif
|
|
ifeq ($(TARGET_BOARD_PLATFORM), omap4)
|
|
LOCAL_CFLAGS += -DHAS_CONTEXT_PRIORITY
|
|
endif
|
|
ifeq ($(TARGET_BOARD_PLATFORM), s5pc110)
|
|
LOCAL_CFLAGS += -DHAS_CONTEXT_PRIORITY -DNEVER_DEFAULT_TO_ASYNC_MODE
|
|
endif
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libcutils \
|
|
libhardware \
|
|
libutils \
|
|
libEGL \
|
|
libGLESv1_CM \
|
|
libbinder \
|
|
libui \
|
|
libgui
|
|
|
|
# this is only needed for DDMS debugging
|
|
LOCAL_SHARED_LIBRARIES += libdvm libandroid_runtime
|
|
|
|
LOCAL_C_INCLUDES := \
|
|
$(call include-path-for, corecg graphics)
|
|
|
|
LOCAL_C_INCLUDES += hardware/libhardware/modules/gralloc
|
|
|
|
LOCAL_MODULE:= libsurfaceflinger
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|