Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/vk/
DGrVkMemory.h25 GrVkAlloc* alloc);
26 void FreeBufferMemory(const GrVkGpu* gpu, const GrVkAlloc& alloc);
31 GrVkAlloc* alloc);
32 void FreeImageMemory(const GrVkGpu* gpu, bool linearTiling, const GrVkAlloc& alloc);
38 void* MapAlloc(GrVkGpu* gpu, const GrVkAlloc& alloc);
39 void UnmapAlloc(const GrVkGpu* gpu, const GrVkAlloc& alloc);
44 void FlushMappedAlloc(GrVkGpu* gpu, const GrVkAlloc& alloc, VkDeviceSize offset,
46 void InvalidateMappedAlloc(GrVkGpu* gpu, const GrVkAlloc& alloc, VkDeviceSize offset,
51 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()
104 const GrVkAlloc& alloc) { in FreeImageMemory()
110 void* GrVkMemory::MapAlloc(GrVkGpu* gpu, const GrVkAlloc& alloc) { in MapAlloc()
111 SkASSERT(GrVkAlloc::kMappable_Flag & alloc.fFlags); in MapAlloc()
122 void GrVkMemory::UnmapAlloc(const GrVkGpu* gpu, const GrVkAlloc& alloc) { in UnmapAlloc()
128 void GrVkMemory::GetNonCoherentMappedMemoryRange(const GrVkAlloc& alloc, VkDeviceSize offset, in GetNonCoherentMappedMemoryRange()
131 SkASSERT(alloc.fFlags & GrVkAlloc::kNoncoherent_Flag); in GetNonCoherentMappedMemoryRange()
151 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.h42 const GrVkAlloc& alloc() const { in alloc()
186 Resource(const GrVkGpu* gpu, VkImage image, const GrVkAlloc& alloc, VkImageTiling tiling) in Resource()
209 GrVkAlloc fAlloc;
218 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()
DGrVkAMDMemoryAllocator.h53 void getAllocInfo(const GrVkBackendMemory&, GrVkAlloc*) const override;
DGrVkBuffer.cpp25 const GrVkAlloc& alloc, in GrVkBuffer()
72 GrVkAlloc alloc; in Make()
DGrVkImage.cpp217 GrVkAlloc alloc; in InitImageInfo()
/external/skqp/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.cpp38 GrVkAlloc* alloc) { in AllocAndBindBufferMemory()
78 const GrVkAlloc& alloc) { in FreeBufferMemory()
92 GrVkAlloc* alloc) { in AllocAndBindImageMemory()
124 const GrVkAlloc& alloc) { in FreeImageMemory()
133 void* GrVkMemory::MapAlloc(const GrVkGpu* gpu, const GrVkAlloc& alloc) { in MapAlloc()
134 SkASSERT(GrVkAlloc::kMappable_Flag & alloc.fFlags); in MapAlloc()
136 if (alloc.fFlags & GrVkAlloc::kNoncoherent_Flag) { in MapAlloc()
157 void GrVkMemory::UnmapAlloc(const GrVkGpu* gpu, const GrVkAlloc& alloc) { in UnmapAlloc()
166 void GrVkMemory::GetNonCoherentMappedMemoryRange(const GrVkAlloc& alloc, VkDeviceSize offset, in GetNonCoherentMappedMemoryRange()
169 SkASSERT(alloc.fFlags & GrVkAlloc::kNoncoherent_Flag); in GetNonCoherentMappedMemoryRange()
[all …]
DGrVkAMDMemoryAllocator.cpp161 GrVkAlloc* alloc) const { in getAllocInfo()
171 flags |= GrVkAlloc::kMappable_Flag; in getAllocInfo()
174 flags |= GrVkAlloc::kNoncoherent_Flag; in getAllocInfo()
217 GrVkAlloc info; in flushMappedMemory()
220 if (GrVkAlloc::kNoncoherent_Flag & info.fFlags) { in flushMappedMemory()
235 GrVkAlloc info; in invalidateMappedMemory()
238 if (GrVkAlloc::kNoncoherent_Flag & info.fFlags) { in invalidateMappedMemory()
DGrVkImage.h50 const GrVkAlloc& alloc() const { in alloc()
158 Resource(VkImage image, const GrVkAlloc& alloc, VkImageTiling tiling) in Resource()
203 GrVkAlloc fAlloc;
216 BorrowedResource(VkImage image, const GrVkAlloc& alloc, VkImageTiling tiling) in BorrowedResource()
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;
DGrVkBuffer.cpp24 GrVkAlloc alloc; in Create()
171 const GrVkAlloc& alloc = this->alloc(); in internalMap()
191 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.cpp155 GrVkAlloc alloc; in InitImageInfo()
/external/skqp/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
132 GrVkAlloc fAlloc;
150 GrVkImageInfo(VkImage image, GrVkAlloc alloc, VkImageTiling imageTiling, VkImageLayout layout,
DGrVkMemoryAllocator.h58 virtual void getAllocInfo(const GrVkBackendMemory&, GrVkAlloc*) const = 0;
/external/skia/include/gpu/vk/
DGrVkTypes.h28 struct GrVkAlloc { struct
41 bool operator==(const GrVkAlloc& that) const { argument
100 GrVkAlloc fAlloc;
DGrVkMemoryAllocator.h94 virtual void getAllocInfo(const GrVkBackendMemory&, GrVkAlloc*) const = 0;
/external/skqp/tests/
DVkWrapTests.cpp66 backendCopy.fAlloc = GrVkAlloc(); in wrap_tex_test()
118 backendCopy.fAlloc = GrVkAlloc(); in wrap_rt_test()
161 backendCopy.fAlloc = GrVkAlloc(); in wrap_trt_test()
/external/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()
/external/skia/tools/gpu/vk/
DVkYcbcrSamplerHelper.cpp188 GrVkAlloc alloc; in createBackendTexture()

12