Lines Matching refs:sslot
253 int sslot = mapProducer2SourceSlot(SOURCE_SCRATCH, mFbProducerSlot); in onFrameCommitted() local
254 VDS_LOGV("onFrameCommitted: release scratch sslot=%d", sslot); in onFrameCommitted()
255 addReleaseFenceLocked(sslot, mProducerBuffers[mFbProducerSlot], in onFrameCommitted()
257 releaseBufferLocked(sslot, mProducerBuffers[mFbProducerSlot]); in onFrameCommitted()
261 int sslot = mapProducer2SourceSlot(SOURCE_SINK, mOutputProducerSlot); in onFrameCommitted() local
263 VDS_LOGV("onFrameCommitted: queue sink sslot=%d", sslot); in onFrameCommitted()
265 status_t result = mSource[SOURCE_SINK]->queueBuffer(sslot, in onFrameCommitted()
281 mSource[SOURCE_SINK]->cancelBuffer(sslot, retireFence); in onFrameCommitted()
325 PixelFormat format, uint64_t usage, int* sslot, sp<Fence>* fence) { in dequeueBuffer() argument
329 mSource[source]->dequeueBuffer(sslot, fence, mSinkBufferWidth, mSinkBufferHeight, in dequeueBuffer()
333 int pslot = mapSource2ProducerSlot(source, *sslot); in dequeueBuffer()
335 dbgSourceStr(source), *sslot, pslot, result); in dequeueBuffer()
353 result = mSource[source]->requestBuffer(*sslot, &mProducerBuffers[pslot]); in dequeueBuffer()
356 mSource[source]->cancelBuffer(*sslot, *fence); in dequeueBuffer()
428 int sslot; in dequeueBuffer() local
429 result = dequeueBuffer(source, format, usage, &sslot, fence); in dequeueBuffer()
431 *pslot = mapSource2ProducerSlot(source, sslot); in dequeueBuffer()
473 int sslot = mapProducer2SourceSlot(SOURCE_SCRATCH, pslot); in queueBuffer() local
474 result = mSource[SOURCE_SCRATCH]->queueBuffer(sslot, input, &scratchQBO); in queueBuffer()
485 VDS_LOGW_IF(item.mSlot != sslot, in queueBuffer()
487 item.mSlot, sslot); in queueBuffer()
637 int sslot; in refreshOutputBuffer() local
639 &sslot, &mOutputFence); in refreshOutputBuffer()
642 mOutputProducerSlot = mapSource2ProducerSlot(SOURCE_SINK, sslot); in refreshOutputBuffer()
657 int VirtualDisplaySurface::mapSource2ProducerSlot(Source source, int sslot) { in mapSource2ProducerSlot() argument
659 return BufferQueue::NUM_BUFFER_SLOTS - sslot - 1; in mapSource2ProducerSlot()
661 return sslot; in mapSource2ProducerSlot()