aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrDefaultGeoProcFactory.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-07-08 07:55:59 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-07-08 07:55:59 -0700
commitf5179a4c490bc787190321bd8ffdb0e6a4efa9ac (patch)
tree8b0d83f3f1d95963be2fa3657db6647d12f2be6c /src/gpu/GrDefaultGeoProcFactory.h
parentcc97ece0583b1b1edb8f39d6dc32360d364a0171 (diff)
Makes GrPipelineInfo a class with query functions used by GrBatch subclasses.
Diffstat (limited to 'src/gpu/GrDefaultGeoProcFactory.h')
-rw-r--r--src/gpu/GrDefaultGeoProcFactory.h10
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);