Home
last modified time | relevance | path

Searched refs:GrVkGpu (Results 1 – 25 of 51) sorted by relevance

123

/external/skia/src/gpu/vk/
DGrVkCommandBuffer.h23 static GrVkCommandBuffer* Create(const GrVkGpu* gpu, VkCommandPool cmdPool);
26 void begin(const GrVkGpu* gpu);
27 void end(const GrVkGpu* gpu);
33 void beginRenderPass(const GrVkGpu* gpu,
36 void endRenderPass(const GrVkGpu* gpu);
38 void submitToQueue(const GrVkGpu* gpu, VkQueue queue, GrVkGpu::SyncQueue sync);
39 bool finished(const GrVkGpu* gpu) const;
45 void bindPipeline(const GrVkGpu* gpu) const;
46 void bindDynamicState(const GrVkGpu* gpu) const;
47 void bindDescriptorSet(const GrVkGpu* gpu) const;
[all …]
DGrVkCommandBuffer.cpp18 GrVkCommandBuffer* GrVkCommandBuffer::Create(const GrVkGpu* gpu, VkCommandPool cmdPool) { in Create()
49 void GrVkCommandBuffer::freeGPUData(const GrVkGpu* gpu) const { in freeGPUData()
71 void GrVkCommandBuffer::begin(const GrVkGpu* gpu) { in begin()
85 void GrVkCommandBuffer::end(const GrVkGpu* gpu) { in end()
95 void GrVkCommandBuffer::beginRenderPass(const GrVkGpu* gpu, in beginRenderPass()
110 void GrVkCommandBuffer::endRenderPass(const GrVkGpu* gpu) { in endRenderPass()
117 void GrVkCommandBuffer::submitToQueue(const GrVkGpu* gpu, VkQueue queue, GrVkGpu::SyncQueue sync) { in submitToQueue()
140 if (GrVkGpu::kForce_SyncQueue == sync) { in submitToQueue()
155 bool GrVkCommandBuffer::finished(const GrVkGpu* gpu) const { in finished()
181 void GrVkCommandBuffer::pipelineBarrier(const GrVkGpu* gpu, in pipelineBarrier()
[all …]
DGrVkRenderTarget.h19 class GrVkGpu; variable
31 static GrVkRenderTarget* CreateNewRenderTarget(GrVkGpu*, const GrSurfaceDesc&,
35 static GrVkRenderTarget* CreateWrappedRenderTarget(GrVkGpu*, const GrSurfaceDesc&,
70 GrVkRenderTarget(GrVkGpu* gpu,
78 GrVkRenderTarget(GrVkGpu* gpu,
87 GrVkRenderTarget(GrVkGpu* gpu,
93 GrVkRenderTarget(GrVkGpu* gpu,
100 static GrVkRenderTarget* Create(GrVkGpu*, const GrSurfaceDesc&,
104 GrVkGpu* getVkGpu() const;
121 void createFramebuffer(GrVkGpu* gpu);
DGrVkBuffer.h14 class GrVkGpu; variable
32 void addMemoryBarrier(const GrVkGpu* gpu,
61 void freeGPUData(const GrVkGpu* gpu) const;
67 static const Resource* Create(const GrVkGpu* gpu,
74 void* vkMap(const GrVkGpu* gpu);
75 void vkUnmap(const GrVkGpu* gpu);
76 bool vkUpdateData(const GrVkGpu* gpu, const void* src, size_t srcSizeInBytes);
79 void vkRelease(const GrVkGpu* gpu);
DGrVkTexture.h15 class GrVkGpu; variable
20 static GrVkTexture* CreateNewTexture(GrVkGpu*, const GrSurfaceDesc&,
25 static GrVkTexture* CreateWrappedTexture(GrVkGpu*, const GrSurfaceDesc&,
40 GrVkTexture(GrVkGpu*, const GrSurfaceDesc&, GrGpuResource::LifeCycle,
43 GrVkTexture(GrVkGpu*, const GrSurfaceDesc&, GrGpuResource::LifeCycle,
46 static GrVkTexture* Create(GrVkGpu*, const GrSurfaceDesc&,
50 GrVkGpu* getVkGpu() const;
DGrVkUniformBuffer.h14 class GrVkGpu; variable
19 static GrVkUniformBuffer* Create(GrVkGpu* gpu, size_t size, bool dynamic);
21 void* map(const GrVkGpu* gpu) { in map()
24 void unmap(const GrVkGpu* gpu) { in unmap()
27 bool updateData(const GrVkGpu* gpu, const void* src, size_t srcSizeInBytes) { in updateData()
30 void release(const GrVkGpu* gpu) { in release()
DGrVkProgram.h22 class GrVkGpu; variable
36 void setData(const GrVkGpu*, const GrPrimitiveProcessor&, const GrPipeline&);
38 void bind(const GrVkGpu* gpu, GrVkCommandBuffer* commandBuffer);
42 void freeGPUResources(const GrVkGpu* gpu);
46 void freeTempResources(const GrVkGpu* gpu);
54 GrVkProgram(GrVkGpu* gpu,
69 void writeUniformBuffers(const GrVkGpu* gpu);
71 void writeSamplers(const GrVkGpu* gpu, const SkTArray<const GrTextureAccess*>& textureBindings);
DGrVkProgramBuilder.h20 class GrVkGpu; variable
33 static GrVkProgram* CreateProgram(GrVkGpu*,
41 GrVkGpu* gpu() const { return fGpu; } in gpu()
46 GrVkProgramBuilder(GrVkGpu*, const DrawArgs&);
55 static bool CreateVkShaderModule(const GrVkGpu* gpu,
65 GrVkGpu* fGpu;
DGrVkTexture.cpp16 GrVkTexture::GrVkTexture(GrVkGpu* gpu, in GrVkTexture()
29 GrVkTexture::GrVkTexture(GrVkGpu* gpu, in GrVkTexture()
41 GrVkTexture* GrVkTexture::Create(GrVkGpu* gpu, in Create()
56 GrVkTexture* GrVkTexture::CreateNewTexture(GrVkGpu* gpu, const GrSurfaceDesc& desc, in CreateNewTexture()
73 GrVkTexture* GrVkTexture::CreateWrappedTexture(GrVkGpu* gpu, const GrSurfaceDesc& desc, in CreateWrappedTexture()
120 GrVkGpu* GrVkTexture::getVkGpu() const { in getVkGpu()
122 return static_cast<GrVkGpu*>(this->getGpu()); in getVkGpu()
DGrVkTransferBuffer.h15 class GrVkGpu; variable
20 static GrVkTransferBuffer* Create(GrVkGpu* gpu, size_t size, GrVkBuffer::Type type);
27 GrVkTransferBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc,
46 GrVkGpu* getVkGpu() const { in getVkGpu()
48 return reinterpret_cast<GrVkGpu*>(this->getGpu()); in getVkGpu()
DGrVkGpu.cpp163 return new GrVkGpu(context, options, physDev, device, queue, cmdPool, inst); in vk_gpu_create()
168 GrVkGpu::GrVkGpu(GrContext* context, const GrContextOptions& options, in GrVkGpu() function in GrVkGpu
190 GrVkGpu::~GrVkGpu() { in ~GrVkGpu()
208 void GrVkGpu::submitCommandBuffer(SyncQueue sync) { in submitCommandBuffer()
224 GrVertexBuffer* GrVkGpu::onCreateVertexBuffer(size_t size, bool dynamic) { in onCreateVertexBuffer()
228 GrIndexBuffer* GrVkGpu::onCreateIndexBuffer(size_t size, bool dynamic) { in onCreateIndexBuffer()
232 GrTransferBuffer* GrVkGpu::onCreateTransferBuffer(size_t size, TransferType type) { in onCreateTransferBuffer()
239 bool GrVkGpu::onGetWritePixelsInfo(GrSurface* dstSurface, int width, int height, in onGetWritePixelsInfo()
260 bool GrVkGpu::onWritePixels(GrSurface* surface, in onWritePixels()
313 bool GrVkGpu::uploadTexData(GrVkTexture* tex, in uploadTexData()
[all …]
DGrVkVertexBuffer.h15 class GrVkGpu; variable
19 static GrVkVertexBuffer* Create(GrVkGpu* gpu, size_t size, bool dynamic);
26 GrVkVertexBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc,
33 GrVkGpu* getVkGpu() const;
DGrVkIndexBuffer.h15 class GrVkGpu; variable
20 static GrVkIndexBuffer* Create(GrVkGpu* gpu, size_t size, bool dynamic);
27 GrVkIndexBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc,
34 GrVkGpu* getVkGpu() const;
DGrVkBuffer.cpp21 const GrVkBuffer::Resource* GrVkBuffer::Create(const GrVkGpu* gpu, const Desc& desc) { in Create()
81 void GrVkBuffer::addMemoryBarrier(const GrVkGpu* gpu, in addMemoryBarrier()
103 void GrVkBuffer::Resource::freeGPUData(const GrVkGpu* gpu) const { in freeGPUData()
110 void GrVkBuffer::vkRelease(const GrVkGpu* gpu) { in vkRelease()
124 void* GrVkBuffer::vkMap(const GrVkGpu* gpu) { in vkMap()
137 void GrVkBuffer::vkUnmap(const GrVkGpu* gpu) { in vkUnmap()
151 bool GrVkBuffer::vkUpdateData(const GrVkGpu* gpu, const void* src, size_t srcSizeInBytes) { in vkUpdateData()
DGrVkDescriptorPool.h15 class GrVkGpu; variable
36 explicit GrVkDescriptorPool(const GrVkGpu* gpu, const DescriptorTypeCounts& typeCounts);
40 void reset(const GrVkGpu* gpu);
47 void freeGPUData(const GrVkGpu* gpu) const override;
DGrVkRenderTarget.cpp22 GrVkRenderTarget::GrVkRenderTarget(GrVkGpu* gpu, in GrVkRenderTarget()
48 GrVkRenderTarget::GrVkRenderTarget(GrVkGpu* gpu, in GrVkRenderTarget()
74 GrVkRenderTarget::GrVkRenderTarget(GrVkGpu* gpu, in GrVkRenderTarget()
95 GrVkRenderTarget::GrVkRenderTarget(GrVkGpu* gpu, in GrVkRenderTarget()
115 GrVkRenderTarget::Create(GrVkGpu* gpu, in Create()
185 GrVkRenderTarget::CreateNewRenderTarget(GrVkGpu* gpu, in CreateNewRenderTarget()
204 GrVkRenderTarget::CreateWrappedRenderTarget(GrVkGpu* gpu, in CreateWrappedRenderTarget()
220 void GrVkRenderTarget::createFramebuffer(GrVkGpu* gpu) { in createFramebuffer()
294 GrVkGpu* gpu = this->getVkGpu(); in releaseInternalObjects()
387 GrVkGpu* GrVkRenderTarget::getVkGpu() const { in getVkGpu()
[all …]
DGrVkTextureRenderTarget.h26 static GrVkTextureRenderTarget* CreateNewTextureRenderTarget(GrVkGpu*, const GrSurfaceDesc&,
30 static GrVkTextureRenderTarget* CreateWrappedTextureRenderTarget(GrVkGpu*,
48 GrVkTextureRenderTarget(GrVkGpu* gpu, in GrVkTextureRenderTarget()
64 GrVkTextureRenderTarget(GrVkGpu* gpu, in GrVkTextureRenderTarget()
78 static GrVkTextureRenderTarget* Create(GrVkGpu*, const GrSurfaceDesc&,
DGrVkImage.h16 class GrVkGpu; variable
39 void freeGPUData(const GrVkGpu* gpu) const override;
65 void setImageLayout(const GrVkGpu* gpu, VkImageLayout newLayout,
95 static const Resource* CreateResource(const GrVkGpu* gpu, const ImageDesc& imageDesc);
99 void releaseImage(const GrVkGpu* gpu);
DGrVkStencilAttachment.h16 class GrVkGpu; variable
27 static GrVkStencilAttachment* Create(GrVkGpu* gpu, GrGpuResource::LifeCycle lifeCycle,
45 GrVkStencilAttachment(GrVkGpu* gpu,
52 GrVkGpu* getVkGpu() const;
DGrVkIndexBuffer.cpp11 GrVkIndexBuffer::GrVkIndexBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, in GrVkIndexBuffer()
18 GrVkIndexBuffer* GrVkIndexBuffer::Create(GrVkGpu* gpu, size_t size, bool dynamic) { in Create()
72 GrVkGpu* GrVkIndexBuffer::getVkGpu() const { in getVkGpu()
74 return static_cast<GrVkGpu*>(this->getGpu()); in getVkGpu()
DGrVkVertexBuffer.cpp11 GrVkVertexBuffer::GrVkVertexBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, in GrVkVertexBuffer()
18 GrVkVertexBuffer* GrVkVertexBuffer::Create(GrVkGpu* gpu, size_t size, bool dynamic) { in Create()
71 GrVkGpu* GrVkVertexBuffer::getVkGpu() const { in getVkGpu()
73 return static_cast<GrVkGpu*>(this->getGpu()); in getVkGpu()
DGrVkStencilAttachment.cpp16 GrVkStencilAttachment::GrVkStencilAttachment(GrVkGpu* gpu, in GrVkStencilAttachment()
31 GrVkStencilAttachment* GrVkStencilAttachment::Create(GrVkGpu* gpu, in Create()
84 GrVkGpu* gpu = this->getVkGpu(); in onRelease()
102 GrVkGpu* GrVkStencilAttachment::getVkGpu() const { in getVkGpu()
104 return static_cast<GrVkGpu*>(this->getGpu()); in getVkGpu()
DGrVkResource.h15 class GrVkGpu; variable
96 void unref(const GrVkGpu* gpu) const { in unref()
128 virtual void freeGPUData(const GrVkGpu* gpu) const = 0;
138 void internal_dispose(const GrVkGpu* gpu) const { in internal_dispose()
DGrVkMemory.h13 class GrVkGpu; variable
20 bool AllocAndBindBufferMemory(const GrVkGpu* gpu,
25 bool AllocAndBindImageMemory(const GrVkGpu* gpu,
DGrVkSampler.h16 class GrVkGpu; variable
21 static GrVkSampler* Create(const GrVkGpu* gpu, const GrTextureAccess& textureAccess);
28 void freeGPUData(const GrVkGpu* gpu) const override;

123