Home
last modified time | relevance | path

Searched refs:mapper_ (Results 1 – 2 of 2) sorted by relevance

/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_buffer_allocator.cpp52 if (mapper_ != nullptr || allocator_ != nullptr) { in GetGrallocInstance()
57 mapper_ = IMapper::getService(); in GetGrallocInstance()
59 if (mapper_ == nullptr || allocator_ == nullptr) { in GetGrallocInstance()
108 mapper_->createDescriptor(descriptor_info, [&](const auto &_error, const auto &_descriptor) { in AllocateBuffer()
131 mapper_->importBuffer(raw_handle, [&](const auto &_error, const auto &_buffer) { in AllocateBuffer()
156 mapper_->freeBuffer(hnd); in FreeBuffer()
417 mapper_->lock(reinterpret_cast<void *>(hnd), (uint64_t)BufferUsage::CPU_READ_OFTEN, in MapBuffer()
434 mapper_->unlock(reinterpret_cast<void *>(hnd), in UnmapBuffer()
Dhwc_buffer_allocator.h68 android::sp<IMapper> mapper_; variable