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

Unified Diff: src/gpu/GrClipMaskManager.cpp

Issue 1087323002: Implement caching in the tessellating path renderer, including strokes. Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: NULL -> nullptr Created 5 years, 4 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/GrBlurUtils.cpp ('k') | src/gpu/GrDrawContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrClipMaskManager.cpp
diff --git a/src/gpu/GrClipMaskManager.cpp b/src/gpu/GrClipMaskManager.cpp
index 3363795108fd721aec12fa66595f17c85e176b47..3e74c809ee4c9b2112a19b58b1235f4cfe54deb3 100644
--- a/src/gpu/GrClipMaskManager.cpp
+++ b/src/gpu/GrClipMaskManager.cpp
@@ -441,6 +441,8 @@ bool GrClipMaskManager::drawElement(GrPipelineBuilder* pipelineBuilder,
args.fPath = &path;
args.fStroke = &stroke;
args.fAntiAlias = element->isAA();
+ args.fOrigSrcPath = nullptr;
+ args.fOrigStrokeInfo = nullptr;
pr->drawPath(args);
break;
}
@@ -845,6 +847,8 @@ bool GrClipMaskManager::createStencilClipMask(GrRenderTarget* rt,
args.fPath = &clipPath;
args.fStroke = &stroke;
args.fAntiAlias = false;
+ args.fOrigSrcPath = nullptr;
+ args.fOrigStrokeInfo = nullptr;
pr->drawPath(args);
} else {
GrPathRenderer::StencilPathArgs args;
@@ -883,6 +887,8 @@ bool GrClipMaskManager::createStencilClipMask(GrRenderTarget* rt,
args.fPath = &clipPath;
args.fStroke = &stroke;
args.fAntiAlias = false;
+ args.fOrigSrcPath = nullptr;
+ args.fOrigStrokeInfo = nullptr;
pr->drawPath(args);
}
} else {
« no previous file with comments | « src/gpu/GrBlurUtils.cpp ('k') | src/gpu/GrDrawContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698