| Index: src/gpu/gl/GrGLPath.cpp
|
| diff --git a/src/gpu/gl/GrGLPath.cpp b/src/gpu/gl/GrGLPath.cpp
|
| index ed5a31d9d2f67bf97d90c702c8d2327160e79e48..e2d4703688d61ac1c6a9d33292ca55c47d06bbed 100644
|
| --- a/src/gpu/gl/GrGLPath.cpp
|
| +++ b/src/gpu/gl/GrGLPath.cpp
|
| @@ -333,6 +333,12 @@ GrGLPath::GrGLPath(GrGLGpu* gpu, const SkPath& origSkPath, const GrStrokeInfo& o
|
| this->registerWithCache(SkBudgeted::kYes);
|
| }
|
|
|
| +bool GrGLPath::canCombineDrawPathBatchWith(const GrPath& o) const {
|
| + const GrGLPath* other = static_cast<const GrGLPath*>(&o);
|
| + return fShouldStroke == other->fShouldStroke &&
|
| + fShouldFill == other->fShouldFill;
|
| +}
|
| +
|
| void GrGLPath::onRelease() {
|
| if (0 != fPathID) {
|
| static_cast<GrGLGpu*>(this->getGpu())->glPathRendering()->deletePaths(fPathID, 1);
|
|
|