| 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 #include "skia/ext/benchmarking_canvas.h" | 5 #include "skia/ext/benchmarking_canvas.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/strings/stringprintf.h" | 11 #include "base/strings/stringprintf.h" |
| 11 #include "base/time/time.h" | 12 #include "base/time/time.h" |
| 12 #include "third_party/skia/include/core/SkColorFilter.h" | 13 #include "third_party/skia/include/core/SkColorFilter.h" |
| 13 #include "third_party/skia/include/core/SkImageFilter.h" | 14 #include "third_party/skia/include/core/SkImageFilter.h" |
| 14 #include "third_party/skia/include/core/SkPaint.h" | 15 #include "third_party/skia/include/core/SkPaint.h" |
| 15 #include "third_party/skia/include/core/SkPath.h" | 16 #include "third_party/skia/include/core/SkPath.h" |
| 16 #include "third_party/skia/include/core/SkPicture.h" | 17 #include "third_party/skia/include/core/SkPicture.h" |
| 17 #include "third_party/skia/include/core/SkRRect.h" | 18 #include "third_party/skia/include/core/SkRRect.h" |
| 18 #include "third_party/skia/include/core/SkRegion.h" | 19 #include "third_party/skia/include/core/SkRegion.h" |
| 19 #include "third_party/skia/include/core/SkString.h" | 20 #include "third_party/skia/include/core/SkString.h" |
| (...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 795 DCHECK(blob); | 796 DCHECK(blob); |
| 796 AutoOp op(this, "DrawTextBlob", &paint); | 797 AutoOp op(this, "DrawTextBlob", &paint); |
| 797 op.addParam("blob", AsValue(*blob)); | 798 op.addParam("blob", AsValue(*blob)); |
| 798 op.addParam("x", AsValue(x)); | 799 op.addParam("x", AsValue(x)); |
| 799 op.addParam("y", AsValue(y)); | 800 op.addParam("y", AsValue(y)); |
| 800 | 801 |
| 801 INHERITED::onDrawTextBlob(blob, x, y, *op.paint()); | 802 INHERITED::onDrawTextBlob(blob, x, y, *op.paint()); |
| 802 } | 803 } |
| 803 | 804 |
| 804 } // namespace skia | 805 } // namespace skia |
| OLD | NEW |