Lines Matching defs:BufferQueue

36 class BufferQueue : public BnSurfaceTexture {
48 // ConsumerListener is the interface through which the BufferQueue notifies
51 // teh consumer to the BufferQueue, these calls from the BufferQueue to the
52 // consumer *MUST* be called only when the BufferQueue mutex is NOT locked.
65 // BufferQueue has released its references to one or more GraphicBuffers
67 // BufferQueue::getReleasedBuffers to retrieve the list of buffers
79 // BufferQueue object and the consumer object. The reason this can't be a weak
80 // reference in the BufferQueue class is because we're planning to expose the
81 // consumer side of a BufferQueue as a binder interface, which doesn't support
83 class ProxyConsumerListener : public BufferQueue::ConsumerListener {
86 ProxyConsumerListener(const wp<BufferQueue::ConsumerListener>& consumerListener);
95 wp<BufferQueue::ConsumerListener> mConsumerListener;
99 // BufferQueue manages a pool of gralloc memory slots to be used by
103 BufferQueue(bool allowSynchronousMode = true,
105 virtual ~BufferQueue();
111 // BufferQueue object (i.e. they are not owned by the client).
134 // queueBuffer returns a filled buffer to the BufferQueue. In addition, a
151 // connect attempts to connect a producer client API to the BufferQueue.
156 // BufferQueue and no corresponding disconnect call was made.
160 // BufferQueue. Calling this method will cause any subsequent calls to other
165 // This method will fail if the the BufferQueue is not currently
215 // the BufferQueue. If no buffer is pending then it returns -EINVAL. If a
224 // BufferQueue pending a fence sync.
236 // consumerConnect connects a consumer to the BufferQueue. Only one
238 // BufferQueue is placed into the "abandoned" state, causing most
239 // interactions with the BufferQueue by the producer to fail.
242 // consumerDisconnect disconnects a consumer from the BufferQueue. All
243 // buffers will be freed and the BufferQueue is placed in the "abandoned"
244 // state, causing most interactions with the BufferQueue by the producer to
249 // indicating which buffer slots the have been released by the BufferQueue
264 // producer is connected to the BufferQueue.
274 // setDefaultBufferFormat allows the BufferQueue to create
299 // returns immediately otherwise. It returns NO_INIT if the BufferQueue
314 // given the current BufferQueue state.
363 // aka "owned by BufferQueue, ready to be dequeued"
386 // aka "owned by BufferQueue, ready to be acquired"
461 // done when no producer is connected to the BufferQueue.
496 // BufferQueue. It defaults to NO_CONNECTED_API (= 0), and gets updated
507 // mAbandoned indicates that the BufferQueue will no longer be used to
510 // BufferQueue that has been abandoned will return the NO_INIT error from
514 // mName is a string used to identify the BufferQueue in log messages.
519 // variables of BufferQueue objects. It must be locked whenever the