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

Side by Side Diff: src/gpu/GrAtlas.h

Issue 205343008: Distance field fixes for Android (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix int->float conversion issues Created 6 years, 8 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 | « src/core/SkDistanceFieldGen.cpp ('k') | src/gpu/GrAtlas.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 #ifndef GrAtlas_DEFINED 9 #ifndef GrAtlas_DEFINED
10 #define GrAtlas_DEFINED 10 #define GrAtlas_DEFINED
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 GrPlotList fPlotList; 96 GrPlotList fPlotList;
97 }; 97 };
98 98
99 class GrAtlas { 99 class GrAtlas {
100 public: 100 public:
101 GrAtlas() { } 101 GrAtlas() { }
102 ~GrAtlas() { } 102 ~GrAtlas() { }
103 103
104 bool isEmpty() { return 0 == fPlots.count(); } 104 bool isEmpty() { return 0 == fPlots.count(); }
105 105
106 SkISize getSize() const;
107
108 private: 106 private:
109 SkTDArray<GrPlot*> fPlots; 107 SkTDArray<GrPlot*> fPlots;
110 108
111 friend class GrAtlasMgr; 109 friend class GrAtlasMgr;
112 }; 110 };
113 111
114 #endif 112 #endif
OLDNEW
« no previous file with comments | « src/core/SkDistanceFieldGen.cpp ('k') | src/gpu/GrAtlas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698