Lines Matching refs:sslot
250 int sslot = mapProducer2SourceSlot(SOURCE_SCRATCH, mFbProducerSlot); in onFrameCommitted() local
251 VDS_LOGV("onFrameCommitted: release scratch sslot=%d", sslot); in onFrameCommitted()
252 addReleaseFenceLocked(sslot, mProducerBuffers[mFbProducerSlot], in onFrameCommitted()
254 releaseBufferLocked(sslot, mProducerBuffers[mFbProducerSlot]); in onFrameCommitted()
258 int sslot = mapProducer2SourceSlot(SOURCE_SINK, mOutputProducerSlot); in onFrameCommitted() local
260 VDS_LOGV("onFrameCommitted: queue sink sslot=%d", sslot); in onFrameCommitted()
262 status_t result = mSource[SOURCE_SINK]->queueBuffer(sslot, in onFrameCommitted()
278 mSource[SOURCE_SINK]->cancelBuffer(sslot, retireFence); in onFrameCommitted()
323 PixelFormat format, uint64_t usage, int* sslot, sp<Fence>* fence) { in dequeueBuffer() argument
327 mSource[source]->dequeueBuffer(sslot, fence, mSinkBufferWidth, mSinkBufferHeight, in dequeueBuffer()
331 int pslot = mapSource2ProducerSlot(source, *sslot); in dequeueBuffer()
333 dbgSourceStr(source), *sslot, pslot, result); in dequeueBuffer()
351 result = mSource[source]->requestBuffer(*sslot, &mProducerBuffers[pslot]); in dequeueBuffer()
354 mSource[source]->cancelBuffer(*sslot, *fence); in dequeueBuffer()
426 int sslot; in dequeueBuffer() local
427 result = dequeueBuffer(source, format, usage, &sslot, fence); in dequeueBuffer()
429 *pslot = mapSource2ProducerSlot(source, sslot); in dequeueBuffer()
472 int sslot = mapProducer2SourceSlot(SOURCE_SCRATCH, pslot); in queueBuffer() local
473 result = mSource[SOURCE_SCRATCH]->queueBuffer(sslot, input, &scratchQBO); in queueBuffer()
484 VDS_LOGW_IF(item.mSlot != sslot, in queueBuffer()
486 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()