29a3e90879
This adds an allocateBuffers method to BufferQueue, which instructs it to allocate up to the maximum number of buffers allowed by the current configuration. The goal is that this method can be called ahead of render time, which will prevent dequeueBuffers from blocking in allocation and inducing jank. This interface is also plumbed up to the native Surface (and, in another change, up to the Java Surface and ThreadedRenderer). Bug: 11792166 Change-Id: I4aa96b4351ea1c95ed5db228ca3ef98303229c74 |
||
---|---|---|
.. | ||
DisplayHardware | ||
Effects | ||
EventLog | ||
RenderEngine | ||
tests | ||
Android.mk | ||
Barrier.h | ||
Client.cpp | ||
Client.h | ||
clz.h | ||
Colorizer.h | ||
DdmConnection.cpp | ||
DdmConnection.h | ||
DisplayDevice.cpp | ||
DisplayDevice.h | ||
DispSync.cpp | ||
DispSync.h | ||
EventControlThread.cpp | ||
EventControlThread.h | ||
EventThread.cpp | ||
EventThread.h | ||
FrameTracker.cpp | ||
FrameTracker.h | ||
Layer.cpp | ||
Layer.h | ||
LayerDim.cpp | ||
LayerDim.h | ||
main_surfaceflinger.cpp | ||
MessageQueue.cpp | ||
MessageQueue.h | ||
MODULE_LICENSE_APACHE2 | ||
MonitoredProducer.cpp | ||
MonitoredProducer.h | ||
SurfaceFlinger.cpp | ||
SurfaceFlinger.h | ||
SurfaceFlingerConsumer.cpp | ||
SurfaceFlingerConsumer.h | ||
Transform.cpp | ||
Transform.h |