Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.cpp302 status_t VirtualDisplaySurface::requestBuffer(int pslot, in requestBuffer() argument
305 return mSource[SOURCE_SINK]->requestBuffer(pslot, outBuf); in requestBuffer()
308 VDS_LOGW_IF(mDbgState != DBG_STATE_GPU, "Unexpected requestBuffer pslot=%d in %s state", pslot, in requestBuffer()
311 *outBuf = mProducerBuffers[pslot]; in requestBuffer()
333 int pslot = mapSource2ProducerSlot(source, *sslot); in dequeueBuffer() local
335 dbgSourceStr(source), *sslot, pslot, result); in dequeueBuffer()
336 uint64_t sourceBit = static_cast<uint64_t>(source) << pslot; in dequeueBuffer()
338 if ((mProducerSlotSource & (1ULL << pslot)) != sourceBit) { in dequeueBuffer()
342 mProducerSlotSource &= ~(1ULL << pslot); in dequeueBuffer()
353 result = mSource[source]->requestBuffer(*sslot, &mProducerBuffers[pslot]); in dequeueBuffer()
[all …]
DVirtualDisplaySurface.h104 virtual status_t requestBuffer(int pslot, sp<GraphicBuffer>* outBuf);
107 virtual status_t dequeueBuffer(int* pslot, sp<Fence>* fence, uint32_t w, uint32_t h,
114 virtual status_t queueBuffer(int pslot,
116 virtual status_t cancelBuffer(int pslot, const sp<Fence>& fence);
152 static int mapProducer2SourceSlot(Source source, int pslot);