/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() 106 void GrVkBuffer::Resource::freeGPUData(GrVkGpu* gpu) const { in freeGPUData() 113 void GrVkBuffer::vkRelease(const GrVkGpu* gpu) { in vkRelease() 124 void GrVkBuffer::vkAbandon() { in vkAbandon() 134 VkAccessFlags buffer_type_to_access_flags(GrVkBuffer::Type type) { in buffer_type_to_access_flags() 136 case GrVkBuffer::kIndex_Type: in buffer_type_to_access_flags() 138 case GrVkBuffer::kVertex_Type: in buffer_type_to_access_flags() 148 void GrVkBuffer::internalMap(GrVkGpu* gpu, size_t size, bool* createdNewBuffer) { in internalMap() [all …]
|
D | GrVkTransferBuffer.cpp | 13 GrVkBuffer::Type type) { in Make() 14 GrVkBuffer::Desc desc; in Make() 16 SkASSERT(GrVkBuffer::kCopyRead_Type == type || GrVkBuffer::kCopyWrite_Type == type); in Make() 20 const GrVkBuffer::Resource* bufferResource = GrVkBuffer::Create(gpu, desc); in Make() 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 | 16 class GrVkUniformBuffer : public GrVkBuffer { 39 class Resource : public GrVkBuffer::Resource { 46 typedef GrVkBuffer::Resource INHERITED; 49 const GrVkBuffer::Resource* createResource(GrVkGpu* gpu, 50 const GrVkBuffer::Desc& descriptor) override; 52 GrVkUniformBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, in GrVkUniformBuffer() 56 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 Make() 22 desc.fType = GrVkBuffer::kVertex_Type; in Make() 25 const GrVkBuffer::Resource* bufferResource = GrVkBuffer::Create(gpu, desc); in Make()
|
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 Make() 22 desc.fType = GrVkBuffer::kIndex_Type; in Make() 25 const GrVkBuffer::Resource* bufferResource = GrVkBuffer::Create(gpu, desc); in Make()
|
D | GrVkMemory.cpp | 17 static BufferUsage get_buffer_usage(GrVkBuffer::Type type, bool dynamic) { in get_buffer_usage() 19 case GrVkBuffer::kVertex_Type: // fall through in get_buffer_usage() 20 case GrVkBuffer::kIndex_Type: // fall through in get_buffer_usage() 21 case GrVkBuffer::kTexel_Type: in get_buffer_usage() 23 case GrVkBuffer::kUniform_Type: in get_buffer_usage() 26 case GrVkBuffer::kCopyRead_Type: // fall through in get_buffer_usage() 27 case GrVkBuffer::kCopyWrite_Type: in get_buffer_usage() 36 GrVkBuffer::Type type, in AllocAndBindBufferMemory() 77 void GrVkMemory::FreeBufferMemory(const GrVkGpu* gpu, GrVkBuffer::Type type, in FreeBufferMemory()
|
D | GrVkTransferBuffer.h | 17 class GrVkTransferBuffer : public GrGpuBuffer, public GrVkBuffer { 19 static sk_sp<GrVkTransferBuffer> Make(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 | GrVkVertexBuffer.h | 16 class GrVkVertexBuffer : public GrGpuBuffer, public GrVkBuffer { 25 GrVkVertexBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, 26 const GrVkBuffer::Resource* resource);
|
D | GrVkIndexBuffer.h | 16 class GrVkIndexBuffer : public GrGpuBuffer, public GrVkBuffer { 25 GrVkIndexBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, 26 const GrVkBuffer::Resource* resource);
|
D | GrVkBuffer.h | 20 class GrVkBuffer : public SkNoncopyable { 22 virtual ~GrVkBuffer() { in ~GrVkBuffer() 83 GrVkBuffer(const Desc& desc, const GrVkBuffer::Resource* resource) in GrVkBuffer() function
|
D | GrVkMemory.h | 24 GrVkBuffer::Type type, 27 void FreeBufferMemory(const GrVkGpu* gpu, GrVkBuffer::Type type, const GrVkAlloc& alloc);
|
D | GrVkCommandBuffer.h | 17 class GrVkBuffer; variable 284 GrVkBuffer* srcBuffer, 285 GrVkBuffer* dstBuffer, 290 GrVkBuffer* dstBuffer,
|
/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(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 GrVkBuffer::Type type) { in Make() 14 GrVkBuffer::Desc desc; in Make() 16 SkASSERT(GrVkBuffer::kCopyRead_Type == type || GrVkBuffer::kCopyWrite_Type == type); in Make() 20 const GrVkBuffer::Resource* bufferResource = GrVkBuffer::Create(gpu, desc); in Make() 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 | 16 class GrVkUniformBuffer : public GrVkBuffer { 39 class Resource : public GrVkBuffer::Resource { 46 typedef GrVkBuffer::Resource INHERITED; 49 const GrVkBuffer::Resource* createResource(GrVkGpu* gpu, 50 const GrVkBuffer::Desc& descriptor) override; 52 GrVkUniformBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, in GrVkUniformBuffer() 56 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 Make() 22 desc.fType = GrVkBuffer::kVertex_Type; in Make() 25 const GrVkBuffer::Resource* bufferResource = GrVkBuffer::Create(gpu, desc); in Make()
|
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 Make() 22 desc.fType = GrVkBuffer::kIndex_Type; in Make() 25 const GrVkBuffer::Resource* bufferResource = GrVkBuffer::Create(gpu, desc); in Make()
|
D | GrVkMemory.cpp | 17 static BufferUsage get_buffer_usage(GrVkBuffer::Type type, bool dynamic) { in get_buffer_usage() 19 case GrVkBuffer::kVertex_Type: // fall through in get_buffer_usage() 20 case GrVkBuffer::kIndex_Type: // fall through in get_buffer_usage() 21 case GrVkBuffer::kTexel_Type: in get_buffer_usage() 23 case GrVkBuffer::kUniform_Type: in get_buffer_usage() 26 case GrVkBuffer::kCopyRead_Type: // fall through in get_buffer_usage() 27 case GrVkBuffer::kCopyWrite_Type: in get_buffer_usage() 36 GrVkBuffer::Type type, in AllocAndBindBufferMemory() 77 void GrVkMemory::FreeBufferMemory(const GrVkGpu* gpu, GrVkBuffer::Type type, in FreeBufferMemory()
|
D | GrVkTransferBuffer.h | 17 class GrVkTransferBuffer : public GrBuffer, public GrVkBuffer { 20 static sk_sp<GrVkTransferBuffer> Make(GrVkGpu* gpu, size_t size, GrVkBuffer::Type type); 27 GrVkTransferBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, 28 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 | 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 | 20 class GrVkBuffer : public SkNoncopyable { 22 virtual ~GrVkBuffer() { in ~GrVkBuffer() 83 GrVkBuffer(const Desc& desc, const GrVkBuffer::Resource* resource) in GrVkBuffer() function
|
D | GrVkMemory.h | 24 GrVkBuffer::Type type, 27 void FreeBufferMemory(const GrVkGpu* gpu, GrVkBuffer::Type type, const GrVkAlloc& alloc);
|