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

Unified Diff: src/gpu/GrPathProcessor.cpp

Issue 1337513002: Late creation of GrPathProcessor (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: tweaks Created 5 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 | « src/gpu/GrPathProcessor.h ('k') | src/gpu/GrStencilAndCoverTextContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrPathProcessor.cpp
diff --git a/src/gpu/GrPathProcessor.cpp b/src/gpu/GrPathProcessor.cpp
index b6f174d8015d0cfcda762a2f36db7cc7b81786a7..ca63eac53dc6474c4e22713325ff4d3d9d8285cb 100644
--- a/src/gpu/GrPathProcessor.cpp
+++ b/src/gpu/GrPathProcessor.cpp
@@ -13,12 +13,14 @@
#include "glsl/GrGLSLCaps.h"
GrPathProcessor::GrPathProcessor(GrColor color,
+ const GrPipelineOptimizations& opts,
const SkMatrix& viewMatrix,
const SkMatrix& localMatrix)
: INHERITED(true)
, fColor(color)
, fViewMatrix(viewMatrix)
- , fLocalMatrix(localMatrix) {
+ , fLocalMatrix(localMatrix)
+ , fOpts(opts) {
this->initClassID<GrPathProcessor>();
}
« no previous file with comments | « src/gpu/GrPathProcessor.h ('k') | src/gpu/GrStencilAndCoverTextContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698