Lines Matching refs:BufferQueue

35 class BufferQueue : public BnSurfaceTexture {
43 // ConsumerListener is the interface through which the BufferQueue notifies
46 // teh consumer to the BufferQueue, these calls from the BufferQueue to the
47 // consumer *MUST* be called only when the BufferQueue mutex is NOT locked.
60 // BufferQueue has released its references to one or more GraphicBuffers
62 // BufferQueue::getReleasedBuffers to retrieve the list of buffers
74 // BufferQueue object and the consumer object. The reason this can't be a weak
75 // reference in the BufferQueue class is because we're planning to expose the
76 // consumer side of a BufferQueue as a binder interface, which doesn't support
78 class ProxyConsumerListener : public BufferQueue::ConsumerListener {
81 ProxyConsumerListener(const wp<BufferQueue::ConsumerListener>& consumerListener);
90 wp<BufferQueue::ConsumerListener> mConsumerListener;
94 // BufferQueue manages a pool of gralloc memory slots to be used
99 BufferQueue( bool allowSynchronousMode = true, int bufferCount = MIN_UNDEQUEUED_BUFFERS);
100 virtual ~BufferQueue();
106 // BufferQueue object (i.e. they are not owned by the client).
123 // queueBuffer returns a filled buffer to the BufferQueue. In addition, a
140 // connect attempts to connect a producer client API to the BufferQueue.
145 // BufferQueue and no corresponding disconnect call was made.
149 // BufferQueue. Calling this method will cause any subsequent calls to other
154 // This method will fail if the the BufferQueue is not currently
201 // the BufferQueue. If no buffer is pending then it returns -EINVAL. If a
210 // BufferQueue pending a fence sync.
216 // consumerConnect connects a consumer to the BufferQueue. Only one
218 // BufferQueue is placed into the "abandoned" state, causing most
219 // interactions with the BufferQueue by the producer to fail.
222 // consumerDisconnect disconnects a consumer from the BufferQueue. All
223 // buffers will be freed and the BufferQueue is placed in the "abandoned"
224 // state, causing most interactions with the BufferQueue by the producer to
229 // indicating which buffer slots the have been released by the BufferQueue
249 // setDefaultBufferFormat allows the BufferQueue to create
274 // returns immediately otherwise. It returns NO_INIT if the BufferQueue
314 // aka "owned by BufferQueue, ready to be dequeued"
337 // aka "owned by BufferQueue, ready to be acquired"
405 // when this BufferQueue is in asynchronous mode
409 // when this BufferQueue is in synchronous mode
441 // BufferQueue. It defaults to NO_CONNECTED_API (= 0), and gets updated
452 // mAbandoned indicates that the BufferQueue will no longer be used to
455 // BufferQueue that has been abandoned will return the NO_INIT error from
459 // mName is a string used to identify the BufferQueue in log messages.
464 // variables of BufferQueue objects. It must be locked whenever the