Home
last modified time | relevance | path

Searched refs:pslot (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.cpp269 status_t VirtualDisplaySurface::requestBuffer(int pslot, in requestBuffer() argument
272 return mSource[SOURCE_SINK]->requestBuffer(pslot, outBuf); in requestBuffer()
276 pslot, dbgStateStr()); in requestBuffer()
278 *outBuf = mProducerBuffers[pslot]; in requestBuffer()
296 int pslot = mapSource2ProducerSlot(source, *sslot); in dequeueBuffer() local
298 dbgSourceStr(source), *sslot, pslot, result); in dequeueBuffer()
299 uint64_t sourceBit = static_cast<uint64_t>(source) << pslot; in dequeueBuffer()
301 if ((mProducerSlotSource & (1ULL << pslot)) != sourceBit) { in dequeueBuffer()
305 mProducerSlotSource &= ~(1ULL << pslot); in dequeueBuffer()
316 result = mSource[source]->requestBuffer(*sslot, &mProducerBuffers[pslot]); in dequeueBuffer()
[all …]
DVirtualDisplaySurface.h100 virtual status_t requestBuffer(int pslot, sp<GraphicBuffer>* outBuf);
102 virtual status_t dequeueBuffer(int* pslot, sp<Fence>* fence, bool async,
108 virtual status_t queueBuffer(int pslot,
110 virtual void cancelBuffer(int pslot, const sp<Fence>& fence);
136 static int mapProducer2SourceSlot(Source source, int pslot);