diff options
author | bsalomon <bsalomon@google.com> | 2015-07-08 11:26:37 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-08 11:26:37 -0700 |
commit | 7765a477ee3ca5e2c6ada1e16c31dfaae2079240 (patch) | |
tree | 3113544da7de570eb1100fd80d8e467dce424760 /src/gpu/GrDefaultGeoProcFactory.h | |
parent | c1d1dd738e8dda1dd439f8e2b065ec73b5c12b51 (diff) |
Makes GrPipelineInfo a class with query functions used by GrBatch subclasses.
Committed: https://skia.googlesource.com/skia/+/f5179a4c490bc787190321bd8ffdb0e6a4efa9ac
Review URL: https://codereview.chromium.org/1213383005
Diffstat (limited to 'src/gpu/GrDefaultGeoProcFactory.h')
-rw-r--r-- | src/gpu/GrDefaultGeoProcFactory.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gpu/GrDefaultGeoProcFactory.h b/src/gpu/GrDefaultGeoProcFactory.h index 3722a320ce..00fd0bce6b 100644 --- a/src/gpu/GrDefaultGeoProcFactory.h +++ b/src/gpu/GrDefaultGeoProcFactory.h @@ -74,17 +74,17 @@ public: }; /* - * The following functions are used to create default GPs. If you just need to create - * attributes seperately from creating the default GP, use the SetAttribs function followed - * by the Create function. Otherwise use CreateAndSetAttribs to do both at once. + * The following functions are used to create default GPs. If you just need to create + * attributes separately from creating the default GP, use the SetAttribs function followed + * by the Create function. Otherwise use CreateAndSetAttribs to do both at once. * * You must unref the return from Create. */ // TODO clean this up static const GrGeometryProcessor* Create(uint32_t gpTypeFlags, GrColor, - bool usesLocalCoords, - bool coverageIgnored, + bool localCoordsWillBeRead, + bool coverageWillBeIgnored, const SkMatrix& viewMatrix = SkMatrix::I(), const SkMatrix& localMatrix = SkMatrix::I(), uint8_t coverage = 0xff); |