Index: src/gpu/vk/GrVkGpu.h |
diff --git a/src/gpu/vk/GrVkGpu.h b/src/gpu/vk/GrVkGpu.h |
index 00055ad87c396acab540cc3eada9b04a91a251ae..cd72c69bd472078aa75c2c81568f0ae40b5f4b78 100644 |
--- a/src/gpu/vk/GrVkGpu.h |
+++ b/src/gpu/vk/GrVkGpu.h |
@@ -24,10 +24,11 @@ class GrPipeline; |
class GrNonInstancedMesh; |
class GrVkBufferImpl; |
-class GrVkCommandBuffer; |
class GrVkPipeline; |
class GrVkPipelineState; |
+class GrVkPrimaryCommandBuffer; |
class GrVkRenderPass; |
+class GrVkSecondaryCommandBuffer; |
class GrVkTexture; |
struct GrVkInterface; |
@@ -90,6 +91,12 @@ public: |
void clearStencil(GrRenderTarget* target) override; |
+ GrGpuCommandBuffer* createCommandBuffer(const GrRenderTarget& target, |
+ GrGpuCommandBuffer::LoadAndStoreOp colorOp, |
+ GrColor colorClear, |
+ GrGpuCommandBuffer::LoadAndStoreOp stencilOp, |
+ GrColor stencilClear) override; |
+ |
void drawDebugWireRect(GrRenderTarget*, const SkIRect&, GrColor) override {} |
void addMemoryBarrier(VkPipelineStageFlags srcStageMask, |
@@ -109,6 +116,8 @@ public: |
return fCompiler; |
} |
+ void submitSecondaryCommandBuffer(const GrVkSecondaryCommandBuffer*); |
+ |
void finishDrawTarget() override; |
void generateMipmap(GrVkTexture* tex) const; |