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

Side by Side Diff: samplecode/SampleTextAlpha.cpp

Issue 1904673003: Rein in the use of SkDevice.h (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 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/SampleStrokeRect.cpp ('k') | src/animator/SkSnapshot.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 #include "SampleCode.h" 7 #include "SampleCode.h"
8 #include "SkBlurMask.h" 8 #include "SkBlurMask.h"
9 #include "SkBlurMaskFilter.h" 9 #include "SkBlurMaskFilter.h"
10 #include "SkCanvas.h" 10 #include "SkCanvas.h"
11 #include "SkDevice.h"
12 #include "SkGradientShader.h" 11 #include "SkGradientShader.h"
13 #include "SkGraphics.h" 12 #include "SkGraphics.h"
14 #include "SkPath.h" 13 #include "SkPath.h"
15 #include "SkRandom.h" 14 #include "SkRandom.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"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 private: 84 private:
86 int fByte; 85 int fByte;
87 86
88 typedef SampleView INHERITED; 87 typedef SampleView INHERITED;
89 }; 88 };
90 89
91 ////////////////////////////////////////////////////////////////////////////// 90 //////////////////////////////////////////////////////////////////////////////
92 91
93 static SkView* MyFactory() { return new TextAlphaView; } 92 static SkView* MyFactory() { return new TextAlphaView; }
94 static SkViewRegister reg(MyFactory); 93 static SkViewRegister reg(MyFactory);
OLDNEW
« no previous file with comments | « samplecode/SampleStrokeRect.cpp ('k') | src/animator/SkSnapshot.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698