Chromium Code Reviews| Index: include/gpu/GrDistanceFieldTextContext.h |
| diff --git a/include/gpu/GrDistanceFieldTextContext.h b/include/gpu/GrDistanceFieldTextContext.h |
| index 4fde6ceef8d8b8dc3e8375c9732d4f14d7211466..27bc390de666e698c0380e0d77342e5c298a3ff6 100755 |
| --- a/include/gpu/GrDistanceFieldTextContext.h |
| +++ b/include/gpu/GrDistanceFieldTextContext.h |
| @@ -17,26 +17,20 @@ class GrTextStrike; |
| */ |
| class GrDistanceFieldTextContext : public GrTextContext { |
| public: |
| - virtual void drawPackedGlyph(GrGlyph::PackedID, GrFixed left, GrFixed top, |
| - GrFontScaler*) SK_OVERRIDE; |
| - |
| - void drawText(const char text[], size_t byteLength, |
| - SkScalar x, SkScalar y, SkGlyphCache*, GrFontScaler*); |
| + void drawText(const char text[], size_t byteLength, SkScalar x, SkScalar y) SK_OVERRIDE; |
|
bsalomon
2014/01/27 21:51:25
virtual? (and several more)
jvanverth1
2014/01/28 18:05:33
Done.
|
| void drawPosText(const char text[], size_t byteLength, |
| const SkScalar pos[], SkScalar constY, |
| - int scalarsPerPosition, |
| - SkGlyphCache* cache, GrFontScaler* fontScaler); |
| - |
| - const SkPaint& getSkPaint() { return fSkPaint; } |
| + int scalarsPerPosition) SK_OVERRIDE; |
| private: |
| - GrDistanceFieldTextContext(GrContext*, const GrPaint&, const SkPaint&); |
| + GrDistanceFieldTextContext(SkGpuDevice*, const GrPaint&, const SkPaint&); |
| virtual ~GrDistanceFieldTextContext(); |
| friend class GrTTextContextManager<GrDistanceFieldTextContext>; |
| GrTextStrike* fStrike; |
| SkScalar fTextRatio; |
| + void drawPackedGlyph(GrGlyph::PackedID, GrFixed left, GrFixed top, GrFontScaler*); |
| void flushGlyphs(); // automatically called by destructor |
| enum { |