| 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 #include "GrAtlas.h" | 9 #include "GrAtlas.h" |
| 10 #include "GrContext.h" | 10 #include "GrContext.h" |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 GrPlot* plot; | 202 GrPlot* plot; |
| 203 while (NULL != (plot = plotIter.get())) { | 203 while (NULL != (plot = plotIter.get())) { |
| 204 if (plot->drawToken().isIssued()) { | 204 if (plot->drawToken().isIssued()) { |
| 205 return plot; | 205 return plot; |
| 206 } | 206 } |
| 207 plotIter.prev(); | 207 plotIter.prev(); |
| 208 } | 208 } |
| 209 | 209 |
| 210 return NULL; | 210 return NULL; |
| 211 } | 211 } |
| 212 |
| 213 SkISize GrAtlas::getSize() const { |
| 214 return SkISize::Make(GR_ATLAS_TEXTURE_WIDTH, GR_ATLAS_TEXTURE_HEIGHT); |
| 215 } |
| OLD | NEW |