Lines Matching refs:GrVkGpu
11 #include "GrVkGpu.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,
94 void drawIndexed(const GrVkGpu* gpu,
101 void draw(const GrVkGpu* gpu,
131 void releaseResources(GrVkGpu* gpu);
173 void freeGPUData(GrVkGpu* gpu) const final override;
174 virtual void onFreeGPUData(GrVkGpu* gpu) const = 0;
178 virtual void onReleaseResources(GrVkGpu* gpu) {}
208 static GrVkPrimaryCommandBuffer* Create(const GrVkGpu* gpu, GrVkCommandPool* cmdPool);
210 void begin(const GrVkGpu* gpu);
211 void end(GrVkGpu* gpu);
215 void beginRenderPass(const GrVkGpu* gpu,
221 void endRenderPass(const GrVkGpu* gpu);
226 void executeCommands(const GrVkGpu* gpu,
230 void clearColorImage(const GrVkGpu* gpu,
236 void clearDepthStencilImage(const GrVkGpu* gpu,
242 void copyImage(const GrVkGpu* gpu,
250 void blitImage(const GrVkGpu* gpu,
261 void blitImage(const GrVkGpu* gpu,
268 void copyImageToBuffer(const GrVkGpu* gpu,
275 void copyBufferToImage(const GrVkGpu* gpu,
282 void copyBuffer(GrVkGpu* gpu,
288 void updateBuffer(GrVkGpu* gpu,
294 void resolveImage(GrVkGpu* gpu,
300 void submitToQueue(const GrVkGpu* gpu, VkQueue queue, GrVkGpu::SyncQueue sync,
303 bool finished(const GrVkGpu* gpu) const;
318 void onFreeGPUData(GrVkGpu* gpu) const override;
322 void onReleaseResources(GrVkGpu* gpu) override;
332 static GrVkSecondaryCommandBuffer* Create(const GrVkGpu* gpu, GrVkCommandPool* cmdPool);
336 void begin(const GrVkGpu* gpu, const GrVkFramebuffer* framebuffer,
338 void end(GrVkGpu* gpu);
352 void onFreeGPUData(GrVkGpu* gpu) const override {}