/third_party/flutter/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, 67 void setViewport(const GrVkGpu* gpu, 72 void setScissor(const GrVkGpu* gpu, 77 void setBlendConstants(const GrVkGpu* gpu, const float blendConstants[4]); 80 void clearAttachments(const GrVkGpu* gpu, 86 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(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 | 43 void GrVkCommandBuffer::freeGPUData(GrVkGpu* gpu) const { in freeGPUData() 53 fTrackedRecycledResources[i]->recycle(const_cast<GrVkGpu*>(gpu)); in freeGPUData() 80 void GrVkCommandBuffer::releaseResources(GrVkGpu* gpu) { in releaseResources() 90 fTrackedRecycledResources[i]->recycle(const_cast<GrVkGpu*>(gpu)); in releaseResources() 113 void GrVkCommandBuffer::pipelineBarrier(const GrVkGpu* gpu, in pipelineBarrier() 171 void GrVkCommandBuffer::submitPipelineBarriers(const GrVkGpu* gpu) { in submitPipelineBarriers() 203 void GrVkCommandBuffer::bindInputBuffer(GrVkGpu* gpu, uint32_t binding, in bindInputBuffer() 222 void GrVkCommandBuffer::bindIndexBuffer(GrVkGpu* gpu, const GrVkIndexBuffer* ibuffer) { in bindIndexBuffer() 237 void GrVkCommandBuffer::clearAttachments(const GrVkGpu* gpu, in clearAttachments() 265 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 std::unique_ptr<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, 109 GrVkRenderTarget(GrVkGpu* gpu, 116 GrVkGpu* getVkGpu() const; 132 void createFramebuffer(GrVkGpu* gpu); 139 GrVkRenderTarget(GrVkGpu* gpu, 149 GrVkRenderTarget(GrVkGpu* gpu, 156 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 | 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 | GrVkPipeline.h | 21 class GrVkGpu; variable 27 static GrVkPipeline* Create(GrVkGpu*, 43 static void SetDynamicScissorRectState(GrVkGpu*, GrVkCommandBuffer*, const GrRenderTarget*, 45 static void SetDynamicViewportState(GrVkGpu*, GrVkCommandBuffer*, const GrRenderTarget*); 46 static void SetDynamicBlendConstantState(GrVkGpu*, GrVkCommandBuffer*, 64 void freeGPUData(GrVkGpu* gpu) const override;
|
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(const GrVkGpu* gpu, const ImageDesc& imageDesc, GrVkImageInfo*); 142 static void DestroyImageInfo(const GrVkGpu* gpu, GrVkImageInfo*); 155 void setCurrentQueueFamilyToGraphicsQueue(GrVkGpu* gpu); 159 void releaseImage(GrVkGpu* gpu); 227 void freeGPUData(GrVkGpu* gpu) const override; 250 void freeGPUData(GrVkGpu* gpu) const override;
|
D | GrVkPipelineState.h | 23 class GrVkGpu; variable 42 GrVkGpu* gpu, 56 void setAndBindUniforms(GrVkGpu*, const GrRenderTarget*, GrSurfaceOrigin, 62 void setAndBindTextures(GrVkGpu*, const GrPrimitiveProcessor&, const GrPipeline&, 66 void bindPipeline(const GrVkGpu* gpu, GrVkCommandBuffer* commandBuffer); 70 void freeGPUResources(GrVkGpu* gpu); 75 void writeUniformBuffers(const GrVkGpu* gpu);
|
D | GrVkResourceProvider.h | 30 class GrVkGpu; variable 40 GrVkResourceProvider(GrVkGpu* gpu); 195 PipelineStateCache(GrVkGpu* gpu); 224 GrVkGpu* fGpu; 237 CompatibleRenderPassSet(const GrVkGpu* gpu, const GrVkRenderTarget& target); 248 GrVkRenderPass* getRenderPass(const GrVkGpu* gpu, 252 void releaseResources(GrVkGpu* gpu); 262 GrVkGpu* fGpu;
|
/third_party/skia/src/gpu/vk/ |
D | GrVkCommandBuffer.h | 39 void pipelineBarrier(const GrVkGpu* gpu, 47 void bindInputBuffer(GrVkGpu* gpu, uint32_t binding, sk_sp<const GrBuffer> buffer); 49 void bindIndexBuffer(GrVkGpu* gpu, sk_sp<const GrBuffer> buffer); 51 void bindPipeline(const GrVkGpu* gpu, sk_sp<const GrVkPipeline> pipeline); 53 void bindDescriptorSets(const GrVkGpu* gpu, 61 void pushConstants(const GrVkGpu* gpu, VkPipelineLayout layout, 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, [all …]
|
D | GrVkImage.h | 25 class GrVkGpu; variable 33 static sk_sp<GrVkImage> MakeStencil(GrVkGpu* gpu, 38 static sk_sp<GrVkImage> MakeMSAA(GrVkGpu* gpu, 45 static sk_sp<GrVkImage> MakeTexture(GrVkGpu* gpu, 54 static sk_sp<GrVkImage> MakeWrapped(GrVkGpu* gpu, 109 gr_rp<const GrVkDescriptorSet> inputDescSetForBlending(GrVkGpu* gpu); 112 gr_rp<const GrVkDescriptorSet> inputDescSetForMSAALoad(GrVkGpu* gpu); 130 void setImageLayoutAndQueueIndex(const GrVkGpu* gpu, 137 void setImageLayout(const GrVkGpu* gpu, in setImageLayout() 154 void prepareForPresent(GrVkGpu* gpu); [all …]
|
D | GrVkDescriptorSetManager.h | 19 class GrVkGpu; variable 30 static GrVkDescriptorSetManager* CreateUniformManager(GrVkGpu* gpu); 31 static GrVkDescriptorSetManager* CreateSamplerManager(GrVkGpu* gpu, VkDescriptorType type, 35 static GrVkDescriptorSetManager* CreateZeroSamplerManager(GrVkGpu* gpu); 36 static GrVkDescriptorSetManager* CreateInputManager(GrVkGpu* gpu); 40 void release(GrVkGpu* gpu); 44 const GrVkDescriptorSet* getDescriptorSet(GrVkGpu* gpu, const Handle& handle); 62 bool getNewDescriptorSet(GrVkGpu* gpu, VkDescriptorSet* ds); 64 void freeGPUResources(GrVkGpu* gpu); 79 bool getNewPool(GrVkGpu* gpu); [all …]
|
D | GrVkMemory.h | 16 class GrVkGpu; variable 23 bool AllocAndBindBufferMemory(GrVkGpu* gpu, 27 void FreeBufferMemory(const GrVkGpu* gpu, const GrVkAlloc& alloc); 29 bool AllocAndBindImageMemory(GrVkGpu* gpu, 33 void FreeImageMemory(const GrVkGpu* gpu, const GrVkAlloc& alloc); 39 void* MapAlloc(GrVkGpu* gpu, const GrVkAlloc& alloc); 40 void UnmapAlloc(const GrVkGpu* gpu, const GrVkAlloc& alloc); 45 void FlushMappedAlloc(GrVkGpu* gpu, const GrVkAlloc& alloc, VkDeviceSize offset, 47 void InvalidateMappedAlloc(GrVkGpu* gpu, const GrVkAlloc& alloc, VkDeviceSize offset,
|
D | GrVkCommandBuffer.cpp | 52 GrVkGpu* vkGpu = (GrVkGpu*)gpu; in freeGPUData() 76 void GrVkCommandBuffer::pipelineBarrier(const GrVkGpu* gpu, in pipelineBarrier() 146 void GrVkCommandBuffer::submitPipelineBarriers(const GrVkGpu* gpu, bool forSelfDependency) { in submitPipelineBarriers() 177 void GrVkCommandBuffer::bindInputBuffer(GrVkGpu* gpu, uint32_t binding, in bindInputBuffer() 196 void GrVkCommandBuffer::bindIndexBuffer(GrVkGpu* gpu, sk_sp<const GrBuffer> buffer) { in bindIndexBuffer() 210 void GrVkCommandBuffer::clearAttachments(const GrVkGpu* gpu, in clearAttachments() 241 void GrVkCommandBuffer::bindDescriptorSets(const GrVkGpu* gpu, in bindDescriptorSets() 259 void GrVkCommandBuffer::bindPipeline(const GrVkGpu* gpu, sk_sp<const GrVkPipeline> pipeline) { in bindPipeline() 267 void GrVkCommandBuffer::pushConstants(const GrVkGpu* gpu, VkPipelineLayout layout, in pushConstants() 282 void GrVkCommandBuffer::drawIndexed(const GrVkGpu* gpu, in drawIndexed() [all …]
|
D | GrVkGpu.cpp | 58 sk_sp<GrGpu> GrVkGpu::Make(const GrVkBackendContext& backendContext, in Make() 194 sk_sp<GrVkGpu> vkGpu(new GrVkGpu(direct, backendContext, std::move(caps), interface, in Make() 206 GrVkGpu::GrVkGpu(GrDirectContext* direct, const GrVkBackendContext& backendContext, in GrVkGpu() function in GrVkGpu 240 void GrVkGpu::destroyResources() { in destroyResources() 272 GrVkGpu::~GrVkGpu() { in ~GrVkGpu() 282 void GrVkGpu::disconnect(DisconnectType type) { in disconnect() 294 GrThreadSafePipelineBuilder* GrVkGpu::pipelineBuilder() { in pipelineBuilder() 298 sk_sp<GrThreadSafePipelineBuilder> GrVkGpu::refPipelineBuilder() { in refPipelineBuilder() 304 GrOpsRenderPass* GrVkGpu::onGetOpsRenderPass( in onGetOpsRenderPass() 378 bool GrVkGpu::submitCommandBuffer(SyncQueue sync) { in submitCommandBuffer() [all …]
|
D | GrVkTexture.h | 18 class GrVkGpu; variable 24 static sk_sp<GrVkTexture> MakeNewTexture(GrVkGpu*, 32 static sk_sp<GrVkTexture> MakeWrappedTexture(GrVkGpu*, 61 GrVkTexture(GrVkGpu*, 66 GrVkGpu* getVkGpu() const; 83 GrVkTexture(GrVkGpu*, SkBudgeted, SkISize, sk_sp<GrVkImage> texture, GrMipmapStatus); 84 GrVkTexture(GrVkGpu*, SkISize, sk_sp<GrVkImage> texture, GrMipmapStatus,
|
D | GrVkPipeline.h | 25 class GrVkGpu; variable 31 static sk_sp<GrVkPipeline> Make(GrVkGpu*, 50 static sk_sp<GrVkPipeline> Make(GrVkGpu*, 65 static void SetDynamicScissorRectState(GrVkGpu*, 69 static void SetDynamicViewportState(GrVkGpu*, 72 static void SetDynamicBlendConstantState(GrVkGpu*, 84 GrVkPipeline(const GrVkGpu* gpu, VkPipeline pipeline, VkPipelineLayout layout) in GrVkPipeline()
|
D | GrVkPipelineState.h | 24 class GrVkGpu; variable 42 GrVkPipelineState(GrVkGpu*, 56 bool setAndBindUniforms(GrVkGpu*, SkISize colorAttachmentDimensions, const GrProgramInfo&, 62 bool setAndBindTextures(GrVkGpu*, 68 bool setAndBindInputAttachment(GrVkGpu*, gr_rp<const GrVkDescriptorSet> inputDescSet, 71 void bindPipeline(const GrVkGpu* gpu, GrVkCommandBuffer* commandBuffer); 73 void freeGPUResources(GrVkGpu* gpu);
|
D | GrVkManagedResource.h | 13 class GrVkGpu; variable 17 GrVkManagedResource(const GrVkGpu* gpu) : fGpu(gpu) {} in GrVkManagedResource() 20 const GrVkGpu* fGpu; // pointer to gpu object that can be used 29 GrVkRecycledResource(GrVkGpu* gpu) : fGpu(gpu) {} in GrVkRecycledResource() 32 GrVkGpu* fGpu; // pointer to gpu object that can be used
|
D | GrVkImage.cpp | 18 sk_sp<GrVkImage> GrVkImage::MakeStencil(GrVkGpu* gpu, in MakeStencil() 36 sk_sp<GrVkImage> GrVkImage::MakeMSAA(GrVkGpu* gpu, in MakeMSAA() 62 sk_sp<GrVkImage> GrVkImage::MakeTexture(GrVkGpu* gpu, in MakeTexture() 92 static bool make_views(GrVkGpu* gpu, in make_views() 130 sk_sp<GrVkImage> GrVkImage::Make(GrVkGpu* gpu, in Make() 175 sk_sp<GrVkImage> GrVkImage::MakeWrapped(GrVkGpu* gpu, in MakeWrapped() 207 GrVkImage::GrVkImage(GrVkGpu* gpu, in GrVkImage() 233 GrVkImage::GrVkImage(GrVkGpu* gpu, in GrVkImage() 259 void GrVkImage::init(GrVkGpu* gpu, bool forSecondaryCB) { in init() 368 void GrVkImage::setImageLayoutAndQueueIndex(const GrVkGpu* gpu, in setImageLayoutAndQueueIndex() [all …]
|