aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrAAHairLinePathRenderer.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-05-24 12:42:24 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-05-24 12:42:24 +0000
commit8a4fc40b02fa0a8300ade26863f4ddae69197d62 (patch)
tree0d5663f1530ce7bc35be68c85cee855163fc94ae /src/gpu/GrAAHairLinePathRenderer.cpp
parent65f9f0a1664a9cb38157ccfbcc3e0e936af0a58e (diff)
Updated useSWOnlyPath method to use path chain instead of raw path renderer methods
Diffstat (limited to 'src/gpu/GrAAHairLinePathRenderer.cpp')
-rw-r--r--src/gpu/GrAAHairLinePathRenderer.cpp15
1 files changed, 4 insertions, 11 deletions
diff --git a/src/gpu/GrAAHairLinePathRenderer.cpp b/src/gpu/GrAAHairLinePathRenderer.cpp
index 94d94a378a..701bf3a08d 100644
--- a/src/gpu/GrAAHairLinePathRenderer.cpp
+++ b/src/gpu/GrAAHairLinePathRenderer.cpp
@@ -574,10 +574,10 @@ bool GrAAHairLinePathRenderer::createGeom(
return true;
}
-bool GrAAHairLinePathRenderer::staticCanDrawPath(const SkPath& path,
- GrPathFill fill,
- const GrDrawTarget* target,
- bool antiAlias) {
+bool GrAAHairLinePathRenderer::canDrawPath(const SkPath& path,
+ GrPathFill fill,
+ const GrDrawTarget* target,
+ bool antiAlias) const {
if (fill != kHairLine_PathFill || !antiAlias) {
return false;
}
@@ -591,13 +591,6 @@ bool GrAAHairLinePathRenderer::staticCanDrawPath(const SkPath& path,
return true;
}
-bool GrAAHairLinePathRenderer::canDrawPath(const SkPath& path,
- GrPathFill fill,
- const GrDrawTarget* target,
- bool antiAlias) const {
- return staticCanDrawPath(path, fill, target, antiAlias);
-}
-
bool GrAAHairLinePathRenderer::onDrawPath(const SkPath& path,
GrPathFill fill,
const GrVec* translate,