/external/skia/src/gpu/vk/ |
D | GrVkCommandBuffer.h | 41 void pipelineBarrier(const GrVkGpu* gpu, 49 void bindInputBuffer(GrVkGpu* gpu, uint32_t binding, const GrVkVertexBuffer* vbuffer); 51 void bindIndexBuffer(GrVkGpu* gpu, const GrVkIndexBuffer* ibuffer); 53 void bindPipeline(const GrVkGpu* gpu, const GrVkPipeline* pipeline); 55 void bindDescriptorSets(const GrVkGpu* gpu, 64 void bindDescriptorSets(const GrVkGpu* gpu, 76 void setViewport(const GrVkGpu* gpu, 81 void setScissor(const GrVkGpu* gpu, 86 void setBlendConstants(const GrVkGpu* gpu, const float blendConstants[4]); 89 void clearAttachments(const GrVkGpu* gpu, [all …]
|
D | GrVkBuffer.h | 14 class GrVkGpu; variable 34 void addMemoryBarrier(const GrVkGpu* gpu, 72 void freeGPUData(GrVkGpu* gpu) const override; 74 void onRecycle(GrVkGpu* gpu) const override { this->unref(gpu); } in onRecycle() 80 static const Resource* Create(const GrVkGpu* gpu, 87 void* vkMap(GrVkGpu* gpu) { in vkMap() 91 void vkUnmap(GrVkGpu* gpu) { this->internalUnmap(gpu, this->size()); } in vkUnmap() 95 bool vkUpdateData(GrVkGpu* gpu, const void* src, size_t srcSizeInBytes, 99 void vkRelease(const GrVkGpu* gpu); 102 virtual const Resource* createResource(GrVkGpu* gpu, in createResource() [all …]
|
D | GrVkDescriptorSetManager.h | 19 class GrVkGpu; variable 30 static GrVkDescriptorSetManager* CreateUniformManager(GrVkGpu* gpu); 31 static GrVkDescriptorSetManager* CreateSamplerManager(GrVkGpu* gpu, VkDescriptorType type, 33 static GrVkDescriptorSetManager* CreateSamplerManager(GrVkGpu* gpu, VkDescriptorType type, 39 void release(GrVkGpu* gpu); 43 const GrVkDescriptorSet* getDescriptorSet(GrVkGpu* gpu, const Handle& handle); 53 DescriptorPoolManager(VkDescriptorType type, GrVkGpu* gpu, 63 void getNewDescriptorSet(GrVkGpu* gpu, VkDescriptorSet* ds); 65 void freeGPUResources(GrVkGpu* gpu); 82 void getNewPool(GrVkGpu* gpu); [all …]
|
D | GrVkUniformBuffer.h | 14 class GrVkGpu; variable 19 static GrVkUniformBuffer* Create(GrVkGpu* gpu, size_t size); 20 static const GrVkResource* CreateResource(GrVkGpu* gpu, size_t size); 23 void* map(GrVkGpu* gpu) { in map() 26 void unmap(GrVkGpu* gpu) { in unmap() 31 bool updateData(GrVkGpu* gpu, const void* src, size_t srcSizeInBytes, in updateData() 35 void release(const GrVkGpu* gpu) { this->vkRelease(gpu); } in release() 44 void onRecycle(GrVkGpu* gpu) const override; 49 const GrVkBuffer::Resource* createResource(GrVkGpu* gpu, 52 GrVkUniformBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, in GrVkUniformBuffer()
|
D | GrVkMemory.h | 15 class GrVkGpu; variable 22 bool AllocAndBindBufferMemory(const GrVkGpu* gpu, 27 void FreeBufferMemory(const GrVkGpu* gpu, GrVkBuffer::Type type, const GrVkAlloc& alloc); 29 bool AllocAndBindImageMemory(const GrVkGpu* gpu, 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,
|
D | GrVkCommandBuffer.cpp | 44 void GrVkCommandBuffer::freeGPUData(GrVkGpu* gpu) const { in freeGPUData() 53 fTrackedRecycledResources[i]->recycle(const_cast<GrVkGpu*>(gpu)); in freeGPUData() 90 void GrVkCommandBuffer::releaseResources(GrVkGpu* gpu) { in releaseResources() 99 fTrackedRecycledResources[i]->recycle(const_cast<GrVkGpu*>(gpu)); in releaseResources() 130 void GrVkCommandBuffer::pipelineBarrier(const GrVkGpu* gpu, in pipelineBarrier() 184 void GrVkCommandBuffer::bindInputBuffer(GrVkGpu* gpu, uint32_t binding, in bindInputBuffer() 203 void GrVkCommandBuffer::bindIndexBuffer(GrVkGpu* gpu, const GrVkIndexBuffer* ibuffer) { in bindIndexBuffer() 218 void GrVkCommandBuffer::clearAttachments(const GrVkGpu* gpu, in clearAttachments() 243 void GrVkCommandBuffer::bindDescriptorSets(const GrVkGpu* gpu, in bindDescriptorSets() 263 void GrVkCommandBuffer::bindDescriptorSets(const GrVkGpu* gpu, in bindDescriptorSets() [all …]
|
D | GrVkCommandPool.h | 18 class GrVkGpu; variable 22 static GrVkCommandPool* Create(const GrVkGpu* gpu); 28 void reset(GrVkGpu* gpu); 30 void releaseResources(GrVkGpu* gpu); 34 GrVkSecondaryCommandBuffer* findOrCreateSecondaryCommandBuffer(GrVkGpu* gpu); 54 GrVkCommandPool(const GrVkGpu* gpu, VkCommandPool commandPool); 58 void freeGPUData(GrVkGpu* gpu) const override;
|
D | GrVkRenderTarget.h | 21 class GrVkGpu; variable 36 static sk_sp<GrVkRenderTarget> MakeWrappedRenderTarget(GrVkGpu*, const GrSurfaceDesc&, 40 static sk_sp<GrVkRenderTarget> MakeSecondaryCBRenderTarget(GrVkGpu*, const GrSurfaceDesc&, 98 GrVkRenderTarget(GrVkGpu* gpu, 108 GrVkRenderTarget(GrVkGpu* gpu, 115 GrVkGpu* getVkGpu() const; 131 void createFramebuffer(GrVkGpu* gpu); 138 GrVkRenderTarget(GrVkGpu* gpu, 147 GrVkRenderTarget(GrVkGpu* gpu, 154 GrVkRenderTarget(GrVkGpu* gpu,
|
D | GrVkTexture.h | 15 class GrVkGpu; variable 21 static sk_sp<GrVkTexture> MakeNewTexture(GrVkGpu*, 27 static sk_sp<GrVkTexture> MakeWrappedTexture(GrVkGpu*, const GrSurfaceDesc&, GrWrapOwnership, 45 GrVkTexture(GrVkGpu*, const GrSurfaceDesc&, const GrVkImageInfo&, sk_sp<GrVkImageLayout>, 48 GrVkGpu* getVkGpu() const; 60 GrVkTexture(GrVkGpu*, SkBudgeted, const GrSurfaceDesc&, const GrVkImageInfo&, 63 GrVkTexture(GrVkGpu*, const GrSurfaceDesc&, const GrVkImageInfo&, sk_sp<GrVkImageLayout>,
|
D | GrVkPipeline.h | 21 class GrVkGpu; variable 27 static GrVkPipeline* Create(GrVkGpu*, 41 static void SetDynamicScissorRectState(GrVkGpu*, GrVkCommandBuffer*, const GrRenderTarget*, 43 static void SetDynamicViewportState(GrVkGpu*, GrVkCommandBuffer*, const GrRenderTarget*); 44 static void SetDynamicBlendConstantState(GrVkGpu*, GrVkCommandBuffer*, GrPixelConfig, 59 void freeGPUData(GrVkGpu* gpu) const override;
|
D | GrVkTextureRenderTarget.h | 16 class GrVkGpu; variable 29 static sk_sp<GrVkTextureRenderTarget> MakeNewTextureRenderTarget(GrVkGpu*, SkBudgeted, 34 static sk_sp<GrVkTextureRenderTarget> MakeWrappedTextureRenderTarget(GrVkGpu*, 58 GrVkTextureRenderTarget(GrVkGpu* gpu, 71 GrVkTextureRenderTarget(GrVkGpu* gpu, 81 GrVkTextureRenderTarget(GrVkGpu* gpu, 95 GrVkTextureRenderTarget(GrVkGpu* gpu,
|
D | GrVkPipelineState.h | 23 class GrVkGpu; variable 43 GrVkGpu* gpu, 59 void setAndBindUniforms(GrVkGpu*, const GrRenderTarget*, GrSurfaceOrigin, 65 void setAndBindTextures(GrVkGpu*, const GrPrimitiveProcessor&, const GrPipeline&, 69 void bindPipeline(const GrVkGpu* gpu, GrVkCommandBuffer* commandBuffer); 73 void freeGPUResources(GrVkGpu* gpu); 78 void writeUniformBuffers(const GrVkGpu* gpu);
|
D | GrVkImage.h | 19 class GrVkGpu; variable 90 void setImageLayout(const GrVkGpu* gpu, 99 void prepareForPresent(GrVkGpu* gpu); 134 static bool InitImageInfo(const GrVkGpu* gpu, const ImageDesc& imageDesc, GrVkImageInfo*); 136 static void DestroyImageInfo(const GrVkGpu* gpu, GrVkImageInfo*); 149 void setCurrentQueueFamilyToGraphicsQueue(GrVkGpu* gpu); 153 void releaseImage(GrVkGpu* gpu); 218 void freeGPUData(GrVkGpu* gpu) const override; 241 void freeGPUData(GrVkGpu* gpu) const override;
|
/external/skqp/src/gpu/vk/ |
D | GrVkCommandBuffer.h | 41 void pipelineBarrier(const GrVkGpu* gpu, 48 void bindInputBuffer(GrVkGpu* gpu, uint32_t binding, const GrVkVertexBuffer* vbuffer); 50 void bindIndexBuffer(GrVkGpu* gpu, const GrVkIndexBuffer* ibuffer); 52 void bindPipeline(const GrVkGpu* gpu, const GrVkPipeline* pipeline); 54 void bindDescriptorSets(const GrVkGpu* gpu, 63 void bindDescriptorSets(const GrVkGpu* gpu, 75 void setViewport(const GrVkGpu* gpu, 80 void setScissor(const GrVkGpu* gpu, 85 void setBlendConstants(const GrVkGpu* gpu, const float blendConstants[4]); 88 void clearAttachments(const GrVkGpu* gpu, [all …]
|
D | GrVkDescriptorSetManager.h | 19 class GrVkGpu; variable 30 static GrVkDescriptorSetManager* CreateUniformManager(GrVkGpu* gpu); 31 static GrVkDescriptorSetManager* CreateSamplerManager(GrVkGpu* gpu, VkDescriptorType type, 33 static GrVkDescriptorSetManager* CreateSamplerManager(GrVkGpu* gpu, VkDescriptorType type, 39 void release(GrVkGpu* gpu); 43 const GrVkDescriptorSet* getDescriptorSet(GrVkGpu* gpu, const Handle& handle); 53 DescriptorPoolManager(VkDescriptorType type, GrVkGpu* gpu, 63 void getNewDescriptorSet(GrVkGpu* gpu, VkDescriptorSet* ds); 65 void freeGPUResources(GrVkGpu* gpu); 82 void getNewPool(GrVkGpu* gpu); [all …]
|
D | GrVkUniformBuffer.h | 14 class GrVkGpu; variable 19 static GrVkUniformBuffer* Create(GrVkGpu* gpu, size_t size); 20 static const GrVkResource* CreateResource(GrVkGpu* gpu, size_t size); 23 void* map(GrVkGpu* gpu) { in map() 26 void unmap(GrVkGpu* gpu) { in unmap() 31 bool updateData(GrVkGpu* gpu, const void* src, size_t srcSizeInBytes, in updateData() 35 void release(const GrVkGpu* gpu) { this->vkRelease(gpu); } in release() 44 void onRecycle(GrVkGpu* gpu) const override; 49 const GrVkBuffer::Resource* createResource(GrVkGpu* gpu, 52 GrVkUniformBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, in GrVkUniformBuffer()
|
D | GrVkBuffer.h | 14 class GrVkGpu; variable 34 void addMemoryBarrier(const GrVkGpu* gpu, 72 void freeGPUData(GrVkGpu* gpu) const override; 74 void onRecycle(GrVkGpu* gpu) const override { this->unref(gpu); } in onRecycle() 80 static const Resource* Create(const GrVkGpu* gpu, 87 void* vkMap(GrVkGpu* gpu) { in vkMap() 91 void vkUnmap(GrVkGpu* gpu) { this->internalUnmap(gpu, this->size()); } in vkUnmap() 95 bool vkUpdateData(GrVkGpu* gpu, const void* src, size_t srcSizeInBytes, 99 void vkRelease(const GrVkGpu* gpu); 102 virtual const Resource* createResource(GrVkGpu* gpu, in createResource() [all …]
|
D | GrVkMemory.h | 15 class GrVkGpu; variable 22 bool AllocAndBindBufferMemory(const GrVkGpu* gpu, 27 void FreeBufferMemory(const GrVkGpu* gpu, GrVkBuffer::Type type, const GrVkAlloc& alloc); 29 bool AllocAndBindImageMemory(const GrVkGpu* gpu, 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,
|
D | GrVkCommandBuffer.cpp | 44 void GrVkCommandBuffer::freeGPUData(GrVkGpu* gpu) const { in freeGPUData() 53 fTrackedRecycledResources[i]->recycle(const_cast<GrVkGpu*>(gpu)); in freeGPUData() 90 void GrVkCommandBuffer::releaseResources(GrVkGpu* gpu) { in releaseResources() 99 fTrackedRecycledResources[i]->recycle(const_cast<GrVkGpu*>(gpu)); in releaseResources() 130 void GrVkCommandBuffer::pipelineBarrier(const GrVkGpu* gpu, in pipelineBarrier() 181 void GrVkCommandBuffer::bindInputBuffer(GrVkGpu* gpu, uint32_t binding, in bindInputBuffer() 200 void GrVkCommandBuffer::bindIndexBuffer(GrVkGpu* gpu, const GrVkIndexBuffer* ibuffer) { in bindIndexBuffer() 215 void GrVkCommandBuffer::clearAttachments(const GrVkGpu* gpu, in clearAttachments() 240 void GrVkCommandBuffer::bindDescriptorSets(const GrVkGpu* gpu, in bindDescriptorSets() 260 void GrVkCommandBuffer::bindDescriptorSets(const GrVkGpu* gpu, in bindDescriptorSets() [all …]
|
D | GrVkCommandPool.h | 18 class GrVkGpu; variable 22 static GrVkCommandPool* Create(const GrVkGpu* gpu); 28 void reset(GrVkGpu* gpu); 30 void releaseResources(GrVkGpu* gpu); 34 GrVkSecondaryCommandBuffer* findOrCreateSecondaryCommandBuffer(GrVkGpu* gpu); 54 GrVkCommandPool(const GrVkGpu* gpu, VkCommandPool commandPool); 58 void freeGPUData(GrVkGpu* gpu) const override;
|
D | GrVkRenderTarget.h | 21 class GrVkGpu; variable 36 static sk_sp<GrVkRenderTarget> MakeWrappedRenderTarget(GrVkGpu*, const GrSurfaceDesc&, 40 static sk_sp<GrVkRenderTarget> MakeSecondaryCBRenderTarget(GrVkGpu*, const GrSurfaceDesc&, 98 GrVkRenderTarget(GrVkGpu* gpu, 108 GrVkRenderTarget(GrVkGpu* gpu, 115 GrVkGpu* getVkGpu() const; 131 void createFramebuffer(GrVkGpu* gpu); 138 GrVkRenderTarget(GrVkGpu* gpu, 147 GrVkRenderTarget(GrVkGpu* gpu, 154 GrVkRenderTarget(GrVkGpu* gpu,
|
D | GrVkTexture.h | 15 class GrVkGpu; variable 21 static sk_sp<GrVkTexture> MakeNewTexture(GrVkGpu*, 27 static sk_sp<GrVkTexture> MakeWrappedTexture(GrVkGpu*, const GrSurfaceDesc&, GrWrapOwnership, 52 GrVkTexture(GrVkGpu*, const GrSurfaceDesc&, const GrVkImageInfo&, sk_sp<GrVkImageLayout>, 55 GrVkGpu* getVkGpu() const; 65 GrVkTexture(GrVkGpu*, SkBudgeted, const GrSurfaceDesc&, const GrVkImageInfo&, 68 GrVkTexture(GrVkGpu*, const GrSurfaceDesc&, const GrVkImageInfo&, sk_sp<GrVkImageLayout>,
|
D | GrVkTextureRenderTarget.h | 16 class GrVkGpu; variable 29 static sk_sp<GrVkTextureRenderTarget> MakeNewTextureRenderTarget(GrVkGpu*, SkBudgeted, 34 static sk_sp<GrVkTextureRenderTarget> MakeWrappedTextureRenderTarget(GrVkGpu*, 58 GrVkTextureRenderTarget(GrVkGpu* gpu, 71 GrVkTextureRenderTarget(GrVkGpu* gpu, 81 GrVkTextureRenderTarget(GrVkGpu* gpu, 95 GrVkTextureRenderTarget(GrVkGpu* gpu,
|
D | GrVkPipeline.h | 21 class GrVkGpu; variable 27 static GrVkPipeline* Create(GrVkGpu*, 41 static void SetDynamicScissorRectState(GrVkGpu*, GrVkCommandBuffer*, const GrRenderTarget*, 43 static void SetDynamicViewportState(GrVkGpu*, GrVkCommandBuffer*, const GrRenderTarget*); 44 static void SetDynamicBlendConstantState(GrVkGpu*, GrVkCommandBuffer*, GrPixelConfig, 59 void freeGPUData(GrVkGpu* gpu) const override;
|
D | GrVkPipelineState.h | 23 class GrVkGpu; variable 43 GrVkGpu* gpu, 59 void setAndBindUniforms(GrVkGpu*, const GrRenderTarget*, GrSurfaceOrigin, 65 void setAndBindTextures(GrVkGpu*, const GrPrimitiveProcessor&, const GrPipeline&, 69 void bindPipeline(const GrVkGpu* gpu, GrVkCommandBuffer* commandBuffer); 73 void freeGPUResources(GrVkGpu* gpu); 78 void writeUniformBuffers(const GrVkGpu* gpu);
|