Searched refs:memoryAllocator (Results 1 – 10 of 10) sorted by relevance
20 GrVkMemoryAllocator* allocator = gpu->memoryAllocator(); in AllocAndBindBufferMemory()54 GrVkMemoryAllocator* allocator = gpu->memoryAllocator(); in FreeBufferMemory()63 GrVkMemoryAllocator* allocator = gpu->memoryAllocator(); in AllocAndBindImageMemory()106 GrVkMemoryAllocator* allocator = gpu->memoryAllocator(); in FreeImageMemory()113 GrVkMemoryAllocator* allocator = gpu->memoryAllocator(); in MapAlloc()124 GrVkMemoryAllocator* allocator = gpu->memoryAllocator(); in UnmapAlloc()157 GrVkMemoryAllocator* allocator = gpu->memoryAllocator(); in FlushMappedAlloc()169 GrVkMemoryAllocator* allocator = gpu->memoryAllocator(); in InvalidateMappedAlloc()
180 sk_sp<GrVkMemoryAllocator> memoryAllocator = backendContext.fMemoryAllocator; in Make() local181 if (!memoryAllocator) { in Make()183 memoryAllocator = GrVkAMDMemoryAllocator::Make(backendContext.fInstance, in Make()189 if (!memoryAllocator) { in Make()196 std::move(memoryAllocator))); in Make()209 sk_sp<GrVkMemoryAllocator> memoryAllocator) in GrVkGpu() argument212 , fMemoryAllocator(std::move(memoryAllocator)) in GrVkGpu()
62 GrVkMemoryAllocator* memoryAllocator() const { return fMemoryAllocator.get(); } in memoryAllocator() function
39 GrVkMemoryAllocator* allocator = gpu->memoryAllocator(); in AllocAndBindBufferMemory()80 GrVkMemoryAllocator* allocator = gpu->memoryAllocator(); in FreeBufferMemory()94 GrVkMemoryAllocator* allocator = gpu->memoryAllocator(); in AllocAndBindImageMemory()126 GrVkMemoryAllocator* allocator = gpu->memoryAllocator(); in FreeImageMemory()143 GrVkMemoryAllocator* allocator = gpu->memoryAllocator(); in MapAlloc()159 GrVkMemoryAllocator* allocator = gpu->memoryAllocator(); in UnmapAlloc()195 GrVkMemoryAllocator* allocator = gpu->memoryAllocator(); in FlushMappedAlloc()214 GrVkMemoryAllocator* allocator = gpu->memoryAllocator(); in InvalidateMappedAlloc()
53 GrVkMemoryAllocator* memoryAllocator() const { return fMemoryAllocator.get(); } in memoryAllocator() function
47 info->fResource = gpu->memoryAllocator()->createResource( in InitTextureResourceInfo()
58 gr_cp<ID3D12Resource> resource = gpu->memoryAllocator()->createResource( in make_d3d_buffer()
118 info.fResource = gpu->memoryAllocator()->createAliasingResource(info.fAlloc, 0, &desc, in MakeAliasingTexture()
44 sk_sp<GrD3DMemoryAllocator> memoryAllocator = backendContext.fMemoryAllocator; in Make() local45 if (!memoryAllocator) { in Make()47 memoryAllocator = GrD3DAMDMemoryAllocator::Make( in Make()50 if (!memoryAllocator) { in Make()55 return sk_sp<GrGpu>(new GrD3DGpu(direct, contextOptions, backendContext, memoryAllocator)); in Make()
45 GrD3DMemoryAllocator* memoryAllocator() const { return fMemoryAllocator.get(); } in memoryAllocator() function