Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_allocator.cpp78 Allocator::Allocator() : ion_allocator_(NULL) { in Allocator()
82 ion_allocator_ = new IonAlloc(); in Init()
83 if (!ion_allocator_->Init()) { in Init()
91 if (ion_allocator_) { in ~Allocator()
92 delete ion_allocator_; in ~Allocator()
105 ret = ion_allocator_->AllocBuffer(alloc_data); in AllocateMem()
117 if (ion_allocator_) { in MapBuffer()
118 return ion_allocator_->MapBuffer(base, size, offset, fd); in MapBuffer()
125 if (ion_allocator_) { in ImportBuffer()
126 return ion_allocator_->ImportBuffer(fd); in ImportBuffer()
[all …]
Dgr_allocator.h70 IonAlloc *ion_allocator_ = NULL; variable
/hardware/qcom/display/msm8909/gralloc/
Dgr_allocator.cpp78 Allocator::Allocator() : ion_allocator_(NULL) { in Allocator()
82 ion_allocator_ = new IonAlloc(); in Init()
83 if (!ion_allocator_->Init()) { in Init()
91 if (ion_allocator_) { in ~Allocator()
92 delete ion_allocator_; in ~Allocator()
105 ret = ion_allocator_->AllocBuffer(alloc_data); in AllocateMem()
117 if (ion_allocator_) { in MapBuffer()
118 return ion_allocator_->MapBuffer(base, size, offset, fd); in MapBuffer()
125 if (ion_allocator_) { in ImportBuffer()
126 return ion_allocator_->ImportBuffer(fd); in ImportBuffer()
[all …]
Dgr_allocator.h70 IonAlloc *ion_allocator_ = NULL; variable
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_allocator.cpp77 Allocator::Allocator() : ion_allocator_(NULL), adreno_helper_(NULL) { in Allocator()
81 ion_allocator_ = new IonAlloc(); in Init()
82 if (!ion_allocator_->Init()) { in Init()
95 if (ion_allocator_) { in ~Allocator()
96 delete ion_allocator_; in ~Allocator()
113 ret = ion_allocator_->AllocBuffer(alloc_data); in AllocateMem()
125 if (ion_allocator_) { in MapBuffer()
126 return ion_allocator_->MapBuffer(base, size, offset, fd); in MapBuffer()
133 if (ion_allocator_) { in ImportBuffer()
134 return ion_allocator_->ImportBuffer(fd); in ImportBuffer()
[all …]
Dgr_allocator.h94 IonAlloc *ion_allocator_ = NULL; variable
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_allocator.cpp80 Allocator::Allocator() : ion_allocator_(NULL), adreno_helper_(NULL) { in Allocator()
84 ion_allocator_ = new IonAlloc(); in Init()
85 if (!ion_allocator_->Init()) { in Init()
96 if (ion_allocator_) { in ~Allocator()
97 delete ion_allocator_; in ~Allocator()
114 ret = ion_allocator_->AllocBuffer(alloc_data); in AllocateMem()
126 if (ion_allocator_) { in MapBuffer()
127 return ion_allocator_->MapBuffer(base, size, offset, fd); in MapBuffer()
134 if (ion_allocator_) { in ImportBuffer()
135 return ion_allocator_->ImportBuffer(fd); in ImportBuffer()
[all …]
Dgr_allocator.h94 IonAlloc *ion_allocator_ = NULL; variable