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

Side by Side Diff: samplecode/SampleBitmapRect.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/SampleAll.cpp ('k') | samplecode/SampleCamera.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 2011 Google Inc. 2 * Copyright 2011 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 "SampleCode.h" 8 #include "SampleCode.h"
9 #include "SkAnimTimer.h" 9 #include "SkAnimTimer.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 "SkTime.h" 21 #include "SkTime.h"
23 #include "SkTypeface.h" 22 #include "SkTypeface.h"
24 23
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 private: 243 private:
245 typedef SampleView INHERITED; 244 typedef SampleView INHERITED;
246 }; 245 };
247 246
248 ////////////////////////////////////////////////////////////////////////////// 247 //////////////////////////////////////////////////////////////////////////////
249 248
250 static SkView* F0() { return new BitmapRectView; } 249 static SkView* F0() { return new BitmapRectView; }
251 static SkView* F1() { return new BitmapRectView2; } 250 static SkView* F1() { return new BitmapRectView2; }
252 static SkViewRegister gR0(F0); 251 static SkViewRegister gR0(F0);
253 static SkViewRegister gR1(F1); 252 static SkViewRegister gR1(F1);
OLDNEW
« no previous file with comments | « samplecode/SampleAll.cpp ('k') | samplecode/SampleCamera.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698