make GrTextBlob::addMultiMaskFormat private

Change-Id: Ie3592487d18a719f5ca6a226c971e30c2c01c139
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/374359
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Herb Derby <herb@google.com>
This commit is contained in:
Herb Derby 2021-02-23 13:33:12 -05:00
parent b34a896c12
commit d15c52d233

View File

@ -414,12 +414,6 @@ public:
const Key& key() const;
size_t size() const;
template<typename AddSingleMaskFormat>
void addMultiMaskFormat(
AddSingleMaskFormat addSingle,
const SkZip<SkGlyphVariant, SkPoint>& drawables,
const SkStrikeSpec& strikeSpec);
GrSubRunList& subRunList() {
return fSubRunList;
}
@ -427,6 +421,12 @@ public:
private:
GrTextBlob(int allocSize, const SkMatrix& drawMatrix, SkColor initialLuminance);
template<typename AddSingleMaskFormat>
void addMultiMaskFormat(
AddSingleMaskFormat addSingle,
const SkZip<SkGlyphVariant, SkPoint>& drawables,
const SkStrikeSpec& strikeSpec);
// Methods to satisfy SkGlyphRunPainterInterface
void processDeviceMasks(const SkZip<SkGlyphVariant, SkPoint>& drawables,
const SkStrikeSpec& strikeSpec) override;