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

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

Issue 19449002: Replace all instances of GrRect with SkRect. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « include/gpu/GrTextContext.h ('k') | src/effects/SkMorphologyImageFilter.cpp » ('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 /* 2 /*
3 * Copyright 2010 Google Inc. 3 * Copyright 2010 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 10
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 class SkGlyphCache; 78 class SkGlyphCache;
79 79
80 class SkGrFontScaler : public GrFontScaler { 80 class SkGrFontScaler : public GrFontScaler {
81 public: 81 public:
82 explicit SkGrFontScaler(SkGlyphCache* strike); 82 explicit SkGrFontScaler(SkGlyphCache* strike);
83 virtual ~SkGrFontScaler(); 83 virtual ~SkGrFontScaler();
84 84
85 // overrides 85 // overrides
86 virtual const GrKey* getKey(); 86 virtual const GrKey* getKey();
87 virtual GrMaskFormat getMaskFormat(); 87 virtual GrMaskFormat getMaskFormat();
88 virtual bool getPackedGlyphBounds(GrGlyph::PackedID, GrIRect* bounds); 88 virtual bool getPackedGlyphBounds(GrGlyph::PackedID, SkIRect* bounds);
89 virtual bool getPackedGlyphImage(GrGlyph::PackedID, int width, int height, 89 virtual bool getPackedGlyphImage(GrGlyph::PackedID, int width, int height,
90 int rowBytes, void* image); 90 int rowBytes, void* image);
91 virtual bool getGlyphPath(uint16_t glyphID, SkPath*); 91 virtual bool getGlyphPath(uint16_t glyphID, SkPath*);
92 92
93 private: 93 private:
94 SkGlyphCache* fStrike; 94 SkGlyphCache* fStrike;
95 GrKey* fKey; 95 GrKey* fKey;
96 // DECLARE_INSTANCE_COUNTER(SkGrFontScaler); 96 // DECLARE_INSTANCE_COUNTER(SkGrFontScaler);
97 }; 97 };
98 98
99 //////////////////////////////////////////////////////////////////////////////// 99 ////////////////////////////////////////////////////////////////////////////////
100 100
101 #endif 101 #endif
OLDNEW
« no previous file with comments | « include/gpu/GrTextContext.h ('k') | src/effects/SkMorphologyImageFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698