99b18b447d
Adds a StreamSplitter class, that takes one IGraphicBufferConsumer interface and multiple IGraphicBufferProducer interfaces and implements a one-to-many broadcast of GraphicBuffers (while managing fences correctly). Change-Id: I38ecdf3e311ac521bc781c30dde0cc382a4376a3
64 lines
1.2 KiB
Makefile
64 lines
1.2 KiB
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
IGraphicBufferConsumer.cpp \
|
|
IConsumerListener.cpp \
|
|
BitTube.cpp \
|
|
BufferItem.cpp \
|
|
BufferItemConsumer.cpp \
|
|
BufferQueue.cpp \
|
|
BufferQueueConsumer.cpp \
|
|
BufferQueueCore.cpp \
|
|
BufferQueueProducer.cpp \
|
|
BufferSlot.cpp \
|
|
ConsumerBase.cpp \
|
|
CpuConsumer.cpp \
|
|
DisplayEventReceiver.cpp \
|
|
GLConsumer.cpp \
|
|
GraphicBufferAlloc.cpp \
|
|
GuiConfig.cpp \
|
|
IDisplayEventConnection.cpp \
|
|
IGraphicBufferAlloc.cpp \
|
|
IGraphicBufferProducer.cpp \
|
|
IProducerListener.cpp \
|
|
ISensorEventConnection.cpp \
|
|
ISensorServer.cpp \
|
|
ISurfaceComposer.cpp \
|
|
ISurfaceComposerClient.cpp \
|
|
LayerState.cpp \
|
|
Sensor.cpp \
|
|
SensorEventQueue.cpp \
|
|
SensorManager.cpp \
|
|
StreamSplitter.cpp \
|
|
Surface.cpp \
|
|
SurfaceControl.cpp \
|
|
SurfaceComposerClient.cpp \
|
|
SyncFeatures.cpp \
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libbinder \
|
|
libcutils \
|
|
libEGL \
|
|
libGLESv2 \
|
|
libsync \
|
|
libui \
|
|
libutils \
|
|
liblog
|
|
|
|
|
|
LOCAL_MODULE:= libgui
|
|
|
|
ifeq ($(TARGET_BOARD_PLATFORM), tegra)
|
|
LOCAL_CFLAGS += -DDONT_USE_FENCE_SYNC
|
|
endif
|
|
ifeq ($(TARGET_BOARD_PLATFORM), tegra3)
|
|
LOCAL_CFLAGS += -DDONT_USE_FENCE_SYNC
|
|
endif
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
ifeq (,$(ONE_SHOT_MAKEFILE))
|
|
include $(call first-makefiles-under,$(LOCAL_PATH))
|
|
endif
|