Lines Matching refs:sslot
243 int sslot = mapProducer2SourceSlot(SOURCE_SCRATCH, mFbProducerSlot); in onFrameCommitted() local
244 VDS_LOGV("onFrameCommitted: release scratch sslot=%d", sslot); in onFrameCommitted()
245 addReleaseFenceLocked(sslot, mProducerBuffers[mFbProducerSlot], in onFrameCommitted()
247 releaseBufferLocked(sslot, mProducerBuffers[mFbProducerSlot]); in onFrameCommitted()
251 int sslot = mapProducer2SourceSlot(SOURCE_SINK, mOutputProducerSlot); in onFrameCommitted() local
253 VDS_LOGV("onFrameCommitted: queue sink sslot=%d", sslot); in onFrameCommitted()
255 status_t result = mSource[SOURCE_SINK]->queueBuffer(sslot, in onFrameCommitted()
271 mSource[SOURCE_SINK]->cancelBuffer(sslot, retireFence); in onFrameCommitted()
315 PixelFormat format, uint64_t usage, int* sslot, sp<Fence>* fence) { in dequeueBuffer() argument
319 mSource[source]->dequeueBuffer(sslot, fence, mSinkBufferWidth, mSinkBufferHeight, in dequeueBuffer()
323 int pslot = mapSource2ProducerSlot(source, *sslot); in dequeueBuffer()
325 dbgSourceStr(source), *sslot, pslot, result); in dequeueBuffer()
343 result = mSource[source]->requestBuffer(*sslot, &mProducerBuffers[pslot]); in dequeueBuffer()
346 mSource[source]->cancelBuffer(*sslot, *fence); in dequeueBuffer()
418 int sslot; in dequeueBuffer() local
419 result = dequeueBuffer(source, format, usage, &sslot, fence); in dequeueBuffer()
421 *pslot = mapSource2ProducerSlot(source, sslot); in dequeueBuffer()
463 int sslot = mapProducer2SourceSlot(SOURCE_SCRATCH, pslot); in queueBuffer() local
464 result = mSource[SOURCE_SCRATCH]->queueBuffer(sslot, input, &scratchQBO); in queueBuffer()
475 VDS_LOGW_IF(item.mSlot != sslot, in queueBuffer()
477 item.mSlot, sslot); in queueBuffer()
625 int sslot; in refreshOutputBuffer() local
627 &sslot, &mOutputFence); in refreshOutputBuffer()
630 mOutputProducerSlot = mapSource2ProducerSlot(SOURCE_SINK, sslot); in refreshOutputBuffer()
645 int VirtualDisplaySurface::mapSource2ProducerSlot(Source source, int sslot) { in mapSource2ProducerSlot() argument
647 return BufferQueue::NUM_BUFFER_SLOTS - sslot - 1; in mapSource2ProducerSlot()
649 return sslot; in mapSource2ProducerSlot()