Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.cpp295 status_t VirtualDisplaySurface::requestBuffer(int pslot, in requestBuffer() argument
298 return mSource[SOURCE_SINK]->requestBuffer(pslot, outBuf); in requestBuffer()
302 pslot, ftl::enum_string(mDebugState).c_str()); in requestBuffer()
304 *outBuf = mProducerBuffers[pslot]; in requestBuffer()
326 int pslot = mapSource2ProducerSlot(source, *sslot); in dequeueBuffer() local
328 *sslot, pslot, result); in dequeueBuffer()
329 uint64_t sourceBit = static_cast<uint64_t>(source) << pslot; in dequeueBuffer()
332 mProducerSlotNeedReallocation &= ~(1ULL << pslot); in dequeueBuffer()
334 if ((mProducerSlotSource & (1ULL << pslot)) != sourceBit) { in dequeueBuffer()
337 mProducerSlotNeedReallocation |= 1ULL << pslot; in dequeueBuffer()
[all …]
DVirtualDisplaySurface.h110 virtual status_t requestBuffer(int pslot, sp<GraphicBuffer>* outBuf);
113 virtual status_t dequeueBuffer(int* pslot, sp<Fence>*, uint32_t w, uint32_t h, PixelFormat,
119 virtual status_t queueBuffer(int pslot, const QueueBufferInput&, QueueBufferOutput*);
120 virtual status_t cancelBuffer(int pslot, const sp<Fence>&);
156 static int mapProducer2SourceSlot(Source, int pslot);