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

Side by Side Diff: bench/PDFBench.cpp

Issue 1808833002: Revert of Add SkSpecialImage::extractSubset & NewFromPixmap (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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 | « bench/CoverageBench.cpp ('k') | gm/image.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 2016 Google Inc. 2 * Copyright 2016 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 "Resources.h" 9 #include "Resources.h"
10 #include "SkAutoPixmapStorage.h"
11 #include "SkData.h" 10 #include "SkData.h"
12 #include "SkImage.h" 11 #include "SkImage.h"
13 #include "SkPDFBitmap.h" 12 #include "SkPDFBitmap.h"
14 #include "SkPDFUtils.h" 13 #include "SkPDFUtils.h"
15 #include "SkPixmap.h" 14 #include "SkPixmap.h"
16 #include "SkRandom.h" 15 #include "SkRandom.h"
17 16
18 namespace { 17 namespace {
19 struct NullWStream : public SkWStream { 18 struct NullWStream : public SkWStream {
20 NullWStream() : fN(0) {} 19 NullWStream() : fN(0) {}
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 (void)SkPDFUtils::FloatToDecimal(f, dst); 162 (void)SkPDFUtils::FloatToDecimal(f, dst);
164 } 163 }
165 } 164 }
166 }; 165 };
167 166
168 } // namespace 167 } // namespace
169 DEF_BENCH(return new PDFImageBench;) 168 DEF_BENCH(return new PDFImageBench;)
170 DEF_BENCH(return new PDFJpegImageBench;) 169 DEF_BENCH(return new PDFJpegImageBench;)
171 DEF_BENCH(return new PDFCompressionBench;) 170 DEF_BENCH(return new PDFCompressionBench;)
172 DEF_BENCH(return new PDFScalarBench;) 171 DEF_BENCH(return new PDFScalarBench;)
OLDNEW
« no previous file with comments | « bench/CoverageBench.cpp ('k') | gm/image.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698