Home
last modified time | relevance | path

Searched refs:AllocationPropertyFlags (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/include/gpu/vk/
DGrVkMemoryAllocator.h17 enum class AllocationPropertyFlags { enum
35 GR_DECL_BITFIELD_CLASS_OPS_FRIENDS(AllocationPropertyFlags);
56 virtual bool allocateMemoryForImage(VkImage, AllocationPropertyFlags, GrVkBackendMemory*) { in allocateMemoryForImage() argument
62 virtual VkResult allocateImageMemory(VkImage image, AllocationPropertyFlags flags, in allocateImageMemory()
73 virtual bool allocateMemoryForBuffer(VkBuffer, BufferUsage, AllocationPropertyFlags, in allocateMemoryForBuffer() argument
82 AllocationPropertyFlags flags, in allocateBufferMemory()
138 GR_MAKE_BITFIELD_CLASS_OPS(GrVkMemoryAllocator::AllocationPropertyFlags)
/third_party/skia/src/gpu/vk/
DGrVkMemory.cpp13 using AllocationPropertyFlags = GrVkMemoryAllocator::AllocationPropertyFlags; typedef
23 AllocationPropertyFlags propFlags; in AllocAndBindBufferMemory()
29 propFlags = AllocationPropertyFlags::kPersistentlyMapped; in AllocAndBindBufferMemory()
31 propFlags = AllocationPropertyFlags::kNone; in AllocAndBindBufferMemory()
68 AllocationPropertyFlags propFlags; in AllocAndBindImageMemory()
74 propFlags = AllocationPropertyFlags::kDedicatedAllocation; in AllocAndBindImageMemory()
76 propFlags = AllocationPropertyFlags::kNone; in AllocAndBindImageMemory()
80 propFlags |= AllocationPropertyFlags::kProtected; in AllocAndBindImageMemory()
84 propFlags |= AllocationPropertyFlags::kLazyAllocation; in AllocAndBindImageMemory()
DGrVkAMDMemoryAllocator.cpp105 VkResult GrVkAMDMemoryAllocator::allocateImageMemory(VkImage image, AllocationPropertyFlags flags, in allocateImageMemory()
117 if (AllocationPropertyFlags::kDedicatedAllocation & flags) { in allocateImageMemory()
121 if (AllocationPropertyFlags::kLazyAllocation & flags) { in allocateImageMemory()
125 if (AllocationPropertyFlags::kProtected & flags) { in allocateImageMemory()
138 AllocationPropertyFlags flags, in allocateBufferMemory()
185 if (AllocationPropertyFlags::kDedicatedAllocation & flags) { in allocateBufferMemory()
189 if ((AllocationPropertyFlags::kLazyAllocation & flags) && BufferUsage::kGpuOnly == usage) { in allocateBufferMemory()
193 if (AllocationPropertyFlags::kPersistentlyMapped & flags) { in allocateBufferMemory()
DGrVkAMDMemoryAllocator.h45 VkResult allocateImageMemory(VkImage image, AllocationPropertyFlags flags,
49 AllocationPropertyFlags flags, GrVkBackendMemory*) override;
/third_party/flutter/skia/include/gpu/vk/
DGrVkMemoryAllocator.h17 enum class AllocationPropertyFlags { enum
35 GR_DECL_BITFIELD_CLASS_OPS_FRIENDS(AllocationPropertyFlags);
53 virtual bool allocateMemoryForImage(VkImage image, AllocationPropertyFlags flags,
57 AllocationPropertyFlags flags, GrVkBackendMemory*) = 0;
88 GR_MAKE_BITFIELD_CLASS_OPS(GrVkMemoryAllocator::AllocationPropertyFlags)
/third_party/flutter/skia/src/gpu/vk/
DGrVkMemory.cpp14 using AllocationPropertyFlags = GrVkMemoryAllocator::AllocationPropertyFlags; typedef
43 AllocationPropertyFlags propFlags; in AllocAndBindBufferMemory()
54 propFlags = AllocationPropertyFlags::kPersistentlyMapped; in AllocAndBindBufferMemory()
56 propFlags = AllocationPropertyFlags::kNone; in AllocAndBindBufferMemory()
99 AllocationPropertyFlags propFlags; in AllocAndBindImageMemory()
101 propFlags = AllocationPropertyFlags::kProtected; in AllocAndBindImageMemory()
104 propFlags = AllocationPropertyFlags::kDedicatedAllocation; in AllocAndBindImageMemory()
106 propFlags = AllocationPropertyFlags::kNone; in AllocAndBindImageMemory()
DGrVkAMDMemoryAllocator.cpp67 bool GrVkAMDMemoryAllocator::allocateMemoryForImage(VkImage image, AllocationPropertyFlags flags, in allocateMemoryForImage()
80 if (AllocationPropertyFlags::kDedicatedAllocation & flags) { in allocateMemoryForImage()
84 if (AllocationPropertyFlags::kLazyAllocation & flags) { in allocateMemoryForImage()
88 if (AllocationPropertyFlags::kProtected & flags) { in allocateMemoryForImage()
102 AllocationPropertyFlags flags, in allocateMemoryForBuffer()
136 if (AllocationPropertyFlags::kDedicatedAllocation & flags) { in allocateMemoryForBuffer()
140 if ((AllocationPropertyFlags::kLazyAllocation & flags) && BufferUsage::kGpuOnly == usage) { in allocateMemoryForBuffer()
144 if (AllocationPropertyFlags::kPersistentlyMapped & flags) { in allocateMemoryForBuffer()
DGrVkAMDMemoryAllocator.h25 …bool allocateMemoryForImage(VkImage image, AllocationPropertyFlags flags, GrVkBackendMemory*) over…
28 AllocationPropertyFlags flags, GrVkBackendMemory*) override;