| Index: include/gpu/GrDrawContext.h
|
| diff --git a/include/gpu/GrDrawContext.h b/include/gpu/GrDrawContext.h
|
| index 0f6552c40132d028798a72b8607d49906295c979..552cfd3dc84e100e3df149e5dd316e1ecafd86c3 100644
|
| --- a/include/gpu/GrDrawContext.h
|
| +++ b/include/gpu/GrDrawContext.h
|
| @@ -120,16 +120,13 @@ public:
|
| * @param viewMatrix transformation matrix which applies to rectToDraw
|
| * @param rectToDraw the rectangle to draw
|
| * @param localRect the rectangle of shader coordinates applied to rectToDraw
|
| - * @param localMatrix an optional matrix to transform the shader coordinates before applying
|
| - * to rectToDraw
|
| */
|
| void drawNonAARectToRect(GrRenderTarget*,
|
| const GrClip&,
|
| const GrPaint& paint,
|
| const SkMatrix& viewMatrix,
|
| const SkRect& rectToDraw,
|
| - const SkRect& localRect,
|
| - const SkMatrix* localMatrix = NULL);
|
| + const SkRect& localRect);
|
|
|
| /**
|
| * Draws a non-AA rect with paint and a localMatrix
|
| @@ -139,9 +136,7 @@ public:
|
| const GrPaint& paint,
|
| const SkMatrix& viewMatrix,
|
| const SkRect& rect,
|
| - const SkMatrix& localMatrix) {
|
| - this->drawNonAARectToRect(rt, clip, paint, viewMatrix, rect, rect, &localMatrix);
|
| - }
|
| + const SkMatrix& localMatrix);
|
|
|
| /**
|
| * Draw a roundrect using a paint.
|
|
|