Revert "rename MakePath to Make"
This reverts commit 36132b2aea
.
Reason for revert: Draws so wrong.
Original change's description:
> rename MakePath to Make
>
> Change-Id: Ibdee0835308401fce99ff9e4d98486c4808f84a2
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/302683
> Reviewed-by: Herb Derby <herb@google.com>
> Commit-Queue: Herb Derby <herb@google.com>
TBR=herb@google.com,robertphillips@google.com
Change-Id: I6af8bca927fd791b6b5020b0ac14660e206f640c
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/302776
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Herb Derby <herb@google.com>
This commit is contained in:
parent
36132b2aea
commit
9421094d01
@ -108,7 +108,7 @@ void GrPathSubRun::draw(const GrClip* clip,
|
||||
}
|
||||
|
||||
|
||||
auto GrPathSubRun::Make(
|
||||
auto GrPathSubRun::MakePaths(
|
||||
const SkZip<SkGlyphVariant, SkPoint>& drawables,
|
||||
bool isAntiAliased,
|
||||
const SkStrikeSpec& strikeSpec,
|
||||
@ -870,10 +870,10 @@ void GrTextBlob::processSourcePaths(const SkZip<SkGlyphVariant, SkPoint>& drawab
|
||||
const SkFont& runFont,
|
||||
const SkStrikeSpec& strikeSpec) {
|
||||
this->setHasBitmap();
|
||||
GrSubRun* subRun = GrPathSubRun::Make(drawables,
|
||||
runFont.hasSomeAntiAliasing(),
|
||||
strikeSpec,
|
||||
&fAlloc);
|
||||
GrSubRun* subRun = GrPathSubRun::MakePaths(drawables,
|
||||
runFont.hasSomeAntiAliasing(),
|
||||
strikeSpec,
|
||||
&fAlloc);
|
||||
this->insertSubRun(subRun);
|
||||
}
|
||||
|
||||
|
@ -204,10 +204,10 @@ public:
|
||||
const SkGlyphRunList& glyphRunList,
|
||||
GrRenderTargetContext* rtc) override;
|
||||
|
||||
static GrSubRun* Make(const SkZip<SkGlyphVariant, SkPoint>& drawables,
|
||||
bool isAntiAliased,
|
||||
const SkStrikeSpec& strikeSpec,
|
||||
SkArenaAlloc* alloc);
|
||||
static GrSubRun* MakePaths(const SkZip<SkGlyphVariant, SkPoint>& drawables,
|
||||
bool isAntiAliased,
|
||||
const SkStrikeSpec& strikeSpec,
|
||||
SkArenaAlloc* alloc);
|
||||
|
||||
private:
|
||||
struct PathGlyph {
|
||||
|
Loading…
Reference in New Issue
Block a user