| Index: src/gpu/vk/GrVkGpu.h
|
| diff --git a/src/gpu/vk/GrVkGpu.h b/src/gpu/vk/GrVkGpu.h
|
| index b076de29ffc8aee053d884c097ab37bd99c8bd1a..40a47f014e64bc7791e70a5c621e1070afee7dd7 100644
|
| --- a/src/gpu/vk/GrVkGpu.h
|
| +++ b/src/gpu/vk/GrVkGpu.h
|
| @@ -65,8 +65,6 @@ public:
|
| GrPixelConfig srcConfig, DrawPreference*,
|
| WritePixelTempDrawInfo*) override;
|
|
|
| - void discard(GrRenderTarget*) override {}
|
| -
|
| bool onCopySurface(GrSurface* dst,
|
| GrSurface* src,
|
| const SkIRect& srcRect,
|
| @@ -92,7 +90,7 @@ public:
|
|
|
| void clearStencil(GrRenderTarget* target) override;
|
|
|
| - GrGpuCommandBuffer* createCommandBuffer(const GrRenderTarget& target,
|
| + GrGpuCommandBuffer* createCommandBuffer(GrRenderTarget* target,
|
| GrGpuCommandBuffer::LoadAndStoreOp colorOp,
|
| GrColor colorClear,
|
| GrGpuCommandBuffer::LoadAndStoreOp stencilOp,
|
| @@ -117,7 +115,10 @@ public:
|
| return fCompiler;
|
| }
|
|
|
| - void submitSecondaryCommandBuffer(const GrVkSecondaryCommandBuffer*);
|
| + void submitSecondaryCommandBuffer(const GrVkSecondaryCommandBuffer*,
|
| + const GrVkRenderPass*,
|
| + GrVkRenderTarget*,
|
| + const SkIRect& bounds);
|
|
|
| void finishDrawTarget() override;
|
|
|
| @@ -165,15 +166,6 @@ private:
|
| GrBuffer* onCreateBuffer(size_t size, GrBufferType type, GrAccessPattern,
|
| const void* data) override;
|
|
|
| - void onClear(GrRenderTarget*, const SkIRect& rect, GrColor color) override;
|
| -
|
| - void onClearStencilClip(GrRenderTarget*, const SkIRect& rect, bool insideClip) override;
|
| -
|
| - void onDraw(const GrPipeline&,
|
| - const GrPrimitiveProcessor&,
|
| - const GrMesh*,
|
| - int meshCount) override;
|
| -
|
| bool onReadPixels(GrSurface* surface,
|
| int left, int top, int width, int height,
|
| GrPixelConfig,
|
| @@ -191,14 +183,6 @@ private:
|
|
|
| void onResolveRenderTarget(GrRenderTarget* target) override {}
|
|
|
| - sk_sp<GrVkPipelineState> prepareDrawState(const GrPipeline&,
|
| - const GrPrimitiveProcessor&,
|
| - GrPrimitiveType,
|
| - const GrVkRenderPass&);
|
| -
|
| - // Bind vertex and index buffers
|
| - void bindGeometry(const GrPrimitiveProcessor&, const GrNonInstancedMesh&);
|
| -
|
| // Ends and submits the current command buffer to the queue and then creates a new command
|
| // buffer and begins it. If sync is set to kForce_SyncQueue, the function will wait for all
|
| // work in the queue to finish before returning.
|
|
|