Remove unused buffer call for SkGlyphRunPaint
Change-Id: Ic9cad12704dc4dd7e52789c5a6fabc224a1a0cdd Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259296 Commit-Queue: Herb Derby <herb@google.com> Commit-Queue: Mike Klein <mtklein@google.com> Auto-Submit: Herb Derby <herb@google.com> Reviewed-by: Mike Klein <mtklein@google.com>
This commit is contained in:
parent
7c00778b20
commit
a5909925e3
@ -256,11 +256,6 @@ auto SkGlyphRunListPainter::ensureBuffers(const SkGlyphRunList& glyphRunList) ->
|
|||||||
return ScopedBuffers(this, size);
|
return ScopedBuffers(this, size);
|
||||||
}
|
}
|
||||||
|
|
||||||
SkGlyphRunListPainter::ScopedBuffers
|
|
||||||
SkGlyphRunListPainter::ensureBuffers(const SkGlyphRun& glyphRun) {
|
|
||||||
return ScopedBuffers(this, glyphRun.runSize());
|
|
||||||
}
|
|
||||||
|
|
||||||
#if SK_SUPPORT_GPU
|
#if SK_SUPPORT_GPU
|
||||||
// -- GrTextContext --------------------------------------------------------------------------------
|
// -- GrTextContext --------------------------------------------------------------------------------
|
||||||
SkPMColor4f generate_filtered_color(const SkPaint& paint, const GrColorInfo& colorInfo) {
|
SkPMColor4f generate_filtered_color(const SkPaint& paint, const GrColorInfo& colorInfo) {
|
||||||
|
@ -102,9 +102,6 @@ private:
|
|||||||
|
|
||||||
ScopedBuffers SK_WARN_UNUSED_RESULT ensureBuffers(const SkGlyphRunList& glyphRunList);
|
ScopedBuffers SK_WARN_UNUSED_RESULT ensureBuffers(const SkGlyphRunList& glyphRunList);
|
||||||
|
|
||||||
// TODO: Remove once I can hoist ensureBuffers above the list for loop in all cases.
|
|
||||||
ScopedBuffers SK_WARN_UNUSED_RESULT ensureBuffers(const SkGlyphRun& glyphRun);
|
|
||||||
|
|
||||||
// The props as on the actual device.
|
// The props as on the actual device.
|
||||||
const SkSurfaceProps fDeviceProps;
|
const SkSurfaceProps fDeviceProps;
|
||||||
// The props for when the bitmap device can't draw LCD text.
|
// The props for when the bitmap device can't draw LCD text.
|
||||||
|
Loading…
Reference in New Issue
Block a user