| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |