/hardware/qcom/display/msm8998/libgralloc1/ |
D | gr_buf_mgr.cpp | 54 allocator_ = new Allocator(); in BufferManager() 55 allocator_->Init(); in BufferManager() 80 if (allocator_) { in ~BufferManager() 81 delete allocator_; in ~BufferManager() 109 descriptor->SetColorFormat(allocator_->GetImplDefinedFormat(descriptor->GetProducerUsage(), in AllocateBuffers() 118 shared = allocator_->CheckForBufferSharing(num_descriptors, descriptors, &max_buf_index); in AllocateBuffers() 165 allocator_->GetAlignedWidthAndHeight(descriptor, &alignedw, &alignedh); in CreateSharedHandle() 200 if (allocator_->FreeBuffer(reinterpret_cast<void *>(hnd->base), hnd->size, hnd->offset, in FreeBuffer() 206 if (allocator_->FreeBuffer(reinterpret_cast<void *>(hnd->base_metadata), meta_size, in FreeBuffer() 233 int ion_handle = allocator_->ImportBuffer(hnd->fd); in ImportHandleLocked() [all …]
|
D | gr_buf_mgr.h | 122 Allocator *allocator_ = NULL; variable
|
/hardware/qcom/display/msm8996/libgralloc1/ |
D | gr_buf_mgr.cpp | 54 allocator_ = new Allocator(); in BufferManager() 55 allocator_->Init(); in BufferManager() 80 if (allocator_) { in ~BufferManager() 81 delete allocator_; in ~BufferManager() 109 descriptor->SetColorFormat(allocator_->GetImplDefinedFormat(descriptor->GetProducerUsage(), in AllocateBuffers() 118 shared = allocator_->CheckForBufferSharing(num_descriptors, descriptors, &max_buf_index); in AllocateBuffers() 165 allocator_->GetAlignedWidthAndHeight(descriptor, &alignedw, &alignedh); in CreateSharedHandle() 195 if (allocator_->FreeBuffer(reinterpret_cast<void *>(hnd->base), hnd->size, hnd->offset, in FreeBuffer() 201 if (allocator_->FreeBuffer(reinterpret_cast<void *>(hnd->base_metadata), meta_size, in FreeBuffer() 222 int ion_handle = allocator_->ImportBuffer(hnd->fd); in ImportHandleLocked() [all …]
|
D | gr_buf_mgr.h | 122 Allocator *allocator_ = NULL; variable
|
/hardware/qcom/sdm845/display/gralloc/ |
D | gr_buf_mgr.cpp | 42 allocator_ = new Allocator(); in BufferManager() 43 allocator_->Init(); in BufferManager() 52 if (allocator_) { in ~BufferManager() 53 delete allocator_; in ~BufferManager() 66 if (allocator_->FreeBuffer(reinterpret_cast<void *>(hnd->base), hnd->size, hnd->offset, hnd->fd, in FreeBuffer() 72 if (allocator_->FreeBuffer(reinterpret_cast<void *>(hnd->base_metadata), meta_size, in FreeBuffer() 88 info.format = allocator_->GetImplDefinedFormat(info.usage, info.format); in ValidateBufferSize() 109 int ion_handle = allocator_->ImportBuffer(hnd->fd); in ImportHandleLocked() 114 int ion_handle_meta = allocator_->ImportBuffer(hnd->fd_metadata); in ImportHandleLocked() 146 if (allocator_->MapBuffer(reinterpret_cast<void **>(&hnd->base), hnd->size, hnd->offset, in MapBuffer() [all …]
|
D | gr_buf_mgr.h | 89 Allocator *allocator_ = NULL; variable
|
/hardware/google/camera/common/sensor_listener/ |
D | goog_gralloc_wrapper.cc | 33 allocator_ = IAllocator::getService(); in GoogGrallocWrapper() 34 if (allocator_ == nullptr) { in GoogGrallocWrapper() 65 return allocator_; in GetAllocator() 70 allocator_->dumpDebugInfo([&debug_info](const auto& tmp_debug_info) { in DumpDebugInfo() 96 allocator_->allocate( in Allocate()
|
/hardware/qcom/display/msm8909w_3100/libgralloc1/ |
D | gr_buf_mgr.cpp | 53 allocator_ = new Allocator(); in BufferManager() 54 allocator_->Init(); in BufferManager() 79 if (allocator_) { in ~BufferManager() 80 delete allocator_; in ~BufferManager() 108 descriptor->SetColorFormat(allocator_->GetImplDefinedFormat(descriptor->GetProducerUsage(), in AllocateBuffers() 117 shared = allocator_->CheckForBufferSharing(num_descriptors, descriptors, &max_buf_index); in AllocateBuffers() 196 if (allocator_->FreeBuffer(reinterpret_cast<void *>(hnd->base), hnd->size, hnd->offset, in FreeBuffer() 202 if (allocator_->FreeBuffer(reinterpret_cast<void *>(hnd->base_metadata), meta_size, in FreeBuffer() 225 int ion_handle = allocator_->ImportBuffer(hnd->fd); in ImportHandleLocked() 230 int ion_handle_meta = allocator_->ImportBuffer(hnd->fd_metadata); in ImportHandleLocked() [all …]
|
D | gr_buf_mgr.h | 121 Allocator *allocator_ = NULL; variable
|
/hardware/qcom/display/msm8909/gralloc/ |
D | gr_buf_mgr.cpp | 53 allocator_ = new Allocator(); in BufferManager() 54 allocator_->Init(); in BufferManager() 79 if (allocator_) { in ~BufferManager() 80 delete allocator_; in ~BufferManager() 108 descriptor->SetColorFormat(allocator_->GetImplDefinedFormat(descriptor->GetProducerUsage(), in AllocateBuffers() 117 shared = allocator_->CheckForBufferSharing(num_descriptors, descriptors, &max_buf_index); in AllocateBuffers() 202 if (allocator_->FreeBuffer(reinterpret_cast<void *>(hnd->base), hnd->size, hnd->offset, in FreeBuffer() 208 if (allocator_->FreeBuffer(reinterpret_cast<void *>(hnd->base_metadata), meta_size, in FreeBuffer() 231 int ion_handle = allocator_->ImportBuffer(hnd->fd); in ImportHandleLocked() 236 int ion_handle_meta = allocator_->ImportBuffer(hnd->fd_metadata); in ImportHandleLocked() [all …]
|
D | gr_buf_mgr.h | 121 Allocator *allocator_ = NULL; variable
|
/hardware/qcom/sdm845/display/sdm/libs/hwc2/ |
D | hwc_buffer_allocator.cpp | 52 if (mapper_ != nullptr || allocator_ != nullptr) { in GetGrallocInstance() 56 allocator_ = IAllocator::getService(); in GetGrallocInstance() 59 if (mapper_ == nullptr || allocator_ == nullptr) { in GetGrallocInstance() 120 allocator_->allocate(descriptor, 1, in AllocateBuffer()
|
D | hwc_buffer_allocator.h | 69 android::sp<IAllocator> allocator_; variable
|
/hardware/qcom/sm8150/display/gralloc/ |
D | gr_buf_mgr.cpp | 700 allocator_ = new Allocator(); in BufferManager() 701 allocator_->Init(); in BufferManager() 710 if (allocator_) { in ~BufferManager() 711 delete allocator_; in ~BufferManager() 716 allocator_->SetProperties(props); in SetGrallocDebugProperties() 731 if (allocator_->FreeBuffer(reinterpret_cast<void *>(hnd->base), hnd->size, hnd->offset, hnd->fd, in FreeBuffer() 736 if (allocator_->FreeBuffer(reinterpret_cast<void *>(hnd->base_metadata), in FreeBuffer() 794 int ion_handle = allocator_->ImportBuffer(hnd->fd); in ImportHandleLocked() 799 int ion_handle_meta = allocator_->ImportBuffer(hnd->fd_metadata); in ImportHandleLocked() 837 if (allocator_->MapBuffer(reinterpret_cast<void **>(&hnd->base), hnd->size, hnd->offset, in MapBuffer() [all …]
|
D | gr_buf_mgr.h | 99 Allocator *allocator_ = NULL; variable
|
/hardware/qcom/sm7250/display/gralloc/ |
D | gr_buf_mgr.cpp | 699 allocator_ = new Allocator(); in BufferManager() 700 allocator_->Init(); in BufferManager() 709 if (allocator_) { in ~BufferManager() 710 delete allocator_; in ~BufferManager() 715 allocator_->SetProperties(props); in SetGrallocDebugProperties() 730 if (allocator_->FreeBuffer(reinterpret_cast<void *>(hnd->base), hnd->size, hnd->offset, hnd->fd, in FreeBuffer() 735 if (allocator_->FreeBuffer(reinterpret_cast<void *>(hnd->base_metadata), meta_size, in FreeBuffer() 792 int ion_handle = allocator_->ImportBuffer(hnd->fd); in ImportHandleLocked() 797 int ion_handle_meta = allocator_->ImportBuffer(hnd->fd_metadata); in ImportHandleLocked() 840 if (allocator_->MapBuffer(reinterpret_cast<void **>(&hnd->base), hnd->size, hnd->offset, in MapBuffer() [all …]
|
D | gr_buf_mgr.h | 100 Allocator *allocator_ = NULL; variable
|