diff options
Diffstat (limited to 'src/gpu/GrDrawTarget.h')
-rw-r--r-- | src/gpu/GrDrawTarget.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/gpu/GrDrawTarget.h b/src/gpu/GrDrawTarget.h index 18265c8fb7..1b6651716c 100644 --- a/src/gpu/GrDrawTarget.h +++ b/src/gpu/GrDrawTarget.h @@ -677,7 +677,7 @@ protected: // Makes a copy of the dst if it is necessary for the draw. Returns false if a copy is required // but couldn't be made. Otherwise, returns true. This method needs to be protected because it // needs to be accessed by GLPrograms to setup a correct drawstate - bool setupDstReadIfNecessary(GrPipelineBuilder*, + bool setupDstReadIfNecessary(const GrPipelineBuilder&, GrDeviceCoordTexture* dstCopy, const SkRect* drawBounds); @@ -720,12 +720,11 @@ private: virtual void onDraw(const GrPipelineBuilder&, const GrGeometryProcessor*, const DrawInfo&, - const GrScissorState&, - const GrDeviceCoordTexture* dstCopy) = 0; + const GrScissorState&) = 0; virtual void onDrawBatch(GrBatch*, const GrPipelineBuilder&, const GrScissorState&, - const GrDeviceCoordTexture* dstCopy) = 0; + const SkRect* devBounds) = 0; // TODO copy in order drawbuffer onDrawRect to here virtual void onDrawRect(GrPipelineBuilder*, GrColor color, @@ -744,7 +743,7 @@ private: const GrPath*, const GrScissorState&, const GrStencilSettings&, - const GrDeviceCoordTexture* dstCopy) = 0; + const SkRect* devBounds) = 0; virtual void onDrawPaths(const GrPipelineBuilder&, const GrPathProcessor*, const GrPathRange*, @@ -755,7 +754,7 @@ private: int count, const GrScissorState&, const GrStencilSettings&, - const GrDeviceCoordTexture*) = 0; + const SkRect* devBounds) = 0; virtual void onClear(const SkIRect* rect, GrColor color, bool canIgnoreRect, GrRenderTarget* renderTarget) = 0; |