Lines Matching full:bufferqueue
40 class BufferQueue : public BnGraphicBufferProducer,
62 // BufferQueue object and the consumer object. The reason this can't be a weak
63 // reference in the BufferQueue class is because we're planning to expose the
64 // consumer side of a BufferQueue as a binder interface, which doesn't support
79 // BufferQueue manages a pool of gralloc memory slots to be used by
82 BufferQueue(const sp<IGraphicBufferAlloc>& allocator = NULL);
83 virtual ~BufferQueue();
101 // the BufferQueue object (i.e. they are not owned by the producer or
163 // queueBuffer returns a filled buffer to the BufferQueue.
181 // cancelBuffer returns a dequeued buffer to the BufferQueue, but doesn't
188 // connect attempts to connect a producer API to the BufferQueue. This
193 // BufferQueue and no corresponding disconnect call was made (i.e. if
200 // disconnect attempts to disconnect a producer API from the BufferQueue.
206 // 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
230 // BufferQueue. This may be done while the buffer's contents are still
245 // consumerConnect connects a consumer to the BufferQueue. Only one
247 // BufferQueue is placed into the "abandoned" state, causing most
248 // interactions with the BufferQueue by the producer to fail.
255 // consumerDisconnect disconnects a consumer from the BufferQueue. All
256 // buffers will be freed and the BufferQueue is placed in the "abandoned"
257 // state, causing most interactions with the BufferQueue by the producer to
262 // indicating which buffer slots have been released by the BufferQueue
290 // fail if a producer is connected to the BufferQueue.
296 // setDefaultBufferFormat allows the BufferQueue to create
337 // given the current BufferQueue state.
386 // The slot is "owned" by BufferQueue. It transitions to DEQUEUED
405 // The slot is "owned" by BufferQueue. It can transition to
478 // done when no producer is connected to the BufferQueue.
520 // to this BufferQueue. It defaults to NO_CONNECTED_API (= 0), and gets
531 // mAbandoned indicates that the BufferQueue will no longer be used to
534 // consumerDisconnect method. A BufferQueue that has been abandoned will
539 // mConsumerName is a string used to identify the BufferQueue in log
544 // variables of BufferQueue objects. It must be locked whenever the