Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 /* | |
| 2 * Copyright 2014 Google Inc. | |
| 3 * | |
| 4 * Use of this source code is governed by a BSD-style license that can be | |
| 5 * found in the LICENSE file. | |
| 6 */ | |
| 7 | |
| 8 #ifndef SkPatchUtils_DEFINED | |
| 9 #define SkPatchUtils_DEFINED | |
| 10 | |
| 11 #include "SkPatch.h" | |
| 12 #include "SkMatrix.h" | |
| 13 | |
| 14 class SK_API SkPatchUtils { | |
| 15 public: | |
| 16 // size in pixels of each partition per axis, adjust this knob | |
| 17 static const int kPartitionSize = 30; | |
|
bsalomon
2014/08/01 21:02:28
I'd move this into the cpp. It's not really part o
dandov
2014/08/01 21:25:01
Done.
| |
| 18 | |
| 19 static SkIPoint GetLevelOfDetail(const SkPatch& patch, const SkMatrix* matri x); | |
| 20 | |
| 21 }; | |
| 22 | |
| 23 #endif | |
| OLD | NEW |