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 "GrRectanizer_pow2.h" | 9 #include "GrRectanizer_pow2.h" |
10 | 10 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 SkASSERT(row->fLoc.fY <= this->height()); | 49 SkASSERT(row->fLoc.fY <= this->height()); |
50 SkASSERT(fNextStripY <= this->height()); | 50 SkASSERT(fNextStripY <= this->height()); |
51 fAreaSoFar += area; | 51 fAreaSoFar += area; |
52 return true; | 52 return true; |
53 } | 53 } |
54 | 54 |
55 /////////////////////////////////////////////////////////////////////////////// | 55 /////////////////////////////////////////////////////////////////////////////// |
56 | 56 |
57 // factory is now in GrRectanizer_skyline.cpp | 57 // factory is now in GrRectanizer_skyline.cpp |
58 //GrRectanizer* GrRectanizer::Factory(int width, int height) { | 58 //GrRectanizer* GrRectanizer::Factory(int width, int height) { |
59 // return SkNEW_ARGS(GrRectanizerPow2, (width, height)); | 59 // return new GrRectanizerPow2 (width, height); |
60 //} | 60 //} |
OLD | NEW |