Searched refs:sAllocator (Results 1 – 2 of 2) sorted by relevance
399 static std::unique_ptr<C2Allocator> sAllocator = []{ in CreateLinearBlock() local410 if (sAllocator == nullptr) in CreateLinearBlock()414 if (sAllocator->getId() == android::C2PlatformAllocatorStore::BLOB) { in CreateLinearBlock()422 c2_status_t err = sAllocator->priorLinearAllocation(handle, &alloc); in CreateLinearBlock()434 static std::unique_ptr<C2Allocator> sAllocator = []{ in CreateLinearBlock() local445 if (sAllocator == nullptr) in CreateLinearBlock()449 if (sAllocator->getId() == android::C2PlatformAllocatorStore::BLOB) { in CreateLinearBlock()457 c2_status_t err = sAllocator->priorLinearAllocation(cHandle, &alloc); in CreateLinearBlock()1148 static std::unique_ptr<C2AllocatorGralloc> sAllocator = std::make_unique<C2AllocatorGralloc>(0); in CreateGraphicBlock() local1152 c2_status_t err = sAllocator->priorGraphicAllocation(cHandle, &alloc); in CreateGraphicBlock()
223 static std::unique_ptr<C2AllocatorGralloc> sAllocator = std::make_unique<C2AllocatorGralloc>(0); in CreateGraphicBlock() local237 c2_status_t err = sAllocator->priorGraphicAllocation(handle, &alloc); in CreateGraphicBlock()