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)
50 mCore(core), in BufferQueueProducer()
68 Mutex::Autolock lock(mCore->mMutex); in requestBuffer()
70 if (mCore->mIsAbandoned) { in requestBuffer()
75 if (mCore->mConnectedApi == BufferQueueCore::NO_CONNECTED_API) { in requestBuffer()
103 Mutex::Autolock lock(mCore->mMutex); in setMaxDequeuedBufferCount()
104 mCore->waitWhileAllocatingLocked(); in setMaxDequeuedBufferCount()
106 if (mCore->mIsAbandoned) { in setMaxDequeuedBufferCount()
112 if (maxDequeuedBuffers == mCore->mMaxDequeuedBufferCount) { in setMaxDequeuedBufferCount()
119 for (int s : mCore->mActiveBuffers) { in setMaxDequeuedBufferCount()
[all …]
DBufferQueueConsumer.cpp26 #define VALIDATE_CONSISTENCY() do { mCore->validateConsistencyLocked(); } while (0)
47 mCore(core), in BufferQueueConsumer()
60 Mutex::Autolock lock(mCore->mMutex); in acquireBuffer()
67 for (int s : mCore->mActiveBuffers) { in acquireBuffer()
72 if (numAcquiredBuffers >= mCore->mMaxAcquiredBufferCount + 1) { in acquireBuffer()
74 numAcquiredBuffers, mCore->mMaxAcquiredBufferCount); in acquireBuffer()
78 bool sharedBufferAvailable = mCore->mSharedBufferMode && in acquireBuffer()
79 mCore->mAutoRefresh && mCore->mSharedBufferSlot != in acquireBuffer()
84 if (mCore->mQueue.empty() && !sharedBufferAvailable) { in acquireBuffer()
88 BufferQueueCore::Fifo::iterator front(mCore->mQueue.begin()); in acquireBuffer()
[all …]
/frameworks/native/libs/gui/include/gui/
DBufferQueueConsumer.h175 sp<BufferQueueCore> mCore;
DBufferQueueCore.h47 mCore->mConsumerName.string(), (index)); \
DBufferQueueProducer.h215 sp<BufferQueueCore> mCore; variable