0926f50664
- Currently the lock/unlock path is naive and is done for each drawing operation (glDrawElements and glDrawArrays). this should be improved eventually. - factor all the lock/unlock code in SurfaceBuffer. - fixed "showupdate" so it works even when we don't have preserving eglSwapBuffers(). - improved the situation with the dirty-region and fixed a problem that caused GL apps to not update. - make use of LightRefBase() where needed, instead of duplicating its implementation - add LightRefBase::getStrongCount() - renamed EGLNativeWindowSurface.cpp to FramebufferNativeWindow.cpp - disabled copybits test, since it clashes with the new gralloc api - Camera/Video will be fixed later when we rework the overlay apis
49 lines
993 B
Makefile
49 lines
993 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
clz.cpp.arm \
|
|
DisplayHardware/DisplayHardware.cpp \
|
|
DisplayHardware/DisplayHardwareBase.cpp \
|
|
BootAnimation.cpp \
|
|
BlurFilter.cpp.arm \
|
|
BufferAllocator.cpp \
|
|
Layer.cpp \
|
|
LayerBase.cpp \
|
|
LayerBuffer.cpp \
|
|
LayerBlur.cpp \
|
|
LayerBitmap.cpp \
|
|
LayerDim.cpp \
|
|
MessageQueue.cpp \
|
|
SurfaceFlinger.cpp \
|
|
Tokenizer.cpp \
|
|
Transform.cpp
|
|
|
|
LOCAL_CFLAGS:= -DLOG_TAG=\"SurfaceFlinger\"
|
|
LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
|
|
|
|
# need "-lrt" on Linux simulator to pick up clock_gettime
|
|
ifeq ($(TARGET_SIMULATOR),true)
|
|
ifeq ($(HOST_OS),linux)
|
|
LOCAL_LDLIBS += -lrt
|
|
endif
|
|
endif
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libhardware \
|
|
libutils \
|
|
libcutils \
|
|
libui \
|
|
libcorecg \
|
|
libsgl \
|
|
libpixelflinger \
|
|
libEGL \
|
|
libGLESv1_CM
|
|
|
|
LOCAL_C_INCLUDES := \
|
|
$(call include-path-for, corecg graphics)
|
|
|
|
LOCAL_MODULE:= libsurfaceflinger
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|