commit | b4f9d0ec6cc95ce46f9351fee5adaffcfa729e38 | [log] [tgz] |
---|---|---|
author | senorblanco <senorblanco@chromium.org> | Thu Aug 06 10:28:55 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Thu Aug 06 10:28:55 2015 -0700 |
tree | 8228bd16c5d42c782475409f49c6dd9d14a77b52 | |
parent | e47829b6b1eeb6b0c97ccb3df3016d197046824c [diff] [blame] |
Implement caching of stroked paths in the tessellating path renderer. This requires adding the stroke info to the cache key, and doing the stroking and dashing before rendering as triangles. BUG=skia:3755 Committed: https://skia.googlesource.com/skia/+/29e0d3f267a03546f236023347cdb4595ece2fd1 Review URL: https://codereview.chromium.org/1275553002
diff --git a/include/gpu/GrTestUtils.h b/include/gpu/GrTestUtils.h index 6fed7e1..91f36ea 100644 --- a/include/gpu/GrTestUtils.h +++ b/include/gpu/GrTestUtils.h
@@ -16,6 +16,7 @@ #include "SkRandom.h" #include "SkStrokeRec.h" +class GrStrokeInfo; class SkMatrix; class SkPath; class SkRRect; @@ -35,6 +36,7 @@ const SkPath& TestPath(SkRandom*); const SkPath& TestPathConvex(SkRandom*); SkStrokeRec TestStrokeRec(SkRandom*); +GrStrokeInfo TestStrokeInfo(SkRandom*); }