Index: src/gpu/GrCommandBuilder.h |
diff --git a/src/gpu/GrCommandBuilder.h b/src/gpu/GrCommandBuilder.h |
index 1b6d5e0a224c38baa9310e051b1c18952b91d074..15237fbf909c0bb9fcd495a103198d5e88e69397 100644 |
--- a/src/gpu/GrCommandBuilder.h |
+++ b/src/gpu/GrCommandBuilder.h |
@@ -28,7 +28,7 @@ public: |
bool insideClip, |
GrRenderTarget* renderTarget); |
virtual Cmd* recordDiscard(GrRenderTarget*); |
- virtual Cmd* recordDrawBatch(GrBatch*) = 0; |
+ virtual Cmd* recordDrawBatch(GrBatch*, const GrCaps&) = 0; |
virtual Cmd* recordStencilPath(const GrPipelineBuilder&, |
const GrPathProcessor*, |
const GrPath*, |
@@ -56,7 +56,6 @@ public: |
GrSurface* src, |
const SkIRect& srcRect, |
const SkIPoint& dstPoint); |
- virtual Cmd* recordXferBarrierIfNecessary(const GrPipeline&, const GrCaps&); |
protected: |
typedef GrTargetCommands::DrawBatch DrawBatch; |
@@ -66,7 +65,6 @@ protected: |
typedef GrTargetCommands::Clear Clear; |
typedef GrTargetCommands::ClearStencilClip ClearStencilClip; |
typedef GrTargetCommands::CopySurface CopySurface; |
- typedef GrTargetCommands::XferBarrier XferBarrier; |
GrCommandBuilder(GrGpu* gpu) : fCommands(gpu) {} |