Home
last modified time | relevance | path

Searched refs:mCore (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/libs/gui/
DBufferQueueProducer.cpp24 #define VALIDATE_CONSISTENCY() do { mCore->validateConsistencyLocked(); } while (0)
48 mCore(core), in BufferQueueProducer()
66 Mutex::Autolock lock(mCore->mMutex); in requestBuffer()
68 if (mCore->mIsAbandoned) { in requestBuffer()
73 if (mCore->mConnectedApi == BufferQueueCore::NO_CONNECTED_API) { in requestBuffer()
101 Mutex::Autolock lock(mCore->mMutex); in setMaxDequeuedBufferCount()
102 mCore->waitWhileAllocatingLocked(); in setMaxDequeuedBufferCount()
104 if (mCore->mIsAbandoned) { in setMaxDequeuedBufferCount()
110 if (maxDequeuedBuffers == mCore->mMaxDequeuedBufferCount) { in setMaxDequeuedBufferCount()
117 for (int s : mCore->mActiveBuffers) { in setMaxDequeuedBufferCount()
[all …]
DBufferQueueConsumer.cpp24 #define VALIDATE_CONSISTENCY() do { mCore->validateConsistencyLocked(); } while (0)
42 mCore(core), in BufferQueueConsumer()
55 Mutex::Autolock lock(mCore->mMutex); in acquireBuffer()
62 for (int s : mCore->mActiveBuffers) { in acquireBuffer()
67 if (numAcquiredBuffers >= mCore->mMaxAcquiredBufferCount + 1) { in acquireBuffer()
69 numAcquiredBuffers, mCore->mMaxAcquiredBufferCount); in acquireBuffer()
73 bool sharedBufferAvailable = mCore->mSharedBufferMode && in acquireBuffer()
74 mCore->mAutoRefresh && mCore->mSharedBufferSlot != in acquireBuffer()
79 if (mCore->mQueue.empty() && !sharedBufferAvailable) { in acquireBuffer()
83 BufferQueueCore::Fifo::iterator front(mCore->mQueue.begin()); in acquireBuffer()
[all …]
/frameworks/native/include/gui/
DBufferQueueConsumer.h176 sp<BufferQueueCore> mCore;
DBufferQueueCore.h47 mCore->mConsumerName.string(), (index)); \
DBufferQueueProducer.h211 sp<BufferQueueCore> mCore; variable