| Index: src/gpu/GrDrawTarget.h
|
| diff --git a/src/gpu/GrDrawTarget.h b/src/gpu/GrDrawTarget.h
|
| index 1b6651716c3f2f0fcc54f58f8f8159b01e63ca32..18265c8fb7dde9c67650965962bbf09b587c24e3 100644
|
| --- a/src/gpu/GrDrawTarget.h
|
| +++ b/src/gpu/GrDrawTarget.h
|
| @@ -677,7 +677,7 @@
|
| // 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(const GrPipelineBuilder&,
|
| + bool setupDstReadIfNecessary(GrPipelineBuilder*,
|
| GrDeviceCoordTexture* dstCopy,
|
| const SkRect* drawBounds);
|
|
|
| @@ -720,11 +720,12 @@
|
| virtual void onDraw(const GrPipelineBuilder&,
|
| const GrGeometryProcessor*,
|
| const DrawInfo&,
|
| - const GrScissorState&) = 0;
|
| + const GrScissorState&,
|
| + const GrDeviceCoordTexture* dstCopy) = 0;
|
| virtual void onDrawBatch(GrBatch*,
|
| const GrPipelineBuilder&,
|
| const GrScissorState&,
|
| - const SkRect* devBounds) = 0;
|
| + const GrDeviceCoordTexture* dstCopy) = 0;
|
| // TODO copy in order drawbuffer onDrawRect to here
|
| virtual void onDrawRect(GrPipelineBuilder*,
|
| GrColor color,
|
| @@ -743,7 +744,7 @@
|
| const GrPath*,
|
| const GrScissorState&,
|
| const GrStencilSettings&,
|
| - const SkRect* devBounds) = 0;
|
| + const GrDeviceCoordTexture* dstCopy) = 0;
|
| virtual void onDrawPaths(const GrPipelineBuilder&,
|
| const GrPathProcessor*,
|
| const GrPathRange*,
|
| @@ -754,7 +755,7 @@
|
| int count,
|
| const GrScissorState&,
|
| const GrStencilSettings&,
|
| - const SkRect* devBounds) = 0;
|
| + const GrDeviceCoordTexture*) = 0;
|
|
|
| virtual void onClear(const SkIRect* rect, GrColor color, bool canIgnoreRect,
|
| GrRenderTarget* renderTarget) = 0;
|
|
|