diff options
author | bsalomon <bsalomon@google.com> | 2015-07-08 10:20:21 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-08 10:20:21 -0700 |
commit | d07a2793baea42956d27b3ad47ed562f08e4570a (patch) | |
tree | 43f0a8ac998e1fc05b7063e65c3f69317f209e68 /src/gpu/GrDefaultGeoProcFactory.h | |
parent | 60c047557559e5410063452e59d65377e813e5f2 (diff) |
Revert of Rework GrPipelineInfo (patchset #7 id:120001 of https://codereview.chromium.org/1213383005/)
Reason for revert:
breaking stuff!
Original issue's description:
> Makes GrPipelineInfo a class with query functions used by GrBatch subclasses.
>
> Committed: https://skia.googlesource.com/skia/+/f5179a4c490bc787190321bd8ffdb0e6a4efa9ac
TBR=joshualitt@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
Review URL: https://codereview.chromium.org/1213013003
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 00fd0bce6b..3722a320ce 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 separately 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 seperately 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 localCoordsWillBeRead, - bool coverageWillBeIgnored, + bool usesLocalCoords, + bool coverageIgnored, const SkMatrix& viewMatrix = SkMatrix::I(), const SkMatrix& localMatrix = SkMatrix::I(), uint8_t coverage = 0xff); |