OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2010 Google Inc. | 2 * Copyright 2010 Google Inc. |
4 * | 3 * |
5 * 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 |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
8 | 7 |
9 #include "GrGpuResourcePriv.h" | 8 #include "GrGpuResourcePriv.h" |
10 #include "GrLayerAtlas.h" | 9 #include "GrLayerAtlas.h" |
11 #include "GrRectanizer.h" | 10 #include "GrRectanizer.h" |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 // new plot for atlas, put at end of array | 159 // new plot for atlas, put at end of array |
161 usage->appendPlot(plot); | 160 usage->appendPlot(plot); |
162 return plot; | 161 return plot; |
163 } | 162 } |
164 plotIter.next(); | 163 plotIter.next(); |
165 } | 164 } |
166 | 165 |
167 // If the above fails, then the current plot list has no room | 166 // If the above fails, then the current plot list has no room |
168 return nullptr; | 167 return nullptr; |
169 } | 168 } |
170 | |
OLD | NEW |