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