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

Side by Side Diff: samplecode/SampleManyRects.cpp

Issue 1261033002: Rename GrInOrderDrawBuffer to GrBufferedDrawTarget (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: renames 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 | « gyp/gpu.gypi ('k') | src/gpu/GrBufferedDrawTarget.h » ('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 2013 Google Inc. 3 * Copyright 2013 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 "SkCanvas.h" 9 #include "SkCanvas.h"
10 #include "SkDevice.h" 10 #include "SkDevice.h"
11 #include "SkPaint.h" 11 #include "SkPaint.h"
12 #include "SkRandom.h" 12 #include "SkRandom.h"
13 #include "SkShader.h" 13 #include "SkShader.h"
14 #include "SkView.h" 14 #include "SkView.h"
15 15
16 /** 16 /**
17 * Animated sample used to develop batched rect implementation in GrInOrderDrawB uffer. 17 * Animated sample used to develop batched rect implementation in GrBufferedDraw Target.
18 */ 18 */
19 class ManyRectsView : public SampleView { 19 class ManyRectsView : public SampleView {
20 private: 20 private:
21 enum { 21 enum {
22 N = 1000, 22 N = 1000,
23 }; 23 };
24 24
25 public: 25 public:
26 ManyRectsView() {} 26 ManyRectsView() {}
27 27
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 private: 71 private:
72 SkRandom fRandom; 72 SkRandom fRandom;
73 typedef SampleView INHERITED; 73 typedef SampleView INHERITED;
74 }; 74 };
75 75
76 ////////////////////////////////////////////////////////////////////////////// 76 //////////////////////////////////////////////////////////////////////////////
77 77
78 static SkView* MyFactory() { return new ManyRectsView; } 78 static SkView* MyFactory() { return new ManyRectsView; }
79 static SkViewRegister reg(MyFactory); 79 static SkViewRegister reg(MyFactory);
OLDNEW
« no previous file with comments | « gyp/gpu.gypi ('k') | src/gpu/GrBufferedDrawTarget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698