Home
last modified time | relevance | path

Searched refs:allocator_ (Results 1 – 8 of 8) sorted by relevance

/hardware/qcom/display/msm8996/libgralloc1/
Dgr_buf_mgr.cpp54 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 …]
Dgr_buf_mgr.h122 Allocator *allocator_ = NULL; variable
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_buf_mgr.cpp54 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()
229 int ion_handle = allocator_->ImportBuffer(hnd->fd); in ImportHandleLocked()
[all …]
Dgr_buf_mgr.h122 Allocator *allocator_ = NULL; variable
/hardware/qcom/display/msm8909/gralloc/
Dgr_buf_mgr.cpp53 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 …]
Dgr_buf_mgr.h121 Allocator *allocator_ = NULL; variable
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_buf_mgr.cpp53 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 …]
Dgr_buf_mgr.h121 Allocator *allocator_ = NULL; variable