/external/skia/src/gpu/vk/ |
D | GrVkCommandBuffer.h | 42 void pipelineBarrier(const GrVkGpu* gpu, 50 void bindInputBuffer(GrVkGpu* gpu, uint32_t binding, const GrVkVertexBuffer* vbuffer); 52 void bindIndexBuffer(GrVkGpu* gpu, const GrVkIndexBuffer* ibuffer); 54 void bindPipeline(const GrVkGpu* gpu, const GrVkPipeline* pipeline); 56 void bindDescriptorSets(const GrVkGpu* gpu, 65 void setViewport(const GrVkGpu* gpu, 70 void setScissor(const GrVkGpu* gpu, 75 void setBlendConstants(const GrVkGpu* gpu, const float blendConstants[4]); 78 void clearAttachments(const GrVkGpu* gpu, 84 void drawIndexed(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(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, 98 void vkRelease(const GrVkGpu* gpu); 101 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, 38 void release(GrVkGpu* gpu); 42 const GrVkDescriptorSet* getDescriptorSet(GrVkGpu* gpu, const Handle& handle); 60 bool getNewDescriptorSet(GrVkGpu* gpu, VkDescriptorSet* ds); 62 void freeGPUResources(GrVkGpu* gpu); 77 bool getNewPool(GrVkGpu* gpu); 80 static GrVkDescriptorSetManager* Create(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() 43 void onRecycle(GrVkGpu* gpu) const override; 48 const GrVkBuffer::Resource* createResource(GrVkGpu* gpu, 51 GrVkUniformBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, in GrVkUniformBuffer()
|
D | GrVkMemory.h | 15 class GrVkGpu; variable 22 bool AllocAndBindBufferMemory(GrVkGpu* gpu, 27 void FreeBufferMemory(const GrVkGpu* gpu, GrVkBuffer::Type type, const GrVkAlloc& alloc); 29 bool AllocAndBindImageMemory(GrVkGpu* gpu, 33 void FreeImageMemory(const GrVkGpu* gpu, bool linearTiling, const GrVkAlloc& alloc); 39 void* MapAlloc(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 | GrVkCommandPool.h | 17 class GrVkGpu; variable 21 static GrVkCommandPool* Create(GrVkGpu* gpu); 27 void reset(GrVkGpu* gpu); 29 void releaseResources(GrVkGpu* gpu); 33 std::unique_ptr<GrVkSecondaryCommandBuffer> findOrCreateSecondaryCommandBuffer(GrVkGpu* gpu); 53 GrVkCommandPool(GrVkGpu* gpu, VkCommandPool commandPool, GrVkPrimaryCommandBuffer*); 55 void freeGPUData(GrVkGpu* gpu) const override;
|
D | GrVkCommandBuffer.cpp | 43 void GrVkCommandBuffer::freeGPUData(GrVkGpu* gpu, VkCommandPool cmdPool) const { in freeGPUData() 56 void GrVkCommandBuffer::releaseResources(GrVkGpu* gpu) { in releaseResources() 66 fTrackedRecycledResources[i]->recycle(const_cast<GrVkGpu*>(gpu)); in releaseResources() 89 void GrVkCommandBuffer::pipelineBarrier(const GrVkGpu* gpu, in pipelineBarrier() 147 void GrVkCommandBuffer::submitPipelineBarriers(const GrVkGpu* gpu) { in submitPipelineBarriers() 179 void GrVkCommandBuffer::bindInputBuffer(GrVkGpu* gpu, uint32_t binding, in bindInputBuffer() 198 void GrVkCommandBuffer::bindIndexBuffer(GrVkGpu* gpu, const GrVkIndexBuffer* ibuffer) { in bindIndexBuffer() 213 void GrVkCommandBuffer::clearAttachments(const GrVkGpu* gpu, in clearAttachments() 244 void GrVkCommandBuffer::bindDescriptorSets(const GrVkGpu* gpu, in bindDescriptorSets() 263 void GrVkCommandBuffer::bindPipeline(const GrVkGpu* gpu, const GrVkPipeline* pipeline) { in bindPipeline() [all …]
|
D | GrVkPipeline.h | 21 class GrVkGpu; variable 27 static GrVkPipeline* Create(GrVkGpu*, 38 static void SetDynamicScissorRectState(GrVkGpu*, GrVkCommandBuffer*, const GrRenderTarget*, 40 static void SetDynamicViewportState(GrVkGpu*, GrVkCommandBuffer*, const GrRenderTarget*); 41 static void SetDynamicBlendConstantState(GrVkGpu*, GrVkCommandBuffer*, 59 void freeGPUData(GrVkGpu* gpu) const override;
|
D | GrVkTexture.h | 18 class GrVkGpu; variable 24 static sk_sp<GrVkTexture> MakeNewTexture(GrVkGpu*, 30 static sk_sp<GrVkTexture> MakeWrappedTexture(GrVkGpu*, 61 GrVkTexture(GrVkGpu*, 69 GrVkGpu* getVkGpu() const; 81 GrVkTexture(GrVkGpu*, SkBudgeted, SkISize, const GrVkImageInfo&, sk_sp<GrVkImageLayout> layout, 83 GrVkTexture(GrVkGpu*, SkISize, const GrVkImageInfo&, sk_sp<GrVkImageLayout>,
|
D | GrVkPipelineState.h | 22 class GrVkGpu; variable 41 GrVkGpu* gpu, 55 bool setAndBindUniforms(GrVkGpu*, const GrRenderTarget*, const GrProgramInfo&, 61 bool setAndBindTextures(GrVkGpu*, const GrPrimitiveProcessor&, const GrPipeline&, 65 void bindPipeline(const GrVkGpu* gpu, GrVkCommandBuffer* commandBuffer); 69 void freeGPUResources(GrVkGpu* gpu); 72 void writeUniformBuffers(const GrVkGpu* gpu);
|
D | GrVkTextureRenderTarget.h | 16 class GrVkGpu; variable 29 static sk_sp<GrVkTextureRenderTarget> MakeNewTextureRenderTarget(GrVkGpu*, SkBudgeted, 35 static sk_sp<GrVkTextureRenderTarget> MakeWrappedTextureRenderTarget(GrVkGpu*, 60 GrVkTextureRenderTarget(GrVkGpu* gpu, 74 GrVkTextureRenderTarget(GrVkGpu* gpu, 84 GrVkTextureRenderTarget(GrVkGpu* gpu, 99 GrVkTextureRenderTarget(GrVkGpu* gpu,
|
D | GrVkRenderTarget.h | 21 class GrVkGpu; variable 35 static sk_sp<GrVkRenderTarget> MakeWrappedRenderTarget(GrVkGpu*, SkISize, int sampleCnt, 39 static sk_sp<GrVkRenderTarget> MakeSecondaryCBRenderTarget(GrVkGpu*, SkISize, 98 GrVkRenderTarget(GrVkGpu* gpu, 109 GrVkRenderTarget(GrVkGpu* gpu, 132 GrVkRenderTarget(GrVkGpu* gpu, 142 GrVkRenderTarget(GrVkGpu* gpu, 148 GrVkRenderTarget(GrVkGpu* gpu, 155 GrVkGpu* getVkGpu() const;
|
D | GrVkImage.h | 19 class GrVkGpu; variable 91 void setImageLayout(const GrVkGpu* gpu, 100 void prepareForPresent(GrVkGpu* gpu); 103 void prepareForExternal(GrVkGpu* gpu); 140 static bool InitImageInfo(GrVkGpu* gpu, const ImageDesc& imageDesc, GrVkImageInfo*); 142 static void DestroyImageInfo(const GrVkGpu* gpu, GrVkImageInfo*); 155 void setCurrentQueueFamilyToGraphicsQueue(GrVkGpu* gpu); 159 void releaseImage(GrVkGpu* gpu); 226 void freeGPUData(GrVkGpu* gpu) const override; 245 void freeGPUData(GrVkGpu* gpu) const override;
|
D | GrVkSemaphore.h | 18 class GrVkGpu; variable 22 static std::unique_ptr<GrVkSemaphore> Make(GrVkGpu* gpu, bool isOwned); 26 static std::unique_ptr<GrVkSemaphore> MakeWrapped(GrVkGpu* gpu, 72 void freeGPUData(GrVkGpu* gpu) const override; 85 GrVkSemaphore(GrVkGpu* gpu, VkSemaphore semaphore, bool prohibitSignal, bool prohibitWait, 94 GrVkGpu* fGpu;
|
/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 | 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 | 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 | 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 | 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 | 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;
|