Home | History | Annotate | Download | only in devices

Lines Matching defs:cachedBuffer

271 VirtualDevice::CachedBuffer::CachedBuffer(BufferManager *mgr, buffer_handle_t handle)
282 VirtualDevice::CachedBuffer::~CachedBuffer()
289 VirtualDevice::HeldDecoderBuffer::HeldDecoderBuffer(const sp<VirtualDevice>& vd, const android::sp<CachedBuffer>& cachedBuffer)
291 cachedBuffer(cachedBuffer)
293 if (!vd->mPayloadManager->setRenderStatus(cachedBuffer->mapper, true)) {
300 if (!vd->mPayloadManager->setRenderStatus(cachedBuffer->mapper, false)) {
423 sp<CachedBuffer> videoCachedBuffer;
670 sp<VirtualDevice::CachedBuffer> VirtualDevice::getMappedBuffer(buffer_handle_t handle)
673 sp<CachedBuffer> cachedBuffer;
678 cachedBuffer = new CachedBuffer(mHwc.getBufferManager(), handle);
679 mMappedBufferCache.add(handle, cachedBuffer);
681 cachedBuffer = mMappedBufferCache[index];
684 return cachedBuffer;
1509 sp<CachedBuffer> cachedBuffer;
1510 if ((cachedBuffer = getMappedBuffer(layer.handle)) == NULL) {
1521 if (!mPayloadManager->getMetaData(cachedBuffer->mapper, &metadata)) {
1584 heldBuffer = new HeldDecoderBuffer(this, cachedBuffer);
1659 composeTask->videoCachedBuffer = cachedBuffer;
1743 sp<CachedBuffer> srcCachedBuffer;
1744 sp<CachedBuffer> destCachedBuffer;