aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrPathRendering.h
diff options
context:
space:
mode:
authorGravatar Herb Derby <herb@google.com>2018-03-05 15:23:32 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-03-05 21:06:35 +0000
commit974aa8eaba6ca7df70ef498ce6e72a80390bfa00 (patch)
tree77b903dc5f0140fe0981b4a14e4d057ad1bdc6c3 /src/gpu/GrPathRendering.h
parent9d28974d16d13f847d11400a82f5169523feed28 (diff)
Remove routines no longer needed since stripping NVPR
Change-Id: Ia1a545cc5c52d9af654f980083803ece39a92614 Reviewed-on: https://skia-review.googlesource.com/112260 Reviewed-by: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Herb Derby <herb@google.com>
Diffstat (limited to 'src/gpu/GrPathRendering.h')
-rw-r--r--src/gpu/GrPathRendering.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/gpu/GrPathRendering.h b/src/gpu/GrPathRendering.h
index c32e7891b5..e3d9731130 100644
--- a/src/gpu/GrPathRendering.h
+++ b/src/gpu/GrPathRendering.h
@@ -100,36 +100,6 @@ public:
*/
virtual sk_sp<GrPathRange> createPathRange(GrPathRange::PathGenerator*, const GrStyle&) = 0;
- /**
- * Creates a range of glyph paths, indexed by glyph id. The glyphs will have an
- * inverted y-direction in order to match the raw font path data.
- *
- * @param SkTypeface Typeface that defines the glyphs.
- * If null, the default typeface will be used.
- *
- * @param SkDescriptor Additional font configuration that specifies the font's size,
- * stroke, and other flags. This will generally come from an
- * SkGlyphCache.
- *
- * It is recommended to leave this value null when possible, in
- * which case the glyphs will be loaded directly from the font's
- * raw path data and sized at SkPaint::kCanonicalTextSizeForPaths.
- * This will result in less memory usage and more efficient paths.
- *
- * If non-null, the glyph paths will match the font descriptor,
- * including with the stroke information baked directly into
- * the outlines.
- *
- * @param GrStyle Common style that the GPU will apply to every path. Note that
- * if the glyph outlines contain baked-in styles from the font
- * descriptor, the GPU style will be applied on top of those
- * outlines.
- *
- * @return a new path range populated with glyphs.
- */
- sk_sp<GrPathRange> createGlyphs(const SkTypeface*, const SkScalerContextEffects&,
- const SkDescriptor*, const GrStyle&);
-
/** None of these params are optional, pointers used just to avoid making copies. */
struct StencilPathArgs {
StencilPathArgs(bool useHWAA,