Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(347)

Side by Side Diff: include/gpu/GrFontScaler.h

Issue 640413004: Revert of Fix color emoji. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « expectations/gm/ignored-tests.txt ('k') | include/gpu/GrGlyph.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2010 Google Inc. 2 * Copyright 2010 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef GrFontScaler_DEFINED 8 #ifndef GrFontScaler_DEFINED
9 #define GrFontScaler_DEFINED 9 #define GrFontScaler_DEFINED
10 10
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 * for a specific font+size+matrix. 59 * for a specific font+size+matrix.
60 */ 60 */
61 class GrFontScaler : public SkRefCnt { 61 class GrFontScaler : public SkRefCnt {
62 public: 62 public:
63 SK_DECLARE_INST_COUNT(GrFontScaler) 63 SK_DECLARE_INST_COUNT(GrFontScaler)
64 64
65 explicit GrFontScaler(SkGlyphCache* strike); 65 explicit GrFontScaler(SkGlyphCache* strike);
66 virtual ~GrFontScaler(); 66 virtual ~GrFontScaler();
67 67
68 const GrFontDescKey* getKey(); 68 const GrFontDescKey* getKey();
69 GrMaskFormat getMaskFormat() const; 69 GrMaskFormat getMaskFormat();
70 GrMaskFormat getPackedGlyphMaskFormat(GrGlyph::PackedID) const;
71 bool getPackedGlyphBounds(GrGlyph::PackedID, SkIRect* bounds); 70 bool getPackedGlyphBounds(GrGlyph::PackedID, SkIRect* bounds);
72 bool getPackedGlyphImage(GrGlyph::PackedID, int width, int height, 71 bool getPackedGlyphImage(GrGlyph::PackedID, int width, int height,
73 int rowBytes, void* image); 72 int rowBytes, void* image);
74 bool getPackedGlyphDFBounds(GrGlyph::PackedID, SkIRect* bounds); 73 bool getPackedGlyphDFBounds(GrGlyph::PackedID, SkIRect* bounds);
75 bool getPackedGlyphDFImage(GrGlyph::PackedID, int width, int height, 74 bool getPackedGlyphDFImage(GrGlyph::PackedID, int width, int height,
76 void* image); 75 void* image);
77 bool getGlyphPath(uint16_t glyphID, SkPath*); 76 bool getGlyphPath(uint16_t glyphID, SkPath*);
78 77
79 private: 78 private:
80 SkGlyphCache* fStrike; 79 SkGlyphCache* fStrike;
81 GrFontDescKey* fKey; 80 GrFontDescKey* fKey;
82 81
83 typedef SkRefCnt INHERITED; 82 typedef SkRefCnt INHERITED;
84 }; 83 };
85 84
86 #endif 85 #endif
OLDNEW
« no previous file with comments | « expectations/gm/ignored-tests.txt ('k') | include/gpu/GrGlyph.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698