diff options
Diffstat (limited to 'src/gpu/ccpr/GrCCPerFlushResources.cpp')
-rw-r--r-- | src/gpu/ccpr/GrCCPerFlushResources.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/gpu/ccpr/GrCCPerFlushResources.cpp b/src/gpu/ccpr/GrCCPerFlushResources.cpp index a658bf7438..3f02ac75f6 100644 --- a/src/gpu/ccpr/GrCCPerFlushResources.cpp +++ b/src/gpu/ccpr/GrCCPerFlushResources.cpp @@ -38,10 +38,10 @@ GrCCPerFlushResources::GrCCPerFlushResources(GrOnFlushResourceProvider* onFlushR SkDEBUGCODE(fPathInstanceBufferCount = numPathDraws); } -GrCCAtlas* GrCCPerFlushResources::addPathToAtlas(const GrCaps& caps, const SkIRect& clipIBounds, - const SkMatrix& m, const SkPath& path, - SkRect* devBounds, SkRect* devBounds45, - int16_t* atlasOffsetX, int16_t* atlasOffsetY) { +GrCCAtlas* GrCCPerFlushResources::renderPathInAtlas(const GrCaps& caps, const SkIRect& clipIBounds, + const SkMatrix& m, const SkPath& path, + SkRect* devBounds, SkRect* devBounds45, + int16_t* atlasOffsetX, int16_t* atlasOffsetY) { SkASSERT(this->isMapped()); SkIRect devIBounds; fPathParser->parsePath(m, path, devBounds, devBounds45); @@ -49,12 +49,12 @@ GrCCAtlas* GrCCPerFlushResources::addPathToAtlas(const GrCaps& caps, const SkIRe return this->placeParsedPathInAtlas(caps, clipIBounds, devIBounds, atlasOffsetX, atlasOffsetY); } -GrCCAtlas* GrCCPerFlushResources::addDeviceSpacePathToAtlas(const GrCaps& caps, - const SkIRect& clipIBounds, - const SkPath& devPath, - const SkIRect& devPathIBounds, - int16_t* atlasOffsetX, - int16_t* atlasOffsetY) { +GrCCAtlas* GrCCPerFlushResources::renderDeviceSpacePathInAtlas(const GrCaps& caps, + const SkIRect& clipIBounds, + const SkPath& devPath, + const SkIRect& devPathIBounds, + int16_t* atlasOffsetX, + int16_t* atlasOffsetY) { SkASSERT(this->isMapped()); fPathParser->parseDeviceSpacePath(devPath); return this->placeParsedPathInAtlas(caps, clipIBounds, devPathIBounds, atlasOffsetX, |