/external/skia/src/gpu/vk/ |
D | GrVkBuffer.cpp | 22 const GrVkBuffer::Resource* GrVkBuffer::Create(const GrVkGpu* gpu, const Desc& desc) { in Create() 73 const GrVkBuffer::Resource* resource = new GrVkBuffer::Resource(buffer, alloc, desc.fType); in Create() 83 void GrVkBuffer::addMemoryBarrier(const GrVkGpu* gpu, in addMemoryBarrier() 105 void GrVkBuffer::Resource::freeGPUData(const GrVkGpu* gpu) const { in freeGPUData() 112 void GrVkBuffer::vkRelease(const GrVkGpu* gpu) { in vkRelease() 123 void GrVkBuffer::vkAbandon() { in vkAbandon() 133 VkAccessFlags buffer_type_to_access_flags(GrVkBuffer::Type type) { in buffer_type_to_access_flags() 135 case GrVkBuffer::kIndex_Type: in buffer_type_to_access_flags() 137 case GrVkBuffer::kVertex_Type: in buffer_type_to_access_flags() 147 void GrVkBuffer::internalMap(GrVkGpu* gpu, size_t size, bool* createdNewBuffer) { in internalMap() [all …]
|
D | GrVkTransferBuffer.cpp | 13 GrVkTransferBuffer* GrVkTransferBuffer::Create(GrVkGpu* gpu, size_t size, GrVkBuffer::Type type) { in Create() 14 GrVkBuffer::Desc desc; in Create() 16 SkASSERT(GrVkBuffer::kCopyRead_Type == type || GrVkBuffer::kCopyWrite_Type == type); in Create() 20 const GrVkBuffer::Resource* bufferResource = GrVkBuffer::Create(gpu, desc); in Create() 32 GrVkTransferBuffer::GrVkTransferBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, in GrVkTransferBuffer() 33 const GrVkBuffer::Resource* bufferResource) in GrVkTransferBuffer() 38 , GrVkBuffer(desc, bufferResource) { in GrVkTransferBuffer()
|
D | GrVkUniformBuffer.h | 15 class GrVkUniformBuffer : public GrVkBuffer { 38 class Resource : public GrVkBuffer::Resource { 45 typedef GrVkBuffer::Resource INHERITED; 48 const GrVkBuffer::Resource* createResource(GrVkGpu* gpu, 49 const GrVkBuffer::Desc& descriptor) override; 51 GrVkUniformBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, in GrVkUniformBuffer() 55 typedef GrVkBuffer INHERITED;
|
D | GrVkVertexBuffer.cpp | 11 GrVkVertexBuffer::GrVkVertexBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, in GrVkVertexBuffer() 12 const GrVkBuffer::Resource* bufferResource) in GrVkVertexBuffer() 15 , GrVkBuffer(desc, bufferResource) { in GrVkVertexBuffer() 20 GrVkBuffer::Desc desc; in Create() 22 desc.fType = GrVkBuffer::kVertex_Type; in Create() 25 const GrVkBuffer::Resource* bufferResource = GrVkBuffer::Create(gpu, desc); in Create()
|
D | GrVkIndexBuffer.cpp | 11 GrVkIndexBuffer::GrVkIndexBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, in GrVkIndexBuffer() 12 const GrVkBuffer::Resource* bufferResource) in GrVkIndexBuffer() 15 , GrVkBuffer(desc, bufferResource) { in GrVkIndexBuffer() 20 GrVkBuffer::Desc desc; in Create() 22 desc.fType = GrVkBuffer::kIndex_Type; in Create() 25 const GrVkBuffer::Resource* bufferResource = GrVkBuffer::Create(gpu, desc); in Create()
|
D | GrVkTexelBuffer.cpp | 12 GrVkTexelBuffer::GrVkTexelBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, in GrVkTexelBuffer() 13 const GrVkBuffer::Resource* bufferResource) in GrVkTexelBuffer() 16 , GrVkBuffer(desc, bufferResource) { in GrVkTexelBuffer() 21 GrVkBuffer::Desc desc; in Create() 23 desc.fType = GrVkBuffer::kTexel_Type; in Create() 26 const GrVkBuffer::Resource* bufferResource = GrVkBuffer::Create(gpu, desc); in Create()
|
D | GrVkTransferBuffer.h | 16 class GrVkTransferBuffer : public GrBuffer, public GrVkBuffer { 19 static GrVkTransferBuffer* Create(GrVkGpu* gpu, size_t size, GrVkBuffer::Type type); 26 GrVkTransferBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, 27 const GrVkBuffer::Resource* resource);
|
D | GrVkUniformBuffer.cpp | 27 GrVkBuffer::Desc desc; in Create() 29 desc.fType = GrVkBuffer::kUniform_Type; in Create() 85 const GrVkBuffer::Resource* GrVkUniformBuffer::createResource(GrVkGpu* gpu, in createResource() 86 const GrVkBuffer::Desc& descriptor) { in createResource() 94 return (const GrVkBuffer::Resource*) vkResource; in createResource()
|
D | GrVkTexelBuffer.h | 16 class GrVkTexelBuffer : public GrBuffer, public GrVkBuffer { 25 GrVkTexelBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, 26 const GrVkBuffer::Resource* resource);
|
D | GrVkVertexBuffer.h | 16 class GrVkVertexBuffer : public GrBuffer, public GrVkBuffer { 25 GrVkVertexBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, 26 const GrVkBuffer::Resource* resource);
|
D | GrVkIndexBuffer.h | 16 class GrVkIndexBuffer : public GrBuffer, public GrVkBuffer { 26 GrVkIndexBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, 27 const GrVkBuffer::Resource* resource);
|
D | GrVkBuffer.h | 21 class GrVkBuffer : public SkNoncopyable { 23 virtual ~GrVkBuffer() { in ~GrVkBuffer() 84 GrVkBuffer(const Desc& desc, const GrVkBuffer::Resource* resource) in GrVkBuffer() function
|
D | GrVkMemory.cpp | 38 static GrVkGpu::Heap buffer_type_to_heap(GrVkBuffer::Type type) { in buffer_type_to_heap() 47 GR_STATIC_ASSERT(0 == GrVkBuffer::kVertex_Type); in buffer_type_to_heap() 48 GR_STATIC_ASSERT(1 == GrVkBuffer::kIndex_Type); in buffer_type_to_heap() 49 GR_STATIC_ASSERT(2 == GrVkBuffer::kUniform_Type); in buffer_type_to_heap() 50 GR_STATIC_ASSERT(3 == GrVkBuffer::kTexel_Type); in buffer_type_to_heap() 51 GR_STATIC_ASSERT(4 == GrVkBuffer::kCopyRead_Type); in buffer_type_to_heap() 52 GR_STATIC_ASSERT(5 == GrVkBuffer::kCopyWrite_Type); in buffer_type_to_heap() 59 GrVkBuffer::Type type, in AllocAndBindBufferMemory() 130 void GrVkMemory::FreeBufferMemory(const GrVkGpu* gpu, GrVkBuffer::Type type, in FreeBufferMemory()
|
/external/skqp/src/gpu/vk/ |
D | GrVkBuffer.cpp | 22 const GrVkBuffer::Resource* GrVkBuffer::Create(const GrVkGpu* gpu, const Desc& desc) { in Create() 73 const GrVkBuffer::Resource* resource = new GrVkBuffer::Resource(buffer, alloc, desc.fType); in Create() 83 void GrVkBuffer::addMemoryBarrier(const GrVkGpu* gpu, in addMemoryBarrier() 105 void GrVkBuffer::Resource::freeGPUData(const GrVkGpu* gpu) const { in freeGPUData() 112 void GrVkBuffer::vkRelease(const GrVkGpu* gpu) { in vkRelease() 123 void GrVkBuffer::vkAbandon() { in vkAbandon() 133 VkAccessFlags buffer_type_to_access_flags(GrVkBuffer::Type type) { in buffer_type_to_access_flags() 135 case GrVkBuffer::kIndex_Type: in buffer_type_to_access_flags() 137 case GrVkBuffer::kVertex_Type: in buffer_type_to_access_flags() 147 void GrVkBuffer::internalMap(GrVkGpu* gpu, size_t size, bool* createdNewBuffer) { in internalMap() [all …]
|
D | GrVkTransferBuffer.cpp | 13 GrVkTransferBuffer* GrVkTransferBuffer::Create(GrVkGpu* gpu, size_t size, GrVkBuffer::Type type) { in Create() 14 GrVkBuffer::Desc desc; in Create() 16 SkASSERT(GrVkBuffer::kCopyRead_Type == type || GrVkBuffer::kCopyWrite_Type == type); in Create() 20 const GrVkBuffer::Resource* bufferResource = GrVkBuffer::Create(gpu, desc); in Create() 32 GrVkTransferBuffer::GrVkTransferBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, in GrVkTransferBuffer() 33 const GrVkBuffer::Resource* bufferResource) in GrVkTransferBuffer() 38 , GrVkBuffer(desc, bufferResource) { in GrVkTransferBuffer()
|
D | GrVkUniformBuffer.h | 15 class GrVkUniformBuffer : public GrVkBuffer { 38 class Resource : public GrVkBuffer::Resource { 45 typedef GrVkBuffer::Resource INHERITED; 48 const GrVkBuffer::Resource* createResource(GrVkGpu* gpu, 49 const GrVkBuffer::Desc& descriptor) override; 51 GrVkUniformBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, in GrVkUniformBuffer() 55 typedef GrVkBuffer INHERITED;
|
D | GrVkVertexBuffer.cpp | 11 GrVkVertexBuffer::GrVkVertexBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, in GrVkVertexBuffer() 12 const GrVkBuffer::Resource* bufferResource) in GrVkVertexBuffer() 15 , GrVkBuffer(desc, bufferResource) { in GrVkVertexBuffer() 20 GrVkBuffer::Desc desc; in Create() 22 desc.fType = GrVkBuffer::kVertex_Type; in Create() 25 const GrVkBuffer::Resource* bufferResource = GrVkBuffer::Create(gpu, desc); in Create()
|
D | GrVkTexelBuffer.cpp | 12 GrVkTexelBuffer::GrVkTexelBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, in GrVkTexelBuffer() 13 const GrVkBuffer::Resource* bufferResource) in GrVkTexelBuffer() 16 , GrVkBuffer(desc, bufferResource) { in GrVkTexelBuffer() 21 GrVkBuffer::Desc desc; in Create() 23 desc.fType = GrVkBuffer::kTexel_Type; in Create() 26 const GrVkBuffer::Resource* bufferResource = GrVkBuffer::Create(gpu, desc); in Create()
|
D | GrVkIndexBuffer.cpp | 11 GrVkIndexBuffer::GrVkIndexBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, in GrVkIndexBuffer() 12 const GrVkBuffer::Resource* bufferResource) in GrVkIndexBuffer() 15 , GrVkBuffer(desc, bufferResource) { in GrVkIndexBuffer() 20 GrVkBuffer::Desc desc; in Create() 22 desc.fType = GrVkBuffer::kIndex_Type; in Create() 25 const GrVkBuffer::Resource* bufferResource = GrVkBuffer::Create(gpu, desc); in Create()
|
D | GrVkTransferBuffer.h | 16 class GrVkTransferBuffer : public GrBuffer, public GrVkBuffer { 19 static GrVkTransferBuffer* Create(GrVkGpu* gpu, size_t size, GrVkBuffer::Type type); 26 GrVkTransferBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, 27 const GrVkBuffer::Resource* resource);
|
D | GrVkUniformBuffer.cpp | 27 GrVkBuffer::Desc desc; in Create() 29 desc.fType = GrVkBuffer::kUniform_Type; in Create() 85 const GrVkBuffer::Resource* GrVkUniformBuffer::createResource(GrVkGpu* gpu, in createResource() 86 const GrVkBuffer::Desc& descriptor) { in createResource() 94 return (const GrVkBuffer::Resource*) vkResource; in createResource()
|
D | GrVkIndexBuffer.h | 16 class GrVkIndexBuffer : public GrBuffer, public GrVkBuffer { 26 GrVkIndexBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, 27 const GrVkBuffer::Resource* resource);
|
D | GrVkTexelBuffer.h | 16 class GrVkTexelBuffer : public GrBuffer, public GrVkBuffer { 25 GrVkTexelBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, 26 const GrVkBuffer::Resource* resource);
|
D | GrVkVertexBuffer.h | 16 class GrVkVertexBuffer : public GrBuffer, public GrVkBuffer { 25 GrVkVertexBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, 26 const GrVkBuffer::Resource* resource);
|
D | GrVkBuffer.h | 21 class GrVkBuffer : public SkNoncopyable { 23 virtual ~GrVkBuffer() { in ~GrVkBuffer() 84 GrVkBuffer(const Desc& desc, const GrVkBuffer::Resource* resource) in GrVkBuffer() function
|