update sampleapp for stroking experiment
Add RotateCircles3 back as better-named QuadStroker.
Switch pathfill test to call skia before draw instead of in
initializer to avoid triggering debugging breakpoints.
Review URL: https://codereview.chromium.org/912273003
diff --git a/gm/pathfill.cpp b/gm/pathfill.cpp
index 6b37c66..461a4f5 100644
--- a/gm/pathfill.cpp
+++ b/gm/pathfill.cpp
@@ -117,14 +117,13 @@
class PathFillGM : public skiagm::GM {
SkPath fPath[N];
SkScalar fDY[N];
-public:
- PathFillGM() {
+protected:
+ void onOnceBeforeDraw() SK_OVERRIDE {
for (size_t i = 0; i < N; i++) {
fDY[i] = gProcs[i](&fPath[i]);
}
}
-protected:
SkString onShortName() SK_OVERRIDE {
return SkString("pathfill");
@@ -152,15 +151,13 @@
class PathInverseFillGM : public skiagm::GM {
SkPath fPath[N];
SkScalar fDY[N];
-public:
- PathInverseFillGM() {
+protected:
+ void onOnceBeforeDraw() SK_OVERRIDE {
for (size_t i = 0; i < N; i++) {
fDY[i] = gProcs[i](&fPath[i]);
}
}
-protected:
-
SkString onShortName() SK_OVERRIDE {
return SkString("pathinvfill");
}