2009-03-04 03:31:44 +00:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES:= \
|
2009-04-10 21:24:30 +00:00
|
|
|
BufferMapper.cpp \
|
2009-03-04 03:31:44 +00:00
|
|
|
Camera.cpp \
|
|
|
|
CameraParameters.cpp \
|
2009-08-06 23:05:39 +00:00
|
|
|
EGLUtils.cpp \
|
2009-03-04 03:31:44 +00:00
|
|
|
EventHub.cpp \
|
|
|
|
EventRecurrence.cpp \
|
2009-05-04 21:17:04 +00:00
|
|
|
FramebufferNativeWindow.cpp \
|
2009-03-04 03:31:44 +00:00
|
|
|
KeyLayoutMap.cpp \
|
|
|
|
KeyCharacterMap.cpp \
|
|
|
|
ICamera.cpp \
|
|
|
|
ICameraClient.cpp \
|
|
|
|
ICameraService.cpp \
|
|
|
|
IOverlay.cpp \
|
|
|
|
ISurfaceComposer.cpp \
|
|
|
|
ISurface.cpp \
|
|
|
|
ISurfaceFlingerClient.cpp \
|
|
|
|
LayerState.cpp \
|
|
|
|
Overlay.cpp \
|
|
|
|
PixelFormat.cpp \
|
|
|
|
Rect.cpp \
|
|
|
|
Region.cpp \
|
fix [2068105] implement queueBuffer/lockBuffer/dequeueBuffer properly
Rewrote SurfaceFlinger's buffer management from the ground-up.
The design now support an arbitrary number of buffers per surface, however the current implementation is limited to four. Currently only 2 buffers are used in practice.
The main new feature is to be able to dequeue all buffers at once (very important when there are only two).
A client can dequeue all buffers until there are none available, it can lock all buffers except the last one that is used for composition. The client will block then, until a new buffer is enqueued.
The current implementation requires that buffers are locked in the same order they are dequeued and enqueued in the same order they are locked. Only one buffer can be locked at a time.
eg. Allowed sequence: DQ, DQ, LOCK, Q, LOCK, Q
eg. Forbidden sequence: DQ, DQ, LOCK, LOCK, Q, Q
2009-09-07 23:32:45 +00:00
|
|
|
SharedBufferStack.cpp \
|
2009-03-04 03:31:44 +00:00
|
|
|
Surface.cpp \
|
fix [2068105] implement queueBuffer/lockBuffer/dequeueBuffer properly
Rewrote SurfaceFlinger's buffer management from the ground-up.
The design now support an arbitrary number of buffers per surface, however the current implementation is limited to four. Currently only 2 buffers are used in practice.
The main new feature is to be able to dequeue all buffers at once (very important when there are only two).
A client can dequeue all buffers until there are none available, it can lock all buffers except the last one that is used for composition. The client will block then, until a new buffer is enqueued.
The current implementation requires that buffers are locked in the same order they are dequeued and enqueued in the same order they are locked. Only one buffer can be locked at a time.
eg. Allowed sequence: DQ, DQ, LOCK, Q, LOCK, Q
eg. Forbidden sequence: DQ, DQ, LOCK, LOCK, Q, Q
2009-09-07 23:32:45 +00:00
|
|
|
SurfaceBuffer.cpp \
|
2009-03-04 03:31:44 +00:00
|
|
|
SurfaceComposerClient.cpp \
|
2009-06-25 06:12:06 +00:00
|
|
|
SurfaceFlingerSynchro.cpp
|
2009-03-04 03:31:44 +00:00
|
|
|
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
|
|
libcutils \
|
|
|
|
libutils \
|
2009-08-06 23:05:39 +00:00
|
|
|
libEGL \
|
2009-05-18 22:08:03 +00:00
|
|
|
libbinder \
|
2009-03-04 03:31:44 +00:00
|
|
|
libpixelflinger \
|
|
|
|
libhardware \
|
|
|
|
libhardware_legacy
|
|
|
|
|
|
|
|
LOCAL_MODULE:= libui
|
|
|
|
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|