Home
last modified time | relevance | path

Searched refs:buf_mgr_ (Results 1 – 24 of 24) sorted by relevance

/hardware/qcom/sm7250/display/gralloc/
DQtiAllocator.cpp69 buf_mgr_ = BufferManager::GetInstance(); in QtiAllocator()
70 buf_mgr_->SetGrallocDebugProperties(properties); in QtiAllocator()
76 buf_mgr_->Dump(&os); in dumpDebugInfo()
100 err = buf_mgr_->AllocateBuffer(desc, &buffer); in allocate()
116 buf_mgr_->ReleaseBuffer(PRIV_HANDLE_CONST(b.getNativeHandle())); in allocate()
146 buf_mgr_ = BufferManager::GetInstance(); in QtiAllocator()
147 buf_mgr_->SetGrallocDebugProperties(properties); in QtiAllocator()
167 err = buf_mgr_->AllocateBuffer(desc, &buffer); in allocate()
183 buf_mgr_->ReleaseBuffer(PRIV_HANDLE_CONST(b.getNativeHandle())); in allocate()
DQtiMapper4.cpp55 buf_mgr_ = BufferManager::GetInstance(); in QtiMapper()
117 static_cast<IMapper_4_0_Error>(buf_mgr_->RetainBuffer(PRIV_HANDLE_CONST(buffer_handle))); in importBuffer()
136 return static_cast<IMapper_4_0_Error>(buf_mgr_->ReleaseBuffer(PRIV_HANDLE_CONST(buffer))); in freeBuffer()
187 return static_cast<IMapper_4_0_Error>(buf_mgr_->LockBuffer(hnd, usage)); in LockBuffer()
208 err = static_cast<IMapper_4_0_Error>(buf_mgr_->UnlockBuffer(PRIV_HANDLE_CONST(buffer))); in unlock()
221 if (static_cast<IMapper_4_0_Error>(buf_mgr_->IsBufferImported(hnd)) != Error::NONE) { in validateBufferSize()
228 err = static_cast<IMapper_4_0_Error>(buf_mgr_->ValidateBufferSize(hnd, info)); in validateBufferSize()
238 if (static_cast<IMapper_4_0_Error>(buf_mgr_->IsBufferImported(hnd)) != Error::NONE) { in getTransportSize()
262 err = static_cast<IMapper_4_0_Error>(buf_mgr_->GetMetadata(hnd, metadataType.value, &metadata)); in get()
273 err = static_cast<IMapper_4_0_Error>(buf_mgr_->SetMetadata(hnd, metadataType.value, metadata)); in set()
[all …]
DQtiMapper.cpp50 buf_mgr_ = BufferManager::GetInstance(); in QtiMapper()
110 static_cast<IMapper_3_0_Error>(buf_mgr_->RetainBuffer(PRIV_HANDLE_CONST(buffer_handle))); in importBuffer()
129 return static_cast<IMapper_3_0_Error>(buf_mgr_->ReleaseBuffer(PRIV_HANDLE_CONST(buffer))); in freeBuffer()
174 return static_cast<IMapper_3_0_Error>(buf_mgr_->LockBuffer(hnd, usage)); in LockBuffer()
221 err = static_cast<IMapper_3_0_Error>(buf_mgr_->UnlockBuffer(PRIV_HANDLE_CONST(buffer))); in unlock()
234 if (static_cast<IMapper_3_0_Error>(buf_mgr_->IsBufferImported(hnd)) != Error::NONE) { in validateBufferSize()
241 err = static_cast<IMapper_3_0_Error>(buf_mgr_->ValidateBufferSize(hnd, info)); in validateBufferSize()
251 if (static_cast<IMapper_3_0_Error>(buf_mgr_->IsBufferImported(hnd)) != Error::NONE) { in getTransportSize()
282 err = static_cast<IMapper_3_0_Error>(buf_mgr_->AllocateBuffer(desc, &buffer, 0, true)); in isSupported()
DQtiAllocator.h73 BufferManager *buf_mgr_ = nullptr;
115 BufferManager *buf_mgr_ = nullptr;
Dgr_device_impl.cpp149 buf_mgr_ = BufferManager::GetInstance(); in Init()
150 return buf_mgr_ != nullptr; in Init()
268 dev->buf_mgr_->Dump(&os); in Dump()
484 if (buf_mgr_->AllocateBuffer(*descriptor, &out_buffers[0]) != Error::NONE) { in AllocateBuffer()
517 status = ToError(dev->buf_mgr_->RetainBuffer(hnd)); in RetainBuffer()
530 return static_cast<int32_t>((ToError(dev->buf_mgr_->ReleaseBuffer(hnd)))); in ReleaseBuffer()
635 status = ToError(dev->buf_mgr_->LockBuffer( in LockBuffer()
682 return static_cast<int32_t>(ToError(dev->buf_mgr_->UnlockBuffer(hnd))); in UnlockBuffer()
Dgr_device_impl.h147 BufferManager *buf_mgr_ = NULL; variable
DQtiMapper.h128 BufferManager *buf_mgr_ = nullptr;
DQtiMapper4.h217 BufferManager *buf_mgr_ = nullptr;
/hardware/qcom/sm8150/display/gralloc/
DQtiAllocator.cpp69 buf_mgr_ = BufferManager::GetInstance(); in QtiAllocator()
70 buf_mgr_->SetGrallocDebugProperties(properties); in QtiAllocator()
76 buf_mgr_->Dump(&os); in dumpDebugInfo()
100 err = buf_mgr_->AllocateBuffer(desc, &buffer); in allocate()
116 buf_mgr_->ReleaseBuffer(PRIV_HANDLE_CONST(b.getNativeHandle())); in allocate()
146 buf_mgr_ = BufferManager::GetInstance(); in QtiAllocator()
147 buf_mgr_->SetGrallocDebugProperties(properties); in QtiAllocator()
167 err = buf_mgr_->AllocateBuffer(desc, &buffer); in allocate()
183 buf_mgr_->ReleaseBuffer(PRIV_HANDLE_CONST(b.getNativeHandle())); in allocate()
DQtiMapper4.cpp55 buf_mgr_ = BufferManager::GetInstance(); in QtiMapper()
117 static_cast<IMapper_4_0_Error>(buf_mgr_->RetainBuffer(PRIV_HANDLE_CONST(buffer_handle))); in importBuffer()
136 return static_cast<IMapper_4_0_Error>(buf_mgr_->ReleaseBuffer(PRIV_HANDLE_CONST(buffer))); in freeBuffer()
187 return static_cast<IMapper_4_0_Error>(buf_mgr_->LockBuffer(hnd, usage)); in LockBuffer()
208 err = static_cast<IMapper_4_0_Error>(buf_mgr_->UnlockBuffer(PRIV_HANDLE_CONST(buffer))); in unlock()
221 if (static_cast<IMapper_4_0_Error>(buf_mgr_->IsBufferImported(hnd)) != Error::NONE) { in validateBufferSize()
228 err = static_cast<IMapper_4_0_Error>(buf_mgr_->ValidateBufferSize(hnd, info)); in validateBufferSize()
238 if (static_cast<IMapper_4_0_Error>(buf_mgr_->IsBufferImported(hnd)) != Error::NONE) { in getTransportSize()
262 err = static_cast<IMapper_4_0_Error>(buf_mgr_->GetMetadata(hnd, metadataType.value, &metadata)); in get()
273 err = static_cast<IMapper_4_0_Error>(buf_mgr_->SetMetadata(hnd, metadataType.value, metadata)); in set()
[all …]
DQtiMapper.cpp50 buf_mgr_ = BufferManager::GetInstance(); in QtiMapper()
110 static_cast<IMapper_3_0_Error>(buf_mgr_->RetainBuffer(PRIV_HANDLE_CONST(buffer_handle))); in importBuffer()
129 return static_cast<IMapper_3_0_Error>(buf_mgr_->ReleaseBuffer(PRIV_HANDLE_CONST(buffer))); in freeBuffer()
174 return static_cast<IMapper_3_0_Error>(buf_mgr_->LockBuffer(hnd, usage)); in LockBuffer()
221 err = static_cast<IMapper_3_0_Error>(buf_mgr_->UnlockBuffer(PRIV_HANDLE_CONST(buffer))); in unlock()
234 if (static_cast<IMapper_3_0_Error>(buf_mgr_->IsBufferImported(hnd)) != Error::NONE) { in validateBufferSize()
241 err = static_cast<IMapper_3_0_Error>(buf_mgr_->ValidateBufferSize(hnd, info)); in validateBufferSize()
251 if (static_cast<IMapper_3_0_Error>(buf_mgr_->IsBufferImported(hnd)) != Error::NONE) { in getTransportSize()
282 err = static_cast<IMapper_3_0_Error>(buf_mgr_->AllocateBuffer(desc, &buffer, 0, true)); in isSupported()
DQtiAllocator.h73 BufferManager *buf_mgr_ = nullptr;
115 BufferManager *buf_mgr_ = nullptr;
Dgr_device_impl.cpp149 buf_mgr_ = BufferManager::GetInstance(); in Init()
150 return buf_mgr_ != nullptr; in Init()
268 dev->buf_mgr_->Dump(&os); in Dump()
481 if (buf_mgr_->AllocateBuffer(*descriptor, &out_buffers[0]) != Error::NONE) { in AllocateBuffer()
514 status = ToError(dev->buf_mgr_->RetainBuffer(hnd)); in RetainBuffer()
527 return ToError(dev->buf_mgr_->ReleaseBuffer(hnd)); in ReleaseBuffer()
632 status = ToError(dev->buf_mgr_->LockBuffer( in LockBuffer()
679 return ToError(dev->buf_mgr_->UnlockBuffer(hnd)); in UnlockBuffer()
Dgr_device_impl.h147 BufferManager *buf_mgr_ = NULL; variable
DQtiMapper.h128 BufferManager *buf_mgr_ = nullptr;
DQtiMapper4.h218 BufferManager *buf_mgr_ = nullptr;
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_device_impl.cpp98 buf_mgr_ = BufferManager::GetInstance(); in Init()
99 return buf_mgr_ != nullptr; in Init()
204 dev->buf_mgr_->Dump(&os); in Dump()
230 return dev->buf_mgr_->CreateBufferDescriptor(out_descriptor); in CreateBufferDescriptor()
239 return dev->buf_mgr_->DestroyBufferDescriptor(descriptor); in DestroyBufferDescriptor()
249 return dev->buf_mgr_->CallBufferDescriptorFunction(descriptor, in SetConsumerUsage()
261 return dev->buf_mgr_->CallBufferDescriptorFunction(descriptor, in SetBufferDimensions()
274 return dev->buf_mgr_->CallBufferDescriptorFunction(descriptor, in SetColorFormat()
286 return dev->buf_mgr_->CallBufferDescriptorFunction(descriptor, in SetLayerCount()
299 return dev->buf_mgr_->CallBufferDescriptorFunction(descriptor, in SetProducerUsage()
[all …]
Dgr_device_impl.h136 BufferManager *buf_mgr_ = NULL; variable
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_device_impl.cpp91 buf_mgr_ = BufferManager::GetInstance(); in Init()
92 return buf_mgr_ != nullptr; in Init()
191 dev->buf_mgr_->Dump(&os); in Dump()
217 return dev->buf_mgr_->CreateBufferDescriptor(out_descriptor); in CreateBufferDescriptor()
226 return dev->buf_mgr_->DestroyBufferDescriptor(descriptor); in DestroyBufferDescriptor()
236 return dev->buf_mgr_->CallBufferDescriptorFunction(descriptor, in SetConsumerUsage()
248 return dev->buf_mgr_->CallBufferDescriptorFunction(descriptor, in SetBufferDimensions()
261 return dev->buf_mgr_->CallBufferDescriptorFunction(descriptor, in SetColorFormat()
273 return dev->buf_mgr_->CallBufferDescriptorFunction(descriptor, in SetLayerCount()
286 return dev->buf_mgr_->CallBufferDescriptorFunction(descriptor, in SetProducerUsage()
[all …]
Dgr_device_impl.h127 BufferManager *buf_mgr_ = NULL; variable
/hardware/qcom/display/msm8909/gralloc/
Dgr_device_impl.cpp91 buf_mgr_ = BufferManager::GetInstance(); in Init()
92 return buf_mgr_ != nullptr; in Init()
191 dev->buf_mgr_->Dump(&os); in Dump()
217 return dev->buf_mgr_->CreateBufferDescriptor(out_descriptor); in CreateBufferDescriptor()
226 return dev->buf_mgr_->DestroyBufferDescriptor(descriptor); in DestroyBufferDescriptor()
236 return dev->buf_mgr_->CallBufferDescriptorFunction(descriptor, in SetConsumerUsage()
248 return dev->buf_mgr_->CallBufferDescriptorFunction(descriptor, in SetBufferDimensions()
261 return dev->buf_mgr_->CallBufferDescriptorFunction(descriptor, in SetColorFormat()
273 return dev->buf_mgr_->CallBufferDescriptorFunction(descriptor, in SetLayerCount()
286 return dev->buf_mgr_->CallBufferDescriptorFunction(descriptor, in SetProducerUsage()
[all …]
Dgr_device_impl.h127 BufferManager *buf_mgr_ = NULL; variable
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_device_impl.cpp92 buf_mgr_ = BufferManager::GetInstance(); in Init()
93 return buf_mgr_ != nullptr; in Init()
212 return dev->buf_mgr_->CreateBufferDescriptor(out_descriptor); in CreateBufferDescriptor()
221 return dev->buf_mgr_->DestroyBufferDescriptor(descriptor); in DestroyBufferDescriptor()
231 return dev->buf_mgr_->CallBufferDescriptorFunction(descriptor, in SetConsumerUsage()
243 return dev->buf_mgr_->CallBufferDescriptorFunction(descriptor, in SetBufferDimensions()
256 return dev->buf_mgr_->CallBufferDescriptorFunction(descriptor, in SetColorFormat()
268 return dev->buf_mgr_->CallBufferDescriptorFunction(descriptor, in SetLayerCount()
281 return dev->buf_mgr_->CallBufferDescriptorFunction(descriptor, in SetProducerUsage()
369 gralloc1_error_t status = dev->buf_mgr_->AllocateBuffers(num_descriptors, descriptors, in AllocateBuffers()
[all …]
Dgr_device_impl.h136 BufferManager *buf_mgr_ = NULL; variable