Home | History | Annotate | Download | only in gui

Lines Matching defs:ConsumerBase

38 // ConsumerBase is a base class for BufferQueue consumer end-points. It
41 class ConsumerBase : public virtual RefBase,
50 ~ConsumerBase() override;
52 // abandon frees all the buffers and puts the ConsumerBase into the
53 // 'abandoned' state. Once put in this state the ConsumerBase can never
58 // from the perspective of the the ConsumerBase, if there are additional
63 // Returns true if the ConsumerBase is in the 'abandoned' state
66 // set the name of the ConsumerBase that will be used to identify it in
112 ConsumerBase(const ConsumerBase&);
113 void operator=(const ConsumerBase&);
116 // ConsumerBase constructs a new ConsumerBase object to consume image
120 explicit ConsumerBase(const sp<IGraphicBufferConsumer>& consumer, bool controlledByApp = false);
123 // derived class. It is used to clean up the buffers so that ConsumerBase
130 // if they are overridden the ConsumerBase implementation must be called
135 // calls are used to notify the ConsumerBase of asynchronous events in the
138 // classes, but if they are overridden the ConsumerBase implementation must
139 // be called from the derived class. The ConsumerBase version of
153 // must call ConsumerBase::freeBufferLocked.
165 // the derived class's implementation must call ConsumerBase::abandonLocked.
170 // dumpLocked dumps the current state of the ConsumerBase object to the
178 // should call ConsumerBase::dumpLocked.
189 // call ConsumerBase::acquireBufferLocked.
199 // ConsumerBase::releaseBufferLocked.
218 // ConsumerBase maintains about a BufferQueue buffer slot.
250 // mName is a string used to identify the ConsumerBase in log messages.
261 // The ConsumerBase has-a BufferQueue and is responsible for creating this object
270 // variables of ConsumerBase objects. It must be locked whenever the