/aosp12/hardware/qcom/display/msm8998/libgralloc1/ |
H A D | gr_device_impl.cpp | 98 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() 398 status = dev->buf_mgr_->RetainBuffer(hnd); in RetainBuffer() 411 return dev->buf_mgr_->ReleaseBuffer(hnd); in ReleaseBuffer() 492 dev->buf_mgr_->GetFlexLayout(hnd, out_flex_layout); in LockFlex() 509 return dev->buf_mgr_->UnlockBuffer(hnd); in UnlockBuffer() [all …]
|
H A D | gr_device_impl.h | 136 BufferManager *buf_mgr_ = NULL; variable
|
/aosp12/hardware/qcom/sm7250/display/gralloc/ |
H A D | QtiAllocator.cpp | 69 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()
|
H A D | QtiMapper4.cpp | 55 buf_mgr_ = BufferManager::GetInstance(); in QtiMapper() 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() 378 if (static_cast<IMapper_4_0_Error>(buf_mgr_->IsBufferImported(hnd)) != Error::NONE) { in getReservedRegion() 382 buf_mgr_->GetReservedRegion(hnd, &reserved_region, &reserved_size)); in getReservedRegion() 393 if (static_cast<IMapper_4_0_Error>(buf_mgr_->GetMetadata( in DumpBufferMetadata() [all …]
|
H A D | QtiMapper.cpp | 50 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()
|
H A D | gr_device_impl.cpp | 149 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()
|
H A D | QtiAllocator.h | 73 BufferManager *buf_mgr_ = nullptr; 115 BufferManager *buf_mgr_ = nullptr;
|
H A D | gr_device_impl.h | 147 BufferManager *buf_mgr_ = NULL; variable
|
/aosp12/hardware/qcom/sm8150/display/gralloc/ |
H A D | QtiAllocator.cpp | 69 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()
|
H A D | QtiMapper4.cpp | 55 buf_mgr_ = BufferManager::GetInstance(); in QtiMapper() 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() 378 if (static_cast<IMapper_4_0_Error>(buf_mgr_->IsBufferImported(hnd)) != Error::NONE) { in getReservedRegion() 382 buf_mgr_->GetReservedRegion(hnd, &reserved_region, &reserved_size)); in getReservedRegion() 393 if (static_cast<IMapper_4_0_Error>(buf_mgr_->GetMetadata( in DumpBufferMetadata() [all …]
|
H A D | QtiMapper.cpp | 50 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()
|
H A D | gr_device_impl.cpp | 149 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()
|
H A D | QtiAllocator.h | 73 BufferManager *buf_mgr_ = nullptr; 115 BufferManager *buf_mgr_ = nullptr;
|
/aosp12/hardware/qcom/display/msm8909w_3100/libgralloc1/ |
H A D | gr_device_impl.cpp | 91 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() 397 status = dev->buf_mgr_->RetainBuffer(hnd); in RetainBuffer() 408 status = dev->buf_mgr_->ReleaseBuffer(hnd); in ReleaseBuffer() 494 dev->buf_mgr_->GetFlexLayout(hnd, out_flex_layout); in LockFlex() [all …]
|
H A D | gr_device_impl.h | 127 BufferManager *buf_mgr_ = NULL; variable
|
/aosp12/hardware/qcom/display/msm8909/gralloc/ |
H A D | gr_device_impl.cpp | 91 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() 397 status = dev->buf_mgr_->RetainBuffer(hnd); in RetainBuffer() 410 return dev->buf_mgr_->ReleaseBuffer(hnd); in ReleaseBuffer() 493 dev->buf_mgr_->GetFlexLayout(hnd, out_flex_layout); in LockFlex() [all …]
|
H A D | gr_device_impl.h | 127 BufferManager *buf_mgr_ = NULL; variable
|
/aosp12/hardware/qcom/display/msm8996/libgralloc1/ |
H A D | gr_device_impl.cpp | 92 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() 380 status = dev->buf_mgr_->RetainBuffer(hnd); in RetainBuffer() 391 status = dev->buf_mgr_->ReleaseBuffer(hnd); in ReleaseBuffer() 472 dev->buf_mgr_->GetFlexLayout(hnd, out_flex_layout); in LockFlex() 489 return dev->buf_mgr_->UnlockBuffer(hnd); in UnlockBuffer() [all …]
|
H A D | gr_device_impl.h | 136 BufferManager *buf_mgr_ = NULL; variable
|
/aosp12/hardware/qcom/sdm845/display/gralloc/ |
H A D | QtiAllocator.cpp | 50 buf_mgr_ = BufferManager::GetInstance(); in QtiAllocator() 56 buf_mgr_->Dump(&os); in dumpDebugInfo() 79 err = buf_mgr_->AllocateBuffer(desc, &buffer); in allocate() 95 buf_mgr_->ReleaseBuffer(PRIV_HANDLE_CONST(b.getNativeHandle())); in allocate()
|
H A D | QtiMapper.cpp | 49 buf_mgr_ = BufferManager::GetInstance(); in QtiMapper() 108 auto error = buf_mgr_->RetainBuffer(PRIV_HANDLE_CONST(buffer_handle)); in importBuffer() 127 return buf_mgr_->ReleaseBuffer(PRIV_HANDLE_CONST(buffer)); in freeBuffer() 172 return buf_mgr_->LockBuffer(hnd, usage); in LockBuffer() 218 err = buf_mgr_->UnlockBuffer(PRIV_HANDLE_CONST(buffer)); in unlock() 231 if (buf_mgr_->IsBufferImported(hnd) != Error::NONE) { in validateBufferSize() 238 err = buf_mgr_->ValidateBufferSize(hnd, info); in validateBufferSize() 249 buf_mgr_->IsBufferImported(hnd) == Error::NONE) { in getTransportSize() 256 num_fds, num_ints, buf_mgr_->IsBufferImported(hnd), err); in getTransportSize()
|
H A D | gr_device_impl.cpp | 149 buf_mgr_ = BufferManager::GetInstance(); in Init() 150 return buf_mgr_ != nullptr; in Init() 268 dev->buf_mgr_->Dump(&os); in Dump() 462 if (buf_mgr_->AllocateBuffer(*descriptor, &out_buffers[0]) != Error::NONE) { in AllocateBuffer() 495 status = ToError(dev->buf_mgr_->RetainBuffer(hnd)); in RetainBuffer() 508 return ToError(dev->buf_mgr_->ReleaseBuffer(hnd)); in ReleaseBuffer() 613 status = ToError(dev->buf_mgr_->LockBuffer( in LockBuffer() 660 return ToError(dev->buf_mgr_->UnlockBuffer(hnd)); in UnlockBuffer()
|
H A D | QtiAllocator.h | 70 BufferManager *buf_mgr_ = nullptr;
|
H A D | QtiMapper.h | 103 BufferManager *buf_mgr_ = nullptr;
|
H A D | gr_device_impl.h | 147 BufferManager *buf_mgr_ = NULL; variable
|