Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(220)

Unified Diff: src/gpu/GrDrawTarget.h

Issue 1579223003: Remove remaining users of draw*Rect calls (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/gpu/GrDrawTarget.h
diff --git a/src/gpu/GrDrawTarget.h b/src/gpu/GrDrawTarget.h
index e64df28ad78e49e57b518191c5b94e98cc7804e1..d16d6e8c450fa9603b69e4e31be357f48d931603 100644
--- a/src/gpu/GrDrawTarget.h
+++ b/src/gpu/GrDrawTarget.h
@@ -122,36 +122,6 @@ public:
void drawPathBatch(const GrPipelineBuilder& pipelineBuilder, GrDrawPathBatchBase* batch);
/**
- * Helper function for drawing rects.
- *
- * @param rect the rect to draw
- * @param localRect optional rect that specifies local coords to map onto
- * rect. If nullptr then rect serves as the local coords.
- * @param localMatrix Optional local matrix. The local coordinates are specified by localRect,
- * or if it is nullptr by rect. This matrix applies to the coordinate implied by
- * that rectangle before it is input to GrCoordTransforms that read local
- * coordinates
- */
- void drawNonAARect(const GrPipelineBuilder& pipelineBuilder,
- GrColor color,
- const SkMatrix& viewMatrix,
- const SkRect& rect);
-
- void drawNonAARect(const GrPipelineBuilder& ds,
- GrColor color,
- const SkMatrix& viewM,
- const SkIRect& irect) {
- SkRect rect = SkRect::Make(irect);
- this->drawNonAARect(ds, color, viewM, rect);
- }
-
- void drawAARect(const GrPipelineBuilder& pipelineBuilder,
- GrColor color,
- const SkMatrix& viewMatrix,
- const SkRect& rect,
- const SkRect& devRect);
-
- /**
* Clear the passed in render target. Ignores the GrPipelineBuilder and clip. Clears the whole
* thing if rect is nullptr, otherwise just the rect. If canIgnoreRect is set then the entire
* render target can be optionally cleared.

Powered by Google App Engine
This is Rietveld 408576698