| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 Google Inc. |
| 3 * | 3 * |
| 4 * 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 |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #include "Benchmark.h" | 8 #include "Benchmark.h" |
| 9 #include "SkAutoPixmapStorage.h" | |
| 10 #include "SkBitmap.h" | 9 #include "SkBitmap.h" |
| 11 #include "SkCanvas.h" | 10 #include "SkCanvas.h" |
| 12 #include "SkColorPriv.h" | 11 #include "SkColorPriv.h" |
| 13 #include "SkDraw.h" | 12 #include "SkDraw.h" |
| 14 #include "SkMatrix.h" | 13 #include "SkMatrix.h" |
| 15 #include "SkPath.h" | 14 #include "SkPath.h" |
| 16 #include "SkRasterClip.h" | 15 #include "SkRasterClip.h" |
| 17 | 16 |
| 18 class DrawPathBench : public Benchmark { | 17 class DrawPathBench : public Benchmark { |
| 19 SkPaint fPaint; | 18 SkPaint fPaint; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 } | 61 } |
| 63 | 62 |
| 64 private: | 63 private: |
| 65 typedef Benchmark INHERITED; | 64 typedef Benchmark INHERITED; |
| 66 }; | 65 }; |
| 67 | 66 |
| 68 /////////////////////////////////////////////////////////////////////////////// | 67 /////////////////////////////////////////////////////////////////////////////// |
| 69 | 68 |
| 70 DEF_BENCH( return new DrawPathBench(false) ) | 69 DEF_BENCH( return new DrawPathBench(false) ) |
| 71 DEF_BENCH( return new DrawPathBench(true) ) | 70 DEF_BENCH( return new DrawPathBench(true) ) |
| OLD | NEW |