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

Unified Diff: src/gpu/GrShape.cpp

Issue 2355833002: Stop closing filled paths in GrShape (Closed)
Patch Set: Fix MSAA path renderer to use closing iterator Created 4 years, 3 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/batches/GrMSAAPathRenderer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrShape.cpp
diff --git a/src/gpu/GrShape.cpp b/src/gpu/GrShape.cpp
index 65c982571d48bf7110bcce1a2d91883402703655..582858e1d9608b506669ecb3ee9ae7a9c5c4c55d 100644
--- a/src/gpu/GrShape.cpp
+++ b/src/gpu/GrShape.cpp
@@ -361,10 +361,6 @@ void GrShape::attemptToSimplifyPath() {
} 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) {
« no previous file with comments | « no previous file | src/gpu/batches/GrMSAAPathRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698