| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef SKIA_EXT_BENCHMARKING_CANVAS_H_ | 5 #ifndef SKIA_EXT_BENCHMARKING_CANVAS_H_ |
| 6 #define SKIA_EXT_BENCHMARKING_CANVAS_H_ | 6 #define SKIA_EXT_BENCHMARKING_CANVAS_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include "base/values.h" | 10 #include "base/values.h" |
| 9 #include "skia/ext/refptr.h" | 11 #include "skia/ext/refptr.h" |
| 10 #include "third_party/skia/include/utils/SkNWayCanvas.h" | 12 #include "third_party/skia/include/utils/SkNWayCanvas.h" |
| 11 | 13 |
| 12 class SkXfermode; | 14 class SkXfermode; |
| 13 | 15 |
| 14 namespace skia { | 16 namespace skia { |
| 15 | 17 |
| 16 class SK_API BenchmarkingCanvas : public SkNWayCanvas { | 18 class SK_API BenchmarkingCanvas : public SkNWayCanvas { |
| 17 public: | 19 public: |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 | 83 |
| 82 class AutoOp; | 84 class AutoOp; |
| 83 | 85 |
| 84 base::ListValue op_records_; | 86 base::ListValue op_records_; |
| 85 unsigned flags_; | 87 unsigned flags_; |
| 86 RefPtr<SkXfermode> overdraw_xfermode_; | 88 RefPtr<SkXfermode> overdraw_xfermode_; |
| 87 }; | 89 }; |
| 88 | 90 |
| 89 } | 91 } |
| 90 #endif // SKIA_EXT_BENCHMARKING_CANVAS_H | 92 #endif // SKIA_EXT_BENCHMARKING_CANVAS_H |
| OLD | NEW |