Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(902)

Side by Side Diff: bench/CoverageBench.cpp

Issue 1787883002: Add SkSpecialImage::extractSubset & NewFromPixmap (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Update to ToT Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | bench/PDFBench.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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"
9 #include "SkBitmap.h" 10 #include "SkBitmap.h"
10 #include "SkCanvas.h" 11 #include "SkCanvas.h"
11 #include "SkColorPriv.h" 12 #include "SkColorPriv.h"
12 #include "SkDraw.h" 13 #include "SkDraw.h"
13 #include "SkMatrix.h" 14 #include "SkMatrix.h"
14 #include "SkPath.h" 15 #include "SkPath.h"
15 #include "SkRasterClip.h" 16 #include "SkRasterClip.h"
16 17
17 class DrawPathBench : public Benchmark { 18 class DrawPathBench : public Benchmark {
18 SkPaint fPaint; 19 SkPaint fPaint;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 } 62 }
62 63
63 private: 64 private:
64 typedef Benchmark INHERITED; 65 typedef Benchmark INHERITED;
65 }; 66 };
66 67
67 /////////////////////////////////////////////////////////////////////////////// 68 ///////////////////////////////////////////////////////////////////////////////
68 69
69 DEF_BENCH( return new DrawPathBench(false) ) 70 DEF_BENCH( return new DrawPathBench(false) )
70 DEF_BENCH( return new DrawPathBench(true) ) 71 DEF_BENCH( return new DrawPathBench(true) )
OLDNEW
« no previous file with comments | « no previous file | bench/PDFBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698