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

Side by Side Diff: samplecode/SampleAnimator.cpp

Issue 1120023003: Refugee from Dead Machine 13: New version of the convex AA tessellator Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update Created 4 years, 7 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/core/SkTDPQueue.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 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 11
12 #include "SkAnimator.h" 12 #include "SkAnimator.h"
13 #include "SkStream.h" 13 #include "SkStream.h"
14 #include "SkDOM.h" 14 #include "SkDOM.h"
15 15
16 #if 0
16 /////////////////////////////////////////////////////////////////////////////// 17 ///////////////////////////////////////////////////////////////////////////////
17 18
18 class SkAnimatorView : public SkView { 19 class SkAnimatorView : public SkView {
19 public: 20 public:
20 SkAnimatorView(); 21 SkAnimatorView();
21 virtual ~SkAnimatorView(); 22 virtual ~SkAnimatorView();
22 23
23 void setURIBase(const char dir[]); 24 void setURIBase(const char dir[]);
24 25
25 SkAnimator* getAnimator() const { return fAnimator; } 26 SkAnimator* getAnimator() const { return fAnimator; }
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 av->setURIBase("/skia/trunk/animations/"); 164 av->setURIBase("/skia/trunk/animations/");
164 av->decodeFile("/skia/trunk/animations/checkbox.xml"); 165 av->decodeFile("/skia/trunk/animations/checkbox.xml");
165 #else 166 #else
166 av->setURIBase("/"); 167 av->setURIBase("/");
167 av->decodeFile("/testanim.txt"); 168 av->decodeFile("/testanim.txt");
168 #endif 169 #endif
169 return av; 170 return av;
170 } 171 }
171 172
172 static SkViewRegister reg(MyFactory); 173 static SkViewRegister reg(MyFactory);
174 #endif
OLDNEW
« no previous file with comments | « gyp/gpu.gypi ('k') | src/core/SkTDPQueue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698