Searched refs:sAllocator (Results 1 – 3 of 3) sorted by relevance
463 static std::shared_ptr<C2Allocator> sAllocator = []{ in CreateLinearBlock() local471 if (sAllocator == nullptr) in CreateLinearBlock()474 bool isValidHandle = sAllocator->checkHandle(handle); in CreateLinearBlock()478 c2_status_t err = sAllocator->priorLinearAllocation(handle, &alloc); in CreateLinearBlock()490 static std::shared_ptr<C2Allocator> sAllocator = []{ in CreateLinearBlock() local498 if (sAllocator == nullptr) in CreateLinearBlock()501 bool isValidHandle = sAllocator->checkHandle(cHandle); in CreateLinearBlock()505 c2_status_t err = sAllocator->priorLinearAllocation(cHandle, &alloc); in CreateLinearBlock()521 static std::shared_ptr<C2Allocator> sAllocator = []{ in CreateLinearBlock() local530 if (sAllocator == nullptr) in CreateLinearBlock()[all …]
125 static std::shared_ptr<C2AllocatorAhwb> sAllocator = std::make_shared<C2AllocatorAhwb>(0); in CreateGraphicBlock() local128 ahwb, std::static_pointer_cast<C2Allocator>(sAllocator), nullptr, &block); in CreateGraphicBlock()
132 static std::unique_ptr<C2AllocatorGralloc> sAllocator = std::make_unique<C2AllocatorGralloc>(0); in CreateGraphicBlock() local146 c2_status_t err = sAllocator->priorGraphicAllocation(handle, &alloc); in CreateGraphicBlock()