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 | 9 |
10 | 10 |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 | 115 |
116 SkASSERT(row->fLoc.fX <= this->width()); | 116 SkASSERT(row->fLoc.fX <= this->width()); |
117 SkASSERT(row->fLoc.fY <= this->height()); | 117 SkASSERT(row->fLoc.fY <= this->height()); |
118 SkASSERT(fNextStripY <= this->height()); | 118 SkASSERT(fNextStripY <= this->height()); |
119 fAreaSoFar += area; | 119 fAreaSoFar += area; |
120 return true; | 120 return true; |
121 } | 121 } |
122 | 122 |
123 /////////////////////////////////////////////////////////////////////////////// | 123 /////////////////////////////////////////////////////////////////////////////// |
124 | 124 |
125 GrRectanizer* GrRectanizer::Factory(int width, int height) { | 125 // factory is now in GrRectanizer_skyline.cpp |
126 return SkNEW_ARGS(GrRectanizerPow2, (width, height)); | 126 //GrRectanizer* GrRectanizer::Factory(int width, int height) { |
127 } | 127 // return SkNEW_ARGS(GrRectanizerPow2, (width, height)); |
| 128 //} |
OLD | NEW |