diff options
author | 2015-07-08 07:55:59 -0700 | |
---|---|---|
committer | 2015-07-08 07:55:59 -0700 | |
commit | f5179a4c490bc787190321bd8ffdb0e6a4efa9ac (patch) | |
tree | 8b0d83f3f1d95963be2fa3657db6647d12f2be6c /src/gpu/GrDefaultGeoProcFactory.h | |
parent | cc97ece0583b1b1edb8f39d6dc32360d364a0171 (diff) |
Makes GrPipelineInfo a class with query functions used by GrBatch subclasses.
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); |