OLD | NEW |
1 | 1 |
2 | 2 |
3 /* | 3 /* |
4 * Copyright 2012 Google Inc. | 4 * Copyright 2012 Google Inc. |
5 * | 5 * |
6 * Use of this source code is governed by a BSD-style license that can be | 6 * Use of this source code is governed by a BSD-style license that can be |
7 * found in the LICENSE file. | 7 * found in the LICENSE file. |
8 */ | 8 */ |
9 | 9 |
10 #include "gm.h" | 10 #include "gm.h" |
11 #include "SkCanvas.h" | 11 #include "SkCanvas.h" |
12 #include "SkPicture.h" | 12 #include "SkPicture.h" |
| 13 #include "SkPictureRecorder.h" |
13 | 14 |
14 namespace skiagm { | 15 namespace skiagm { |
15 | 16 |
16 class DistantClipGM : public GM { | 17 class DistantClipGM : public GM { |
17 public: | 18 public: |
18 DistantClipGM() { } | 19 DistantClipGM() { } |
19 | 20 |
20 protected: | 21 protected: |
21 | 22 |
22 SkString onShortName() { | 23 SkString onShortName() { |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 private: | 68 private: |
68 typedef GM INHERITED; | 69 typedef GM INHERITED; |
69 }; | 70 }; |
70 | 71 |
71 /////////////////////////////////////////////////////////////////////////////// | 72 /////////////////////////////////////////////////////////////////////////////// |
72 | 73 |
73 static GM* MyFactory(void*) { return new DistantClipGM; } | 74 static GM* MyFactory(void*) { return new DistantClipGM; } |
74 static GMRegistry reg(MyFactory); | 75 static GMRegistry reg(MyFactory); |
75 | 76 |
76 } | 77 } |
OLD | NEW |