Home | History | Annotate | Download | only in gui

Lines Matching full:bufferqueue

17 #define LOG_TAG "BufferQueue"
27 #include <gui/BufferQueue.h>
36 // Macros for including the BufferQueue name in log messages
68 BufferQueue::BufferQueue(const sp<IGraphicBufferAlloc>& allocator) :
88 ST_LOGV("BufferQueue");
93 ST_LOGE("createGraphicBufferAlloc() failed in BufferQueue()");
100 BufferQueue::~BufferQueue() {
101 ST_LOGV("~BufferQueue");
104 status_t BufferQueue::setDefaultMaxBufferCountLocked(int count) {
115 void BufferQueue::setConsumerName(const String8& name) {
120 status_t BufferQueue::setDefaultBufferFormat(uint32_t defaultFormat) {
126 status_t BufferQueue::setConsumerUsageBits(uint32_t usage) {
132 status_t BufferQueue::setTransformHint(uint32_t hint) {
139 status_t BufferQueue::setBufferCount(int bufferCount) {
147 ST_LOGE("setBufferCount: BufferQueue has been abandoned!");
194 int BufferQueue::query(int what, int* outValue)
200 ST_LOGE("query: BufferQueue has been abandoned!");
231 status_t BufferQueue::requestBuffer(int slot, sp<GraphicBuffer>* buf) {
236 ST_LOGE("requestBuffer: BufferQueue has been abandoned!");
253 status_t BufferQueue::dequeueBuffer(int *outBuf, sp<Fence>* outFence, bool async,
280 ST_LOGE("dequeueBuffer: BufferQueue has been abandoned!");
440 ST_LOGE("dequeueBuffer: BufferQueue has been abandoned!");
469 status_t BufferQueue::queueBuffer(int buf,
507 ST_LOGE("queueBuffer: BufferQueue has been abandoned!");
611 void BufferQueue::cancelBuffer(int buf, const sp<Fence>& fence) {
617 ST_LOGW("cancelBuffer: BufferQueue has been abandoned!");
640 status_t BufferQueue::connect(const sp<IBinder>& token,
649 ST_LOGE("connect: BufferQueue has been abandoned!");
654 ST_LOGE("connect: BufferQueue has no consumer!");
707 void BufferQueue::binderDied(const wp<IBinder>& who) {
717 status_t BufferQueue::disconnect(int api) {
771 void BufferQueue::dump(String8& result, const char* prefix) const {
791 "%s-BufferQueue mMaxAcquiredBufferCount=%d, mDequeueBufferCannotBlock=%d, default-size=[%dx%d], "
838 void BufferQueue::freeBufferLocked(int slot) {
848 // destroy fence as BufferQueue now takes ownership
856 void BufferQueue::freeAllBuffersLocked() {
863 status_t BufferQueue::acquireBuffer(BufferItem *buffer, nsecs_t expectedPresent) {
996 status_t BufferQueue::releaseBuffer(
1047 status_t BufferQueue::consumerConnect(const sp<IConsumerListener>& consumerListener,
1054 ST_LOGE("consumerConnect: BufferQueue has been abandoned!");
1068 status_t BufferQueue::consumerDisconnect() {
1085 status_t BufferQueue::getReleasedBuffers(uint32_t* slotMask) {
1090 ST_LOGE("getReleasedBuffers: BufferQueue has been abandoned!");
1117 status_t BufferQueue::setDefaultBufferSize(uint32_t w, uint32_t h) {
1131 status_t BufferQueue::setDefaultMaxBufferCount(int bufferCount) {
1137 status_t BufferQueue::disableAsyncBuffer() {
1148 status_t BufferQueue::setMaxAcquiredBufferCount(int maxAcquiredBuffers) {
1163 int BufferQueue::getMinUndequeuedBufferCount(bool async) const {
1177 int BufferQueue::getMinMaxBufferCountLocked(bool async) const {
1181 int BufferQueue::getMaxBufferCountLocked(bool async) const {
1207 bool BufferQueue::stillTracking(const BufferItem *item) const {
1223 BufferQueue::ProxyConsumerListener::ProxyConsumerListener(
1227 BufferQueue::ProxyConsumerListener::~ProxyConsumerListener() {}
1229 void BufferQueue::ProxyConsumerListener::onFrameAvailable() {
1236 void BufferQueue::ProxyConsumerListener::onBuffersReleased() {