Home
last modified time | relevance | path

Searched refs:hdiBuffer (Results 1 – 3 of 3) sorted by relevance

/drivers/interface/display/buffer/v1_0/hdi_impl/
Ddisplay_buffer_hdi_impl.cpp133 sptr<NativeBuffer> hdiBuffer; in AllocMem() local
134 int32_t ret = allocator_->AllocMem(info, hdiBuffer); in AllocMem()
135 if ((ret == HDF_SUCCESS) && (hdiBuffer != nullptr)) { in AllocMem()
136 handle = hdiBuffer->Move(); in AllocMem()
148 sptr<NativeBuffer> hdiBuffer = new NativeBuffer(); in FreeMem() local
149 CHECK_NULLPOINTER_RETURN(hdiBuffer); in FreeMem()
150 hdiBuffer->SetBufferHandle(const_cast<BufferHandle*>(&handle), true); in FreeMem()
151 mapper_->FreeMem(hdiBuffer); in FreeMem()
157 sptr<NativeBuffer> hdiBuffer = new NativeBuffer(); in Mmap() local
158 CHECK_NULLPOINTER_RETURN_VALUE(hdiBuffer, nullptr); in Mmap()
[all …]
/drivers/interface/display/composer/v1_0/hdi_impl/
Ddisplay_composer_hdi_impl.h257 sptr<NativeBuffer> hdiBuffer = new NativeBuffer(); in SetVirtualDisplayBuffer() local
258 if (hdiBuffer == nullptr) { in SetVirtualDisplayBuffer()
261 hdiBuffer->SetBufferHandle(const_cast<BufferHandle*>(&buffer)); in SetVirtualDisplayBuffer()
264 ret = ToDispErrCode(hdi_->SetVirtualDisplayBuffer(devId, hdiBuffer, hdiFence)); in SetVirtualDisplayBuffer()
/drivers/interface/display/composer/v1_0/display_command/
Ddisplay_cmd_responser.h916 sptr<NativeBuffer> hdiBuffer = new NativeBuffer(); in DumpLayerBuffer() local
917 hdiBuffer->SetBufferHandle(const_cast<BufferHandle*>(&buffer)); in DumpLayerBuffer()
920 ret = g_bufferServiceImpl->Mmap(hdiBuffer); in DumpLayerBuffer()
933 ret = g_bufferServiceImpl->Unmap(hdiBuffer); in DumpLayerBuffer()