/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 | 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 | 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 | 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);
|
D | GrVkCommandBuffer.h | 17 class GrVkBuffer; variable 283 GrVkBuffer* srcBuffer, 284 GrVkBuffer* dstBuffer, 289 GrVkBuffer* dstBuffer,
|
D | GrVkGpu.h | 162 void copyBuffer(GrVkBuffer* srcBuffer, GrVkBuffer* dstBuffer, VkDeviceSize srcOffset, 164 bool updateBuffer(GrVkBuffer* buffer, const void* src, VkDeviceSize offset, VkDeviceSize size);
|
D | GrVkGpu.cpp | 363 buff = GrVkTransferBuffer::Make(this, size, GrVkBuffer::kCopyRead_Type); in onCreateBuffer() 368 buff = GrVkTransferBuffer::Make(this, size, GrVkBuffer::kCopyWrite_Type); in onCreateBuffer() 676 GrVkTransferBuffer::Make(this, combinedBufferSize, GrVkBuffer::kCopyRead_Type); in uploadTexDataOptimal() 853 GrVkTransferBuffer::Make(this, combinedBufferSize, GrVkBuffer::kCopyRead_Type); in uploadTexDataCompressed() 1016 void GrVkGpu::copyBuffer(GrVkBuffer* srcBuffer, GrVkBuffer* dstBuffer, VkDeviceSize srcOffset, in copyBuffer() 1025 bool GrVkGpu::updateBuffer(GrVkBuffer* buffer, const void* src, in updateBuffer() 1503 if (!GrVkMemory::AllocAndBindBufferMemory(this, buffer, GrVkBuffer::kCopyRead_Type, true, in createTestingOnlyVkImage() 1532 GrVkMemory::FreeBufferMemory(this, GrVkBuffer::kCopyRead_Type, bufferAlloc); in createTestingOnlyVkImage() 1637 GrVkMemory::FreeBufferMemory(this, GrVkBuffer::kCopyRead_Type, bufferAlloc); in createTestingOnlyVkImage() 1648 GrVkMemory::FreeBufferMemory(this, GrVkBuffer::kCopyRead_Type, bufferAlloc); in createTestingOnlyVkImage()
|
D | GrVkCommandBuffer.cpp | 721 GrVkBuffer* srcBuffer, in copyBuffer() 722 GrVkBuffer* dstBuffer, in copyBuffer() 747 GrVkBuffer* dstBuffer, in updateBuffer()
|
/external/skia/src/gpu/vk/ |
D | GrVkBuffer.cpp | 20 GrVkBuffer::GrVkBuffer(GrVkGpu* gpu, in GrVkBuffer() function in GrVkBuffer 67 sk_sp<GrVkBuffer> GrVkBuffer::Make(GrVkGpu* gpu, in Make() 151 return sk_sp<GrVkBuffer>(new GrVkBuffer(gpu, size, bufferType, accessPattern, buffer, alloc, in Make() 155 void GrVkBuffer::vkMap(size_t size) { in vkMap() 172 void GrVkBuffer::vkUnmap(size_t size) { in vkUnmap() 196 void GrVkBuffer::copyCpuDataToGpuBuffer(const void* src, size_t size) { in copyCpuDataToGpuBuffer() 227 void GrVkBuffer::addMemoryBarrier(VkAccessFlags srcAccessMask, in addMemoryBarrier() 249 void GrVkBuffer::vkRelease() { in vkRelease() 274 void GrVkBuffer::onRelease() { in onRelease() 279 void GrVkBuffer::onAbandon() { in onAbandon() [all …]
|
D | GrVkBuffer.h | 17 class GrVkBuffer : public GrGpuBuffer { 19 static sk_sp<GrVkBuffer> Make(GrVkGpu* gpu, 37 GrVkBuffer(GrVkGpu* gpu,
|
D | GrVkCommandBuffer.cpp | 184 VkBuffer vkBuffer = static_cast<const GrVkBuffer*>(buffer.get())->vkBuffer(); in bindInputBuffer() 202 VkBuffer vkBuffer = static_cast<const GrVkBuffer*>(buffer.get())->vkBuffer(); in bindIndexBuffer() 328 VkBuffer vkBuffer = static_cast<const GrVkBuffer*>(indirectBuffer.get())->vkBuffer(); in drawIndirect() 346 VkBuffer vkBuffer = static_cast<const GrVkBuffer*>(indirectBuffer.get())->vkBuffer(); in drawIndexedIndirect() 767 GrVkBuffer* vkBuffer = static_cast<GrVkBuffer*>(dstBuffer.get()); in copyImageToBuffer() 816 const GrVkBuffer* srcVk = static_cast<GrVkBuffer*>(srcBuffer.get()); in copyBuffer() 817 const GrVkBuffer* dstVk = static_cast<GrVkBuffer*>(dstBuffer.get()); in copyBuffer() 829 sk_sp<GrVkBuffer> dstBuffer, in updateBuffer()
|
D | GrVkMSAALoadManager.cpp | 195 GrVkBuffer* vkUniformBuffer = static_cast<GrVkBuffer*>(uniformBuffer.get()); in loadMSAAFromResolve()
|
D | GrVkGpu.cpp | 470 sk_sp<GrGpuBuffer> buff = GrVkBuffer::Make(this, size, type, accessPattern); in onCreateBuffer() 593 const GrVkBuffer* vkBuffer = static_cast<GrVkBuffer*>(transferBuffer.get()); in onTransferPixelsTo() 663 GrVkBuffer* vkBuffer = static_cast<GrVkBuffer*>(transferBuffer.get()); in onTransferPixelsFrom() 951 GrVkBuffer* vkBuffer = static_cast<GrVkBuffer*>(slice.fBuffer); in uploadTexDataOptimal() 1018 GrVkBuffer* vkBuffer = static_cast<GrVkBuffer*>(slice.fBuffer); in uploadTexDataCompressed() 1146 bool GrVkGpu::updateBuffer(sk_sp<GrVkBuffer> buffer, const void* src, in updateBuffer() 1740 static_cast<GrVkBuffer*>(slice.fBuffer)->vkBuffer(), in onUpdateCompressedBackendTexture() 2402 GrVkBuffer* vkBuffer = static_cast<GrVkBuffer*>(transferBuffer.get()); in onReadPixels()
|
D | GrVkPipelineState.h | 19 class GrVkBuffer; variable
|
D | GrVkPipelineState.cpp | 104 const GrVkBuffer* vkBuffer = static_cast<GrVkBuffer*>(uniformBuffer.get()); in setAndBindUniforms()
|
D | GrVkGpu.h | 25 class GrVkBuffer; variable 177 bool updateBuffer(sk_sp<GrVkBuffer> buffer, const void* src, VkDeviceSize offset,
|
D | GrVkCommandBuffer.h | 298 sk_sp<GrVkBuffer> dstBuffer,
|