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

Side by Side Diff: samplecode/SampleConcavePaths.cpp

Issue 1812323003: Remove uses of SkImageDecoder from samplecode (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 | « samplecode/SampleCamera.cpp ('k') | samplecode/SampleEmboss.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 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 #include "SampleCode.h" 9 #include "SampleCode.h"
10 #include "SkView.h" 10 #include "SkView.h"
11 #include "SkCanvas.h" 11 #include "SkCanvas.h"
12 #include "SkGradientShader.h" 12 #include "SkGradientShader.h"
13 #include "SkGraphics.h" 13 #include "SkGraphics.h"
14 #include "SkImageDecoder.h"
15 #include "SkPath.h" 14 #include "SkPath.h"
16 #include "SkRegion.h" 15 #include "SkRegion.h"
17 #include "SkShader.h" 16 #include "SkShader.h"
18 #include "SkUtils.h" 17 #include "SkUtils.h"
19 #include "SkXfermode.h" 18 #include "SkXfermode.h"
20 #include "SkColorPriv.h" 19 #include "SkColorPriv.h"
21 #include "SkColorFilter.h" 20 #include "SkColorFilter.h"
22 #include "SkParsePath.h" 21 #include "SkParsePath.h"
23 #include "SkTime.h" 22 #include "SkTime.h"
24 #include "SkTypeface.h" 23 #include "SkTypeface.h"
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 } 143 }
145 144
146 private: 145 private:
147 typedef SampleView INHERITED; 146 typedef SampleView INHERITED;
148 }; 147 };
149 148
150 ////////////////////////////////////////////////////////////////////////////// 149 //////////////////////////////////////////////////////////////////////////////
151 150
152 static SkView* MyFactory() { return new ConcavePathView; } 151 static SkView* MyFactory() { return new ConcavePathView; }
153 static SkViewRegister reg(MyFactory); 152 static SkViewRegister reg(MyFactory);
OLDNEW
« no previous file with comments | « samplecode/SampleCamera.cpp ('k') | samplecode/SampleEmboss.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698