Lines Matching refs:cachedBuffer
289 …ffer::HeldDecoderBuffer(const sp<VirtualDevice>& vd, const android::sp<CachedBuffer>& cachedBuffer) in HeldDecoderBuffer() argument
291 cachedBuffer(cachedBuffer) in HeldDecoderBuffer()
293 if (!vd->mPayloadManager->setRenderStatus(cachedBuffer->mapper, true)) { in HeldDecoderBuffer()
300 if (!vd->mPayloadManager->setRenderStatus(cachedBuffer->mapper, false)) { in ~HeldDecoderBuffer()
673 sp<CachedBuffer> cachedBuffer; in getMappedBuffer() local
678 cachedBuffer = new CachedBuffer(mHwc.getBufferManager(), handle); in getMappedBuffer()
679 mMappedBufferCache.add(handle, cachedBuffer); in getMappedBuffer()
681 cachedBuffer = mMappedBufferCache[index]; in getMappedBuffer()
684 return cachedBuffer; in getMappedBuffer()
1509 sp<CachedBuffer> cachedBuffer; in queueCompose() local
1510 if ((cachedBuffer = getMappedBuffer(layer.handle)) == NULL) { in queueCompose()
1521 if (!mPayloadManager->getMetaData(cachedBuffer->mapper, &metadata)) { in queueCompose()
1584 heldBuffer = new HeldDecoderBuffer(this, cachedBuffer); in queueCompose()
1659 composeTask->videoCachedBuffer = cachedBuffer; in queueCompose()