/third_party/flutter/skia/src/gpu/vk/ |
D | GrVkBuffer.cpp | 22 const GrVkBuffer::Resource* GrVkBuffer::Create(const GrVkGpu* gpu, const Desc& desc) { in Create() 74 const GrVkBuffer::Resource* resource = new GrVkBuffer::Resource(buffer, alloc, desc.fType); in Create() 84 void GrVkBuffer::addMemoryBarrier(const GrVkGpu* gpu, in addMemoryBarrier() 107 void GrVkBuffer::Resource::freeGPUData(GrVkGpu* gpu) const { in freeGPUData() 114 void GrVkBuffer::vkRelease(const GrVkGpu* gpu) { in vkRelease() 125 void GrVkBuffer::vkAbandon() { in vkAbandon() 135 VkAccessFlags buffer_type_to_access_flags(GrVkBuffer::Type type) { in buffer_type_to_access_flags() 137 case GrVkBuffer::kIndex_Type: in buffer_type_to_access_flags() 139 case GrVkBuffer::kVertex_Type: in buffer_type_to_access_flags() 149 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 | 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 | 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 | 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() 35 GrVkBuffer::Type type, in AllocAndBindBufferMemory() 76 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 | 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 | GrVkIndexBuffer.h | 16 class GrVkIndexBuffer : public GrGpuBuffer, public GrVkBuffer { 25 GrVkIndexBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, 26 const GrVkBuffer::Resource* resource);
|
D | GrVkVertexBuffer.h | 16 class GrVkVertexBuffer : public GrGpuBuffer, 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 276 GrVkBuffer* srcBuffer, 277 GrVkBuffer* dstBuffer, 282 GrVkBuffer* dstBuffer,
|
D | GrVkGpu.h | 172 void copyBuffer(GrVkBuffer* srcBuffer, GrVkBuffer* dstBuffer, VkDeviceSize srcOffset, 174 bool updateBuffer(GrVkBuffer* buffer, const void* src, VkDeviceSize offset, VkDeviceSize size);
|
D | GrVkGpu.cpp | 406 buff = GrVkTransferBuffer::Make(this, size, GrVkBuffer::kCopyRead_Type); in onCreateBuffer() 411 buff = GrVkTransferBuffer::Make(this, size, GrVkBuffer::kCopyWrite_Type); in onCreateBuffer() 770 GrVkTransferBuffer::Make(this, combinedBufferSize, GrVkBuffer::kCopyRead_Type); in uploadTexDataOptimal() 907 GrVkTransferBuffer::Make(this, dataSize, GrVkBuffer::kCopyRead_Type); in uploadTexDataCompressed() 1107 void GrVkGpu::copyBuffer(GrVkBuffer* srcBuffer, GrVkBuffer* dstBuffer, VkDeviceSize srcOffset, in copyBuffer() 1116 bool GrVkGpu::updateBuffer(GrVkBuffer* buffer, const void* src, in updateBuffer() 1705 if (!GrVkMemory::AllocAndBindBufferMemory(this, buffer, GrVkBuffer::kCopyRead_Type, true, in createVkImageForBackendSurface() 1723 GrVkMemory::FreeBufferMemory(this, GrVkBuffer::kCopyRead_Type, bufferAlloc); in createVkImageForBackendSurface() 1828 GrVkMemory::FreeBufferMemory(this, GrVkBuffer::kCopyRead_Type, bufferAlloc); in createVkImageForBackendSurface() 1840 GrVkMemory::FreeBufferMemory(this, GrVkBuffer::kCopyRead_Type, bufferAlloc); in createVkImageForBackendSurface()
|
D | GrVkCommandBuffer.cpp | 741 GrVkBuffer* srcBuffer, in copyBuffer() 742 GrVkBuffer* dstBuffer, in copyBuffer() 768 GrVkBuffer* dstBuffer, in updateBuffer()
|
/third_party/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 | 179 VkBuffer vkBuffer = static_cast<const GrVkBuffer*>(buffer.get())->vkBuffer(); in bindInputBuffer() 197 VkBuffer vkBuffer = static_cast<const GrVkBuffer*>(buffer.get())->vkBuffer(); in bindIndexBuffer() 323 VkBuffer vkBuffer = static_cast<const GrVkBuffer*>(indirectBuffer.get())->vkBuffer(); in drawIndirect() 341 VkBuffer vkBuffer = static_cast<const GrVkBuffer*>(indirectBuffer.get())->vkBuffer(); in drawIndexedIndirect() 762 GrVkBuffer* vkBuffer = static_cast<GrVkBuffer*>(dstBuffer.get()); in copyImageToBuffer() 811 const GrVkBuffer* srcVk = static_cast<GrVkBuffer*>(srcBuffer.get()); in copyBuffer() 812 const GrVkBuffer* dstVk = static_cast<GrVkBuffer*>(dstBuffer.get()); in copyBuffer() 824 sk_sp<GrVkBuffer> dstBuffer, in updateBuffer()
|
D | GrVkGpu.cpp | 470 sk_sp<GrGpuBuffer> buff = GrVkBuffer::Make(this, size, type, accessPattern); in onCreateBuffer() 601 const GrVkBuffer* vkBuffer = static_cast<GrVkBuffer*>(transferBuffer.get()); in onTransferPixelsTo() 674 GrVkBuffer* vkBuffer = static_cast<GrVkBuffer*>(transferBuffer.get()); in onTransferPixelsFrom() 958 GrVkBuffer* vkBuffer = static_cast<GrVkBuffer*>(slice.fBuffer); in uploadTexDataOptimal() 1025 GrVkBuffer* vkBuffer = static_cast<GrVkBuffer*>(slice.fBuffer); in uploadTexDataCompressed() 1153 bool GrVkGpu::updateBuffer(sk_sp<GrVkBuffer> buffer, const void* src, in updateBuffer() 1764 static_cast<GrVkBuffer*>(slice.fBuffer)->vkBuffer(), in onUpdateCompressedBackendTexture() 2451 GrVkBuffer* vkBuffer = static_cast<GrVkBuffer*>(transferBuffer.get()); in onReadPixels()
|
D | GrVkMSAALoadManager.cpp | 190 GrVkBuffer* vkUniformBuffer = static_cast<GrVkBuffer*>(uniformBuffer.get()); in loadMSAAFromResolve()
|
D | GrVkPipelineState.cpp | 102 const GrVkBuffer* vkBuffer = static_cast<GrVkBuffer*>(uniformBuffer.get()); in setAndBindUniforms()
|
D | GrVkPipelineState.h | 21 class GrVkBuffer; variable
|
D | GrVkGpu.h | 25 class GrVkBuffer; variable 179 bool updateBuffer(sk_sp<GrVkBuffer> buffer, const void* src, VkDeviceSize offset,
|
D | GrVkCommandBuffer.h | 296 sk_sp<GrVkBuffer> dstBuffer,
|