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

Side by Side Diff: samplecode/SampleFilterQuality.cpp

Issue 1273613002: Revert of IWYU: 'core' target, files starting A-C. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 4 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 | « samplecode/SampleEmptyPath.cpp ('k') | samplecode/SampleIdentityScale.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 2015 Google Inc. 2 * Copyright 2015 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 "gm.h" 8 #include "gm.h"
9 9
10 #include "Resources.h" 10 #include "Resources.h"
11 #include "SampleCode.h" 11 #include "SampleCode.h"
12 #include "SkAnimTimer.h" 12 #include "SkAnimTimer.h"
13 #include "SkCanvas.h" 13 #include "SkCanvas.h"
14 #include "SkInterpolator.h" 14 #include "SkInterpolator.h"
15 #include "SkPath.h"
16 #include "SkSurface.h" 15 #include "SkSurface.h"
17 #include "SkRandom.h" 16 #include "SkRandom.h"
18 #include "SkTime.h" 17 #include "SkTime.h"
19 18
20 static SkSurface* make_surface(SkCanvas* canvas, const SkImageInfo& info) { 19 static SkSurface* make_surface(SkCanvas* canvas, const SkImageInfo& info) {
21 SkSurface* surface = canvas->newSurface(info); 20 SkSurface* surface = canvas->newSurface(info);
22 if (!surface) { 21 if (!surface) {
23 surface = SkSurface::NewRaster(info); 22 surface = SkSurface::NewRaster(info);
24 } 23 }
25 return surface; 24 return surface;
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 } 287 }
289 288
290 private: 289 private:
291 typedef SampleView INHERITED; 290 typedef SampleView INHERITED;
292 }; 291 };
293 292
294 ////////////////////////////////////////////////////////////////////////////// 293 //////////////////////////////////////////////////////////////////////////////
295 294
296 static SkView* MyFactory() { return new FilterQualityView; } 295 static SkView* MyFactory() { return new FilterQualityView; }
297 static SkViewRegister reg(MyFactory); 296 static SkViewRegister reg(MyFactory);
OLDNEW
« no previous file with comments | « samplecode/SampleEmptyPath.cpp ('k') | samplecode/SampleIdentityScale.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698