Searched refs:allocator (Results 1 – 3 of 3) sorted by relevance
36 auto allocator = factory->GetBufferAllocator(source); in GetBufferAllocator() local37 if (allocator == nullptr) { in GetBufferAllocator()42 if (allocator->Init() != RC_OK) { in GetBufferAllocator()46 return allocator; in GetBufferAllocator()66 auto allocator = GetBufferAllocator(source); in AllocBuffer() local67 CHECK_IF_PTR_NULL_RETURN_VALUE(allocator, nullptr); in AllocBuffer()69 return allocator->AllocBuffer(width, height, usage, format); in AllocBuffer()74 auto allocator = GetAllocator(buffer); in FreeBuffer() local75 CHECK_IF_PTR_NULL_RETURN_VALUE(allocator, RC_ERROR); in FreeBuffer()76 return allocator->FreeBuffer(buffer); in FreeBuffer()[all …]
46 std::shared_ptr<IBufferAllocator> allocator(allocatorRegisterMap_[type]()); in CreateBufferAllocator() local47 bufferAllocatorMap_[type] = allocator; in CreateBufferAllocator()48 return allocator; in CreateBufferAllocator()
25 "src/display_gralloc/allocator.cpp",