Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.cpp250 status_t VirtualDisplaySurface::requestBuffer(int pslot, in requestBuffer() argument
254 pslot, dbgStateStr()); in requestBuffer()
256 *outBuf = mProducerBuffers[pslot]; in requestBuffer()
273 int pslot = mapSource2ProducerSlot(source, *sslot); in dequeueBuffer() local
275 dbgSourceStr(source), *sslot, pslot, result); in dequeueBuffer()
276 uint32_t sourceBit = static_cast<uint32_t>(source) << pslot; in dequeueBuffer()
278 if ((mProducerSlotSource & (1u << pslot)) != sourceBit) { in dequeueBuffer()
282 mProducerSlotSource &= ~(1u << pslot); in dequeueBuffer()
293 mSource[source]->requestBuffer(*sslot, &mProducerBuffers[pslot]); in dequeueBuffer()
295 dbgSourceStr(source), pslot, mProducerBuffers[pslot].get(), in dequeueBuffer()
[all …]
DVirtualDisplaySurface.h97 virtual status_t requestBuffer(int pslot, sp<GraphicBuffer>* outBuf);
99 virtual status_t dequeueBuffer(int* pslot, sp<Fence>* fence, bool async,
101 virtual status_t queueBuffer(int pslot,
103 virtual void cancelBuffer(int pslot, const sp<Fence>& fence);
126 static int mapProducer2SourceSlot(Source source, int pslot);