Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.cpp292 status_t VirtualDisplaySurface::requestBuffer(int pslot, in requestBuffer() argument
295 return mSource[SOURCE_SINK]->requestBuffer(pslot, outBuf); in requestBuffer()
299 pslot, dbgStateStr()); in requestBuffer()
301 *outBuf = mProducerBuffers[pslot]; in requestBuffer()
323 int pslot = mapSource2ProducerSlot(source, *sslot); in dequeueBuffer() local
325 dbgSourceStr(source), *sslot, pslot, result); in dequeueBuffer()
326 uint64_t sourceBit = static_cast<uint64_t>(source) << pslot; in dequeueBuffer()
328 if ((mProducerSlotSource & (1ULL << pslot)) != sourceBit) { in dequeueBuffer()
332 mProducerSlotSource &= ~(1ULL << pslot); in dequeueBuffer()
343 result = mSource[source]->requestBuffer(*sslot, &mProducerBuffers[pslot]); in dequeueBuffer()
[all …]
DVirtualDisplaySurface.h101 virtual status_t requestBuffer(int pslot, sp<GraphicBuffer>* outBuf);
104 virtual status_t dequeueBuffer(int* pslot, sp<Fence>* fence, uint32_t w, uint32_t h,
111 virtual status_t queueBuffer(int pslot,
113 virtual status_t cancelBuffer(int pslot, const sp<Fence>& fence);
149 static int mapProducer2SourceSlot(Source source, int pslot);