This can force a copy of the path data and isn't really being taken advantage of. It complicates a forthcoming change to key small paths based on their data rather than gen id.
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=
2355833002
Review-Url: https://codereview.chromium.org/
2355833002
} else {
fPathData.fGenID = this->path().getGenerationID();
}
- if (this->style().isSimpleFill()) {
- this->path().close();
- this->path().setIsVolatile(true);
- }
if (!this->style().hasNonDashPathEffect()) {
if (this->style().strokeRec().getStyle() == SkStrokeRec::kStroke_Style ||
this->style().strokeRec().getStyle() == SkStrokeRec::kHairline_Style) {