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

Unified Diff: include/gpu/GrDrawContext.h

Issue 2136643002: Revert of Add choke point for modifying non-AA rect draws (e.g., applying clipping) (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « no previous file | src/gpu/GrClipMaskManager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrDrawContext.h
diff --git a/include/gpu/GrDrawContext.h b/include/gpu/GrDrawContext.h
index 1a7580ea03947db7fb84de27f06545f1fe12fbb2..96f42693b48ef06ce08400cc5d5864f8dfbfbf4a 100644
--- a/include/gpu/GrDrawContext.h
+++ b/include/gpu/GrDrawContext.h
@@ -32,7 +32,6 @@
class GrRenderTarget;
class GrStyle;
class GrSurface;
-struct GrUserStencilSettings;
class SkDrawFilter;
struct SkIPoint;
struct SkIRect;
@@ -323,19 +322,10 @@
const SkRRect& origOuter,
const SkRRect& origInner);
- bool drawFilledRect(const GrClip& clip,
- const GrPaint& paint,
- const SkMatrix& viewMatrix,
- const SkRect& rect,
- const GrUserStencilSettings* ss);
-
- void drawNonAAFilledRect(const GrClip&,
- const GrPaint&,
- const SkMatrix& viewMatrix,
- const SkRect& rect,
- const SkRect* localRect,
- const SkMatrix* localMatrix,
- const GrUserStencilSettings* ss);
+ GrDrawBatch* getFillRectBatch(const GrPaint& paint,
+ const SkMatrix& viewMatrix,
+ const SkRect& rect,
+ bool* useHWAA);
void internalDrawPath(const GrClip& clip,
const GrPaint& paint,
« no previous file with comments | « no previous file | src/gpu/GrClipMaskManager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698