d606de6bb6
the new TextureMagager class now handle texture creation and upload as well as EGL image creation and binding to GraphicBuffers. This is used indirectly by Layer and directly by LayerBuffer the new BufferManager class handles the set of buffers used for a Layer (Surface), it abstracts how many buffer there is as well as the use of EGLimage vs. regular texture ops (glTexImage2D). Change-Id: I2da1ddcf27758e6731400f6cc4e20bef35c0a39a
53 lines
1.1 KiB
Makefile
53 lines
1.1 KiB
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
clz.cpp.arm \
|
|
DisplayHardware/DisplayHardware.cpp \
|
|
DisplayHardware/DisplayHardwareBase.cpp \
|
|
BlurFilter.cpp.arm \
|
|
Layer.cpp \
|
|
LayerBase.cpp \
|
|
LayerBuffer.cpp \
|
|
LayerBlur.cpp \
|
|
LayerDim.cpp \
|
|
MessageQueue.cpp \
|
|
SurfaceFlinger.cpp \
|
|
TextureManager.cpp \
|
|
Tokenizer.cpp \
|
|
Transform.cpp
|
|
|
|
LOCAL_CFLAGS:= -DLOG_TAG=\"SurfaceFlinger\"
|
|
LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
|
|
|
|
ifeq ($(TARGET_BOARD_PLATFORM), msm7k)
|
|
LOCAL_CFLAGS += -DDIM_WITH_TEXTURE
|
|
endif
|
|
|
|
# need "-lrt" on Linux simulator to pick up clock_gettime
|
|
ifeq ($(TARGET_SIMULATOR),true)
|
|
ifeq ($(HOST_OS),linux)
|
|
LOCAL_LDLIBS += -lrt -lpthread
|
|
endif
|
|
endif
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libcutils \
|
|
libpixelflinger \
|
|
libhardware \
|
|
libutils \
|
|
libEGL \
|
|
libGLESv1_CM \
|
|
libbinder \
|
|
libui \
|
|
libsurfaceflinger_client
|
|
|
|
LOCAL_C_INCLUDES := \
|
|
$(call include-path-for, corecg graphics)
|
|
|
|
LOCAL_C_INCLUDES += hardware/libhardware/modules/gralloc
|
|
|
|
LOCAL_MODULE:= libsurfaceflinger
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|