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

Side by Side Diff: samplecode/SampleWritePixels.cpp

Issue 1541933004: remove unused SkCullPoints (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 12 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/SampleFillType.cpp ('k') | src/utils/SkCullPoints.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 #include "SampleCode.h" 8 #include "SampleCode.h"
9 #include "SkView.h" 9 #include "SkView.h"
10 #include "SkCanvas.h" 10 #include "SkCanvas.h"
11 #include "SkCornerPathEffect.h" 11 #include "SkCornerPathEffect.h"
12 #include "SkCullPoints.h"
13 #include "SkGradientShader.h" 12 #include "SkGradientShader.h"
14 #include "SkPath.h" 13 #include "SkPath.h"
15 #include "SkRegion.h" 14 #include "SkRegion.h"
16 #include "SkShader.h" 15 #include "SkShader.h"
17 #include "SkUtils.h" 16 #include "SkUtils.h"
18 17
19 static void create_bitmap(SkBitmap* bitmap) { 18 static void create_bitmap(SkBitmap* bitmap) {
20 const int W = 100; 19 const int W = 100;
21 const int H = 100; 20 const int H = 100;
22 bitmap->allocN32Pixels(W, H); 21 bitmap->allocN32Pixels(W, H);
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 } 58 }
60 59
61 private: 60 private:
62 typedef SampleView INHERITED; 61 typedef SampleView INHERITED;
63 }; 62 };
64 63
65 ////////////////////////////////////////////////////////////////////////////// 64 //////////////////////////////////////////////////////////////////////////////
66 65
67 static SkView* MyFactory() { return new WritePixelsView; } 66 static SkView* MyFactory() { return new WritePixelsView; }
68 static SkViewRegister reg(MyFactory); 67 static SkViewRegister reg(MyFactory);
OLDNEW
« no previous file with comments | « samplecode/SampleFillType.cpp ('k') | src/utils/SkCullPoints.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698