/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/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()
|
D | goog_gralloc_wrapper.h | 95 sp<::android::hardware::graphics::allocator::V3_0::IAllocator> allocator_; variable
|
/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/sm8150/display/gralloc/ |
D | gr_buf_mgr.cpp | 739 allocator_ = new Allocator(); in BufferManager() 740 allocator_->Init(); in BufferManager() 749 if (allocator_) { in ~BufferManager() 750 delete allocator_; in ~BufferManager() 755 allocator_->SetProperties(props); in SetGrallocDebugProperties() 770 if (allocator_->FreeBuffer(reinterpret_cast<void *>(hnd->base), hnd->size, hnd->offset, hnd->fd, in FreeBuffer() 775 if (allocator_->FreeBuffer(reinterpret_cast<void *>(hnd->base_metadata), in FreeBuffer() 832 int ion_handle = allocator_->ImportBuffer(hnd->fd); in ImportHandleLocked() 837 int ion_handle_meta = allocator_->ImportBuffer(hnd->fd_metadata); in ImportHandleLocked() 875 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 | 724 allocator_ = new Allocator(); in BufferManager() 725 allocator_->Init(); in BufferManager() 734 if (allocator_) { in ~BufferManager() 735 delete allocator_; in ~BufferManager() 740 allocator_->SetProperties(props); in SetGrallocDebugProperties() 755 if (allocator_->FreeBuffer(reinterpret_cast<void *>(hnd->base), hnd->size, hnd->offset, hnd->fd, in FreeBuffer() 760 if (allocator_->FreeBuffer(reinterpret_cast<void *>(hnd->base_metadata), meta_size, in FreeBuffer() 816 int ion_handle = allocator_->ImportBuffer(hnd->fd); in ImportHandleLocked() 821 int ion_handle_meta = allocator_->ImportBuffer(hnd->fd_metadata); in ImportHandleLocked() 864 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
|