joshualitt | 374b2f7 | 2015-07-21 08:05:03 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2015 Google Inc. |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license that can be |
| 5 | * found in the LICENSE file. |
| 6 | */ |
| 7 | |
Herb Derby | 8624059 | 2018-05-24 16:12:31 -0400 | [diff] [blame] | 8 | #ifndef GrTextBlob_DEFINED |
| 9 | #define GrTextBlob_DEFINED |
joshualitt | 374b2f7 | 2015-07-21 08:05:03 -0700 | [diff] [blame] | 10 | |
Robert Phillips | 51b3e60 | 2020-04-09 12:48:50 -0400 | [diff] [blame] | 11 | #include <limits> |
| 12 | |
Mike Klein | c0bd9f9 | 2019-04-23 12:05:21 -0500 | [diff] [blame] | 13 | #include "include/core/SkPoint3.h" |
Robert Phillips | 51b3e60 | 2020-04-09 12:48:50 -0400 | [diff] [blame] | 14 | #include "include/core/SkRefCnt.h" |
| 15 | #include "src/core/SkGlyphRunPainter.h" |
| 16 | #include "src/core/SkIPoint16.h" |
Mike Klein | c0bd9f9 | 2019-04-23 12:05:21 -0500 | [diff] [blame] | 17 | #include "src/core/SkMaskFilterBase.h" |
| 18 | #include "src/core/SkOpts.h" |
| 19 | #include "src/core/SkRectPriv.h" |
Herb Derby | e7efd08 | 2019-05-28 11:30:33 -0400 | [diff] [blame] | 20 | #include "src/core/SkStrikeSpec.h" |
Robert Phillips | 51b3e60 | 2020-04-09 12:48:50 -0400 | [diff] [blame] | 21 | #include "src/core/SkTLazy.h" |
Greg Daniel | f91aeb2 | 2019-06-18 09:58:02 -0400 | [diff] [blame] | 22 | #include "src/gpu/GrColor.h" |
Mike Klein | c0bd9f9 | 2019-04-23 12:05:21 -0500 | [diff] [blame] | 23 | #include "src/gpu/GrDrawOpAtlas.h" |
Herb Derby | d68ad7d | 2020-07-13 15:08:32 -0400 | [diff] [blame] | 24 | #include "src/gpu/ops/GrMeshDrawOp.h" |
Herb Derby | c1cde36 | 2020-07-17 14:07:00 -0400 | [diff] [blame] | 25 | #include "src/gpu/text/GrStrikeCache.h" |
joshualitt | 374b2f7 | 2015-07-21 08:05:03 -0700 | [diff] [blame] | 26 | |
Robert Phillips | c4039ea | 2018-03-01 11:36:45 -0500 | [diff] [blame] | 27 | class GrAtlasManager; |
Herb Derby | 660c2ff | 2019-11-14 18:22:41 -0500 | [diff] [blame] | 28 | class GrAtlasTextOp; |
Robert Phillips | 51b3e60 | 2020-04-09 12:48:50 -0400 | [diff] [blame] | 29 | class GrDeferredUploadTarget; |
Herb Derby | 4a1f5fc | 2020-07-10 16:39:28 -0400 | [diff] [blame] | 30 | class GrDrawOp; |
Robert Phillips | 5fa68b4 | 2020-03-31 08:34:22 -0400 | [diff] [blame] | 31 | class GrGlyph; |
Robert Phillips | 41bd97d | 2020-04-07 14:19:37 -0400 | [diff] [blame] | 32 | class GrStrikeCache; |
Herb Derby | 3d00a97 | 2020-07-14 11:43:14 -0400 | [diff] [blame] | 33 | class GrSubRun; |
Robert Phillips | c4039ea | 2018-03-01 11:36:45 -0500 | [diff] [blame] | 34 | |
Brian Osman | 449b115 | 2020-04-15 16:43:00 -0400 | [diff] [blame] | 35 | class SkMatrixProvider; |
Robert Phillips | 41bd97d | 2020-04-07 14:19:37 -0400 | [diff] [blame] | 36 | class SkSurfaceProps; |
joshualitt | 2e2202e | 2015-12-10 11:22:08 -0800 | [diff] [blame] | 37 | class SkTextBlob; |
| 38 | class SkTextBlobRunIterator; |
| 39 | |
Herb Derby | c514e7d | 2019-12-11 17:00:31 -0500 | [diff] [blame] | 40 | // A GrTextBlob contains a fully processed SkTextBlob, suitable for nearly immediate drawing |
| 41 | // on the GPU. These are initially created with valid positions and colors, but invalid |
| 42 | // texture coordinates. |
| 43 | // |
| 44 | // A GrTextBlob contains a number of SubRuns that are created in the blob's arena. Each SubRun |
| 45 | // tracks its own GrGlyph* and vertex data. The memory is organized in the arena in the following |
| 46 | // way so that the pointers for the GrGlyph* and vertex data are known before creating the SubRun. |
| 47 | // |
| 48 | // GrGlyph*... | vertexData... | SubRun | GrGlyph*... | vertexData... | SubRun etc. |
| 49 | // |
Herb Derby | 5bf5b04 | 2019-12-12 16:37:03 -0500 | [diff] [blame] | 50 | // In these classes, I'm trying to follow the convention about matrices and origins. |
| 51 | // * draw Matrix|Origin - describes the current draw command. |
Herb Derby | 1d0ee96 | 2020-09-09 15:46:46 -0400 | [diff] [blame] | 52 | // * initial Matrix - describes the combined initial matrix and origin the GrTextBlob was created |
| 53 | // with. |
Herb Derby | 5bf5b04 | 2019-12-12 16:37:03 -0500 | [diff] [blame] | 54 | // |
Herb Derby | 5bf5b04 | 2019-12-12 16:37:03 -0500 | [diff] [blame] | 55 | // |
Herb Derby | a904764 | 2019-12-06 12:12:11 -0500 | [diff] [blame] | 56 | class GrTextBlob final : public SkNVRefCnt<GrTextBlob>, public SkGlyphRunPainterInterface { |
joshualitt | 2e2202e | 2015-12-10 11:22:08 -0800 | [diff] [blame] | 57 | public: |
joshualitt | 323c2eb | 2016-01-20 06:48:47 -0800 | [diff] [blame] | 58 | struct Key { |
Herb Derby | a904764 | 2019-12-06 12:12:11 -0500 | [diff] [blame] | 59 | Key(); |
joshualitt | 323c2eb | 2016-01-20 06:48:47 -0800 | [diff] [blame] | 60 | uint32_t fUniqueID; |
| 61 | // Color may affect the gamma of the mask we generate, but in a fairly limited way. |
| 62 | // Each color is assigned to on of a fixed number of buckets based on its |
| 63 | // luminance. For each luminance bucket there is a "canonical color" that |
| 64 | // represents the bucket. This functionality is currently only supported for A8 |
| 65 | SkColor fCanonicalColor; |
| 66 | SkPaint::Style fStyle; |
Herb Derby | 00b2fdb | 2020-09-03 11:54:01 -0400 | [diff] [blame] | 67 | SkScalar fFrameWidth; |
| 68 | SkScalar fMiterLimit; |
| 69 | SkPaint::Join fJoin; |
Herb Derby | 5c7f38a | 2019-12-13 16:28:42 +0000 | [diff] [blame] | 70 | SkPixelGeometry fPixelGeometry; |
joshualitt | 323c2eb | 2016-01-20 06:48:47 -0800 | [diff] [blame] | 71 | bool fHasBlur; |
Herb Derby | 00b2fdb | 2020-09-03 11:54:01 -0400 | [diff] [blame] | 72 | SkMaskFilterBase::BlurRec fBlurRec; |
Herb Derby | 5c7f38a | 2019-12-13 16:28:42 +0000 | [diff] [blame] | 73 | uint32_t fScalerContextFlags; |
joshualitt | 323c2eb | 2016-01-20 06:48:47 -0800 | [diff] [blame] | 74 | |
Herb Derby | a904764 | 2019-12-06 12:12:11 -0500 | [diff] [blame] | 75 | bool operator==(const Key& other) const; |
joshualitt | 323c2eb | 2016-01-20 06:48:47 -0800 | [diff] [blame] | 76 | }; |
| 77 | |
Herb Derby | a904764 | 2019-12-06 12:12:11 -0500 | [diff] [blame] | 78 | SK_DECLARE_INTERNAL_LLIST_INTERFACE(GrTextBlob); |
| 79 | |
| 80 | // Change memory management to handle the data after GrTextBlob, but in the same allocation |
| 81 | // of memory. Only allow placement new. |
| 82 | void operator delete(void* p); |
| 83 | void* operator new(size_t); |
| 84 | void* operator new(size_t, void* p); |
| 85 | |
| 86 | ~GrTextBlob() override; |
| 87 | |
| 88 | // Make an empty GrTextBlob, with all the invariants set to make the right decisions when |
| 89 | // adding SubRuns. |
Herb Derby | 659e409 | 2019-12-06 15:38:10 -0500 | [diff] [blame] | 90 | static sk_sp<GrTextBlob> Make(const SkGlyphRunList& glyphRunList, |
Herb Derby | be20205 | 2020-06-05 17:22:38 -0400 | [diff] [blame] | 91 | const SkMatrix& drawMatrix); |
Herb Derby | a904764 | 2019-12-06 12:12:11 -0500 | [diff] [blame] | 92 | |
Herb Derby | a904764 | 2019-12-06 12:12:11 -0500 | [diff] [blame] | 93 | static const Key& GetKey(const GrTextBlob& blob); |
| 94 | static uint32_t Hash(const Key& key); |
joshualitt | 9230377 | 2016-02-10 11:55:52 -0800 | [diff] [blame] | 95 | |
Herb Derby | 00b2fdb | 2020-09-03 11:54:01 -0400 | [diff] [blame] | 96 | void addKey(const Key& key); |
Herb Derby | a904764 | 2019-12-06 12:12:11 -0500 | [diff] [blame] | 97 | bool hasPerspective() const; |
Herb Derby | 81c6d6e | 2020-09-03 17:10:45 -0400 | [diff] [blame] | 98 | const SkMatrix& initialMatrix() const { return fInitialMatrix; } |
joshualitt | 323c2eb | 2016-01-20 06:48:47 -0800 | [diff] [blame] | 99 | |
Herb Derby | a904764 | 2019-12-06 12:12:11 -0500 | [diff] [blame] | 100 | void setMinAndMaxScale(SkScalar scaledMin, SkScalar scaledMax); |
Herb Derby | 81c6d6e | 2020-09-03 17:10:45 -0400 | [diff] [blame] | 101 | std::tuple<SkScalar, SkScalar> scaleBounds() const { |
| 102 | return {fMaxMinScale, fMinMaxScale}; |
| 103 | } |
joshualitt | 323c2eb | 2016-01-20 06:48:47 -0800 | [diff] [blame] | 104 | |
Herb Derby | 734f8e3 | 2020-09-09 17:43:05 -0400 | [diff] [blame] | 105 | bool canReuse(const SkPaint& paint, const SkMatrix& drawMatrix); |
joshualitt | 323c2eb | 2016-01-20 06:48:47 -0800 | [diff] [blame] | 106 | |
Herb Derby | a904764 | 2019-12-06 12:12:11 -0500 | [diff] [blame] | 107 | const Key& key() const; |
| 108 | size_t size() const; |
joshualitt | 9230377 | 2016-02-10 11:55:52 -0800 | [diff] [blame] | 109 | |
Herb Derby | 31adbc6 | 2020-05-29 12:59:22 -0400 | [diff] [blame] | 110 | template<typename AddSingleMaskFormat> |
Herb Derby | 1b8dcd1 | 2019-11-15 15:21:15 -0500 | [diff] [blame] | 111 | void addMultiMaskFormat( |
Herb Derby | 31adbc6 | 2020-05-29 12:59:22 -0400 | [diff] [blame] | 112 | AddSingleMaskFormat addSingle, |
Herb Derby | 1b8dcd1 | 2019-11-15 15:21:15 -0500 | [diff] [blame] | 113 | const SkZip<SkGlyphVariant, SkPoint>& drawables, |
Herb Derby | 90f211f | 2020-11-18 11:10:54 -0500 | [diff] [blame] | 114 | const SkStrikeSpec& strikeSpec); |
Herb Derby | 1b8dcd1 | 2019-11-15 15:21:15 -0500 | [diff] [blame] | 115 | |
Herb Derby | 3d00a97 | 2020-07-14 11:43:14 -0400 | [diff] [blame] | 116 | const SkTInternalLList<GrSubRun>& subRunList() const { return fSubRunList; } |
Herb Derby | e5b768b | 2020-07-07 15:56:07 -0400 | [diff] [blame] | 117 | |
Herb Derby | 660c2ff | 2019-11-14 18:22:41 -0500 | [diff] [blame] | 118 | private: |
Herb Derby | 734f8e3 | 2020-09-09 17:43:05 -0400 | [diff] [blame] | 119 | GrTextBlob(size_t allocSize, const SkMatrix& drawMatrix, SkColor initialLuminance); |
Herb Derby | 00ae959 | 2019-12-03 15:55:56 -0500 | [diff] [blame] | 120 | |
Herb Derby | 3d00a97 | 2020-07-14 11:43:14 -0400 | [diff] [blame] | 121 | void insertSubRun(GrSubRun* subRun); |
Herb Derby | cb71889 | 2019-12-07 00:07:42 -0500 | [diff] [blame] | 122 | |
Herb Derby | a904764 | 2019-12-06 12:12:11 -0500 | [diff] [blame] | 123 | // Methods to satisfy SkGlyphRunPainterInterface |
Herb Derby | 20eafff | 2019-10-16 16:21:13 -0400 | [diff] [blame] | 124 | void processDeviceMasks(const SkZip<SkGlyphVariant, SkPoint>& drawables, |
Herb Derby | 90f211f | 2020-11-18 11:10:54 -0500 | [diff] [blame] | 125 | const SkStrikeSpec& strikeSpec) override; |
Herb Derby | 1213041 | 2019-10-21 18:02:24 -0400 | [diff] [blame] | 126 | void processSourcePaths(const SkZip<SkGlyphVariant, SkPoint>& drawables, |
Herb Derby | 1b8dcd1 | 2019-11-15 15:21:15 -0500 | [diff] [blame] | 127 | const SkFont& runFont, |
Herb Derby | 36a54c1 | 2019-06-06 10:50:56 -0400 | [diff] [blame] | 128 | const SkStrikeSpec& strikeSpec) override; |
Herb Derby | 20eafff | 2019-10-16 16:21:13 -0400 | [diff] [blame] | 129 | void processSourceSDFT(const SkZip<SkGlyphVariant, SkPoint>& drawables, |
Herb Derby | 36a54c1 | 2019-06-06 10:50:56 -0400 | [diff] [blame] | 130 | const SkStrikeSpec& strikeSpec, |
Herb Derby | c72594a | 2019-03-05 17:39:38 -0500 | [diff] [blame] | 131 | const SkFont& runFont, |
Herb Derby | c72594a | 2019-03-05 17:39:38 -0500 | [diff] [blame] | 132 | SkScalar minScale, |
Herb Derby | 1b8dcd1 | 2019-11-15 15:21:15 -0500 | [diff] [blame] | 133 | SkScalar maxScale) override; |
Herb Derby | 1b8dcd1 | 2019-11-15 15:21:15 -0500 | [diff] [blame] | 134 | void processSourceMasks(const SkZip<SkGlyphVariant, SkPoint>& drawables, |
| 135 | const SkStrikeSpec& strikeSpec) override; |
Herb Derby | c72594a | 2019-03-05 17:39:38 -0500 | [diff] [blame] | 136 | |
Herb Derby | 00ae959 | 2019-12-03 15:55:56 -0500 | [diff] [blame] | 137 | // Overall size of this struct plus vertices and glyphs at the end. |
| 138 | const size_t fSize; |
Herb Derby | 1b8dcd1 | 2019-11-15 15:21:15 -0500 | [diff] [blame] | 139 | |
Herb Derby | 1d0ee96 | 2020-09-09 15:46:46 -0400 | [diff] [blame] | 140 | // The initial view matrix combined with the initial origin. Used to determine if a cached |
| 141 | // subRun can be used in this draw situation. |
Herb Derby | 1c5be7b | 2019-12-13 12:03:06 -0500 | [diff] [blame] | 142 | const SkMatrix fInitialMatrix; |
Herb Derby | e9f691d | 2019-12-04 12:11:13 -0500 | [diff] [blame] | 143 | |
Herb Derby | aebc5f8 | 2019-12-10 14:07:10 -0500 | [diff] [blame] | 144 | const SkColor fInitialLuminance; |
Herb Derby | 1b8dcd1 | 2019-11-15 15:21:15 -0500 | [diff] [blame] | 145 | |
joshualitt | 374b2f7 | 2015-07-21 08:05:03 -0700 | [diff] [blame] | 146 | Key fKey; |
joshualitt | 374b2f7 | 2015-07-21 08:05:03 -0700 | [diff] [blame] | 147 | |
Herb Derby | eba195f | 2019-12-03 16:44:47 -0500 | [diff] [blame] | 148 | // We can reuse distance field text, but only if the new view matrix would not result in |
joshualitt | 374b2f7 | 2015-07-21 08:05:03 -0700 | [diff] [blame] | 149 | // a mip change. Because there can be multiple runs in a blob, we track the overall |
| 150 | // maximum minimum scale, and minimum maximum scale, we can support before we need to regen |
Herb Derby | a00da61 | 2019-03-04 17:10:01 -0500 | [diff] [blame] | 151 | SkScalar fMaxMinScale{-SK_ScalarMax}; |
| 152 | SkScalar fMinMaxScale{SK_ScalarMax}; |
Herb Derby | 1b8dcd1 | 2019-11-15 15:21:15 -0500 | [diff] [blame] | 153 | |
Herb Derby | 624f3f7 | 2020-10-29 17:56:26 -0400 | [diff] [blame] | 154 | bool fSomeGlyphsExcluded{false}; |
Herb Derby | 3d00a97 | 2020-07-14 11:43:14 -0400 | [diff] [blame] | 155 | SkTInternalLList<GrSubRun> fSubRunList; |
Herb Derby | cb71889 | 2019-12-07 00:07:42 -0500 | [diff] [blame] | 156 | SkArenaAlloc fAlloc; |
joshualitt | 374b2f7 | 2015-07-21 08:05:03 -0700 | [diff] [blame] | 157 | }; |
| 158 | |
Herb Derby | d90024d | 2020-11-20 10:21:32 -0500 | [diff] [blame] | 159 | // -- GrAtlasSubRun -------------------------------------------------------------------------------- |
| 160 | // GrAtlasSubRun is the API that GrAtlasTextOp uses to generate vertex data for drawing. |
Herb Derby | 018f5f6 | 2020-10-28 15:55:32 -0400 | [diff] [blame] | 161 | // There are three different ways GrAtlasSubRun is specialized. |
Herb Derby | 7d3886d | 2020-11-09 09:08:42 -0500 | [diff] [blame] | 162 | // * DirectMaskSubRun - this is by far the most common type of subrun. The mask pixels are |
Herb Derby | 018f5f6 | 2020-10-28 15:55:32 -0400 | [diff] [blame] | 163 | // in 1:1 correspondence with the pixels on the device. The destination rectangles in this |
| 164 | // subrun are in device space. This subrun handles color glyphs. |
Herb Derby | 7d3886d | 2020-11-09 09:08:42 -0500 | [diff] [blame] | 165 | // * TransformedMaskSubRun - handles glyph where the image in the atlas needs to be |
Herb Derby | 018f5f6 | 2020-10-28 15:55:32 -0400 | [diff] [blame] | 166 | // transformed to the screen. It is usually used for large color glyph which can't be |
| 167 | // drawn with paths or scaled distance fields. The destination rectangles are in source |
| 168 | // space. |
Herb Derby | 7d3886d | 2020-11-09 09:08:42 -0500 | [diff] [blame] | 169 | // * SDFTSubRun - scaled distance field text handles largish single color glyphs that still |
Herb Derby | 018f5f6 | 2020-10-28 15:55:32 -0400 | [diff] [blame] | 170 | // can fit in the atlas; the sizes between direct subruns, and path subruns. The destination |
Herb Derby | d90024d | 2020-11-20 10:21:32 -0500 | [diff] [blame] | 171 | class GrAtlasSubRun { |
Herb Derby | c24a6af | 2020-07-16 12:10:52 -0400 | [diff] [blame] | 172 | public: |
| 173 | static constexpr int kVerticesPerGlyph = 4; |
Herb Derby | d90024d | 2020-11-20 10:21:32 -0500 | [diff] [blame] | 174 | |
| 175 | virtual ~GrAtlasSubRun() = default; |
| 176 | |
Herb Derby | 46d1e9f | 2020-12-01 14:12:04 -0500 | [diff] [blame] | 177 | virtual size_t vertexStride(const SkMatrix& drawMatrix) const = 0; |
Herb Derby | c24a6af | 2020-07-16 12:10:52 -0400 | [diff] [blame] | 178 | virtual int glyphCount() const = 0; |
| 179 | |
Herb Derby | c76d409 | 2020-10-07 16:46:15 -0400 | [diff] [blame] | 180 | virtual std::tuple<const GrClip*, GrOp::Owner> |
Herb Derby | c24a6af | 2020-07-16 12:10:52 -0400 | [diff] [blame] | 181 | makeAtlasTextOp(const GrClip* clip, |
| 182 | const SkMatrixProvider& viewMatrix, |
| 183 | const SkGlyphRunList& glyphRunList, |
Herb Derby | 43ad791 | 2020-07-20 16:14:19 -0400 | [diff] [blame] | 184 | GrRenderTargetContext* rtc) const = 0; |
Herb Derby | c24a6af | 2020-07-16 12:10:52 -0400 | [diff] [blame] | 185 | virtual void fillVertexData( |
| 186 | void* vertexDst, int offset, int count, |
Herb Derby | 4089418 | 2020-12-02 11:39:48 -0500 | [diff] [blame^] | 187 | GrColor color, const SkMatrix& positionMatrix, |
Herb Derby | c24a6af | 2020-07-16 12:10:52 -0400 | [diff] [blame] | 188 | SkIRect clip) const = 0; |
Herb Derby | 43ad791 | 2020-07-20 16:14:19 -0400 | [diff] [blame] | 189 | |
Herb Derby | c27d535 | 2020-08-12 13:58:34 -0400 | [diff] [blame] | 190 | virtual void testingOnly_packedGlyphIDToGrGlyph(GrStrikeCache* cache) = 0; |
| 191 | |
Herb Derby | 43ad791 | 2020-07-20 16:14:19 -0400 | [diff] [blame] | 192 | // This call is not thread safe. It should only be called from GrDrawOp::onPrepare which |
| 193 | // is single threaded. |
| 194 | virtual std::tuple<bool, int> regenerateAtlas( |
| 195 | int begin, int end, GrMeshDrawOp::Target* target) const = 0; |
Herb Derby | c24a6af | 2020-07-16 12:10:52 -0400 | [diff] [blame] | 196 | }; |
Herb Derby | d90024d | 2020-11-20 10:21:32 -0500 | [diff] [blame] | 197 | |
| 198 | // -- GrSubRun ------------------------------------------------------------------------------------- |
| 199 | // GrSubRun is the API the GrTextBlob uses for the subruns. |
| 200 | // There are several types of subrun, which can be broken into five classes: |
| 201 | // * PathSubRun - handle very large single color glyphs using paths to render the glyph. |
| 202 | // * DirectMaskSubRun - handle the majority of the glyphs where the cache entry's pixels are in |
| 203 | // 1:1 correspondence to the device pixels. |
| 204 | // * TransformedMaskSubRun - handle large bitmap/argb glyphs that need to be scaled to the screen. |
| 205 | // * SDFTSubRun - use signed distance fields to draw largish glyphs to the screen. |
| 206 | // * GrAtlasSubRun - this is an abstract class used for atlas drawing. |
| 207 | class GrSubRun { |
| 208 | public: |
| 209 | virtual ~GrSubRun() = default; |
| 210 | |
| 211 | // Produce GPU ops for this subRun. |
| 212 | virtual void draw(const GrClip* clip, |
| 213 | const SkMatrixProvider& viewMatrix, |
| 214 | const SkGlyphRunList& glyphRunList, |
| 215 | GrRenderTargetContext* rtc) const = 0; |
| 216 | |
| 217 | // Given an already cached subRun, can this subRun handle this combination paint, matrix, and |
| 218 | // position. |
| 219 | virtual bool canReuse(const SkPaint& paint, const SkMatrix& drawMatrix) = 0; |
| 220 | |
| 221 | // Return the underlying atlas subrun if it exists. Otherwise, return nullptr. |
| 222 | // * Don't use this API. It is only to support testing. |
| 223 | virtual GrAtlasSubRun* testingOnly_atlasSubRun() = 0; |
| 224 | |
| 225 | private: |
| 226 | SK_DECLARE_INTERNAL_LLIST_INTERFACE(GrSubRun); |
| 227 | }; |
Herb Derby | 8624059 | 2018-05-24 16:12:31 -0400 | [diff] [blame] | 228 | #endif // GrTextBlob_DEFINED |