Home
last modified time | relevance | path

Searched refs:GrVkAlloc (Results 1 – 25 of 35) sorted by relevance

12

/third_party/skia/src/gpu/vk/
DGrVkMemory.h26 GrVkAlloc* alloc);
27 void FreeBufferMemory(const GrVkGpu* gpu, const GrVkAlloc& alloc);
32 GrVkAlloc* alloc);
33 void FreeImageMemory(const GrVkGpu* gpu, const GrVkAlloc& alloc);
39 void* MapAlloc(GrVkGpu* gpu, const GrVkAlloc& alloc);
40 void UnmapAlloc(const GrVkGpu* gpu, const GrVkAlloc& alloc);
45 void FlushMappedAlloc(GrVkGpu* gpu, const GrVkAlloc& alloc, VkDeviceSize offset,
47 void InvalidateMappedAlloc(GrVkGpu* gpu, const GrVkAlloc& alloc, VkDeviceSize offset,
52 void GetNonCoherentMappedMemoryRange(const GrVkAlloc&, VkDeviceSize offset, VkDeviceSize size,
DGrVkMemory.cpp19 GrVkAlloc* alloc) { in AllocAndBindBufferMemory()
52 void GrVkMemory::FreeBufferMemory(const GrVkGpu* gpu, const GrVkAlloc& alloc) { in FreeBufferMemory()
61 GrVkAlloc* alloc) { in AllocAndBindImageMemory()
106 void GrVkMemory::FreeImageMemory(const GrVkGpu* gpu, const GrVkAlloc& alloc) { in FreeImageMemory()
112 void* GrVkMemory::MapAlloc(GrVkGpu* gpu, const GrVkAlloc& alloc) { in MapAlloc()
113 SkASSERT(GrVkAlloc::kMappable_Flag & alloc.fFlags); in MapAlloc()
124 void GrVkMemory::UnmapAlloc(const GrVkGpu* gpu, const GrVkAlloc& alloc) { in UnmapAlloc()
130 void GrVkMemory::GetNonCoherentMappedMemoryRange(const GrVkAlloc& alloc, VkDeviceSize offset, in GetNonCoherentMappedMemoryRange()
133 SkASSERT(alloc.fFlags & GrVkAlloc::kNoncoherent_Flag); in GetNonCoherentMappedMemoryRange()
153 void GrVkMemory::FlushMappedAlloc(GrVkGpu* gpu, const GrVkAlloc& alloc, VkDeviceSize offset, in FlushMappedAlloc()
[all …]
DGrVkBuffer.h42 const GrVkAlloc& alloc,
45 bool isVkMappable() const { return fAlloc.fFlags & GrVkAlloc::kMappable_Flag; } in isVkMappable()
65 GrVkAlloc fAlloc;
DGrVkImage.h71 const GrVkAlloc& alloc() const { in alloc()
277 Resource(const GrVkGpu* gpu, VkImage image, const GrVkAlloc& alloc, VkImageTiling tiling) in Resource()
299 GrVkAlloc fAlloc;
307 BorrowedResource(const GrVkGpu* gpu, VkImage image, const GrVkAlloc& alloc, in BorrowedResource()
DGrVkAMDMemoryAllocator.cpp214 GrVkAlloc* alloc) const { in getAllocInfo()
224 flags |= GrVkAlloc::kMappable_Flag; in getAllocInfo()
227 flags |= GrVkAlloc::kNoncoherent_Flag; in getAllocInfo()
230 flags |= GrVkAlloc::kLazilyAllocated_Flag; in getAllocInfo()
DGrVkImage.cpp221 info.fAlloc.fFlags & GrVkAlloc::kLazilyAllocated_Flag ? GrMemoryless::kYes in GrVkImage()
266 if (fInfo.fAlloc.fFlags & GrVkAlloc::kLazilyAllocated_Flag) { in init()
376 if (fInfo.fAlloc.fFlags & GrVkAlloc::kLazilyAllocated_Flag) { in setImageLayoutAndQueueIndex()
513 GrVkAlloc alloc; in InitImageInfo()
516 !SkToBool(alloc.fFlags & GrVkAlloc::kLazilyAllocated_Flag))) { in InitImageInfo()
DGrVkBuffer.cpp25 const GrVkAlloc& alloc, in GrVkBuffer()
72 GrVkAlloc alloc; in Make()
DGrVkAMDMemoryAllocator.h53 void getAllocInfo(const GrVkBackendMemory&, GrVkAlloc*) const override;
/third_party/flutter/skia/src/gpu/vk/
DGrVkMemory.h26 GrVkAlloc* alloc);
27 void FreeBufferMemory(const GrVkGpu* gpu, GrVkBuffer::Type type, const GrVkAlloc& alloc);
32 GrVkAlloc* alloc);
33 void FreeImageMemory(const GrVkGpu* gpu, bool linearTiling, const GrVkAlloc& alloc);
39 void* MapAlloc(const GrVkGpu* gpu, const GrVkAlloc& alloc);
40 void UnmapAlloc(const GrVkGpu* gpu, const GrVkAlloc& alloc);
45 void FlushMappedAlloc(const GrVkGpu* gpu, const GrVkAlloc& alloc, VkDeviceSize offset,
47 void InvalidateMappedAlloc(const GrVkGpu* gpu, const GrVkAlloc& alloc, VkDeviceSize offset,
52 void GetNonCoherentMappedMemoryRange(const GrVkAlloc&, VkDeviceSize offset, VkDeviceSize size,
DGrVkMemory.cpp37 GrVkAlloc* alloc) { in AllocAndBindBufferMemory()
77 const GrVkAlloc& alloc) { in FreeBufferMemory()
91 GrVkAlloc* alloc) { in AllocAndBindImageMemory()
126 const GrVkAlloc& alloc) { in FreeImageMemory()
135 void* GrVkMemory::MapAlloc(const GrVkGpu* gpu, const GrVkAlloc& alloc) { in MapAlloc()
136 SkASSERT(GrVkAlloc::kMappable_Flag & alloc.fFlags); in MapAlloc()
138 if (alloc.fFlags & GrVkAlloc::kNoncoherent_Flag) { in MapAlloc()
159 void GrVkMemory::UnmapAlloc(const GrVkGpu* gpu, const GrVkAlloc& alloc) { in UnmapAlloc()
168 void GrVkMemory::GetNonCoherentMappedMemoryRange(const GrVkAlloc& alloc, VkDeviceSize offset, in GetNonCoherentMappedMemoryRange()
171 SkASSERT(alloc.fFlags & GrVkAlloc::kNoncoherent_Flag); in GetNonCoherentMappedMemoryRange()
[all …]
DGrVkAMDMemoryAllocator.cpp173 GrVkAlloc* alloc) const { in getAllocInfo()
183 flags |= GrVkAlloc::kMappable_Flag; in getAllocInfo()
186 flags |= GrVkAlloc::kNoncoherent_Flag; in getAllocInfo()
232 GrVkAlloc info; in flushMappedMemory()
235 if (GrVkAlloc::kNoncoherent_Flag & info.fFlags) { in flushMappedMemory()
251 GrVkAlloc info; in invalidateMappedMemory()
254 if (GrVkAlloc::kNoncoherent_Flag & info.fFlags) { in invalidateMappedMemory()
DGrVkBuffer.h29 const GrVkAlloc& alloc() const { return fResource->fAlloc; } in alloc()
59 Resource(VkBuffer buf, const GrVkAlloc& alloc, Type type) in Resource()
68 GrVkAlloc fAlloc;
DGrVkImage.h51 const GrVkAlloc& alloc() const { in alloc()
177 Resource(VkImage image, const GrVkAlloc& alloc, VkImageTiling tiling) in Resource()
234 GrVkAlloc fAlloc;
246 BorrowedResource(VkImage image, const GrVkAlloc& alloc, VkImageTiling tiling) in BorrowedResource()
DGrVkBuffer.cpp25 GrVkAlloc alloc; in Create()
173 const GrVkAlloc& alloc = this->alloc(); in internalMap()
222 const GrVkAlloc& alloc = this->alloc(); in internalUnmap()
DGrVkAMDMemoryAllocator.h32 void getAllocInfo(const GrVkBackendMemory&, GrVkAlloc*) const override;
DGrVkUniformBuffer.h41 Resource(VkBuffer buf, const GrVkAlloc& alloc) in Resource()
DGrVkUniformBuffer.cpp48 GrVkAlloc alloc; in CreateResource()
DGrVkImage.cpp164 GrVkAlloc alloc; in InitImageInfo()
/third_party/flutter/skia/include/gpu/vk/
DGrVkTypes.h28 struct GrVkAlloc { struct
29 GrVkAlloc() in GrVkAlloc() argument
37 GrVkAlloc(VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size, uint32_t flags) in GrVkAlloc() function
56 bool operator==(const GrVkAlloc& that) const { argument
154 GrVkAlloc fAlloc;
175 GrVkAlloc alloc,
DGrVkMemoryAllocator.h60 virtual void getAllocInfo(const GrVkBackendMemory&, GrVkAlloc*) const = 0;
/third_party/skia/include/gpu/vk/
DGrVkTypes.h28 struct GrVkAlloc { struct
42 bool operator==(const GrVkAlloc& that) const { argument
101 GrVkAlloc fAlloc;
DGrVkMemoryAllocator.h94 virtual void getAllocInfo(const GrVkBackendMemory&, GrVkAlloc*) const = 0;
/third_party/flutter/skia/tests/
DVkWrapTests.cpp69 backendCopy.fAlloc = GrVkAlloc(); in wrap_tex_test()
120 backendCopy.fAlloc = GrVkAlloc(); in wrap_rt_test()
164 backendCopy.fAlloc = GrVkAlloc(); in wrap_trt_test()
/third_party/skia/tests/
DVkWrapTests.cpp71 backendCopy.fAlloc = GrVkAlloc(); in wrap_tex_test()
129 backendCopy.fAlloc = GrVkAlloc(); in wrap_rt_test()
174 backendCopy.fAlloc = GrVkAlloc(); in wrap_trt_test()
/third_party/skia/tools/gpu/vk/
DVkYcbcrSamplerHelper.cpp188 GrVkAlloc alloc; in createBackendTexture()

12