Lines Matching refs:pslot

302 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()
355 mProducerBuffers[pslot].clear(); in dequeueBuffer()
360 dbgSourceStr(source), pslot, mProducerBuffers[pslot].get(), in dequeueBuffer()
361 mProducerBuffers[pslot]->getPixelFormat(), in dequeueBuffer()
362 mProducerBuffers[pslot]->getUsage()); in dequeueBuffer()
368 status_t VirtualDisplaySurface::dequeueBuffer(int* pslot, sp<Fence>* fence, uint32_t w, uint32_t h, in dequeueBuffer() argument
373 return mSource[SOURCE_SINK]->dequeueBuffer(pslot, fence, w, h, format, usage, outBufferAge, in dequeueBuffer()
425 *pslot = mOutputProducerSlot; in dequeueBuffer()
431 *pslot = mapSource2ProducerSlot(source, sslot); in dequeueBuffer()
457 status_t VirtualDisplaySurface::queueBuffer(int pslot, in queueBuffer() argument
460 return mSource[SOURCE_SINK]->queueBuffer(pslot, input, output); in queueBuffer()
463 VDS_LOGW_IF(mDbgState != DBG_STATE_GPU, "Unexpected queueBuffer(pslot=%d) in %s state", pslot, in queueBuffer()
467 VDS_LOGV("queueBuffer pslot=%d", pslot); in queueBuffer()
473 int sslot = mapProducer2SourceSlot(SOURCE_SCRATCH, pslot); in queueBuffer()
506 mFbProducerSlot = pslot; in queueBuffer()
515 status_t VirtualDisplaySurface::cancelBuffer(int pslot, in cancelBuffer() argument
518 … return mSource[SOURCE_SINK]->cancelBuffer(mapProducer2SourceSlot(SOURCE_SINK, pslot), fence); in cancelBuffer()
521 VDS_LOGW_IF(mDbgState != DBG_STATE_GPU, "Unexpected cancelBuffer(pslot=%d) in %s state", pslot, in cancelBuffer()
523 VDS_LOGV("cancelBuffer pslot=%d", pslot); in cancelBuffer()
526 mapProducer2SourceSlot(source, pslot), fence); in cancelBuffer()
664 int VirtualDisplaySurface::mapProducer2SourceSlot(Source source, int pslot) { in mapProducer2SourceSlot() argument
665 return mapSource2ProducerSlot(source, pslot); in mapProducer2SourceSlot()