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

Unified Diff: src/gpu/effects/GrDashingEffect.h

Issue 1761523002: Retract GrDrawTarget and GrPipelineBuilder a bit more (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 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 | « src/gpu/batches/GrDashLinePathRenderer.cpp ('k') | src/gpu/effects/GrDashingEffect.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/effects/GrDashingEffect.h
diff --git a/src/gpu/effects/GrDashingEffect.h b/src/gpu/effects/GrDashingEffect.h
index 7d0d006f1b56e93ff287cf11dd11ee28cd063c9a..eaa0d0d5b5ffa0981b0127de15141fcc86180689 100644
--- a/src/gpu/effects/GrDashingEffect.h
+++ b/src/gpu/effects/GrDashingEffect.h
@@ -14,15 +14,16 @@
#include "SkPathEffect.h"
class GrClip;
-class GrDrawTarget;
-class GrPaint;
-class GrPipelineBuilder;
+class GrDrawBatch;
class GrStrokeInfo;
namespace GrDashingEffect {
- bool DrawDashLine(GrDrawTarget*, const GrPipelineBuilder&, GrColor,
- const SkMatrix& viewMatrix, const SkPoint pts[2], bool useAA,
- const GrStrokeInfo& strokeInfo);
+ GrDrawBatch* CreateDashLineBatch(GrColor,
+ const SkMatrix& viewMatrix,
+ const SkPoint pts[2],
+ bool useAA,
+ bool msaaIsEnabled,
+ const GrStrokeInfo& strokeInfo);
bool CanDrawDashLine(const SkPoint pts[2], const GrStrokeInfo& strokeInfo,
const SkMatrix& viewMatrix);
}
« no previous file with comments | « src/gpu/batches/GrDashLinePathRenderer.cpp ('k') | src/gpu/effects/GrDashingEffect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698