OLD | NEW |
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 | 7 |
8 #include "SampleCode.h" | 8 #include "SampleCode.h" |
9 #include "SkData.h" | 9 #include "SkData.h" |
10 #include "SkDecodingImageGenerator.h" | 10 #include "SkDecodingImageGenerator.h" |
11 #include "SkDumpCanvas.h" | 11 #include "SkDumpCanvas.h" |
12 #include "SkView.h" | 12 #include "SkView.h" |
13 #include "SkCanvas.h" | 13 #include "SkCanvas.h" |
14 #include "SkGradientShader.h" | 14 #include "SkGradientShader.h" |
15 #include "SkGraphics.h" | 15 #include "SkGraphics.h" |
16 #include "SkImageDecoder.h" | 16 #include "SkImageDecoder.h" |
17 #include "SkOSFile.h" | 17 #include "SkOSFile.h" |
18 #include "SkPath.h" | 18 #include "SkPath.h" |
19 #include "SkPicture.h" | 19 #include "SkPicture.h" |
| 20 #include "SkPictureRecorder.h" |
20 #include "SkRandom.h" | 21 #include "SkRandom.h" |
21 #include "SkRegion.h" | 22 #include "SkRegion.h" |
22 #include "SkShader.h" | 23 #include "SkShader.h" |
23 #include "SkUtils.h" | 24 #include "SkUtils.h" |
24 #include "SkColorPriv.h" | 25 #include "SkColorPriv.h" |
25 #include "SkColorFilter.h" | 26 #include "SkColorFilter.h" |
26 #include "SkTime.h" | 27 #include "SkTime.h" |
27 #include "SkTypeface.h" | 28 #include "SkTypeface.h" |
28 #include "SkXfermode.h" | 29 #include "SkXfermode.h" |
29 #include "SkStream.h" | 30 #include "SkStream.h" |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 SkPicture* fPicture; | 192 SkPicture* fPicture; |
192 SkPicture* fSubPicture; | 193 SkPicture* fSubPicture; |
193 | 194 |
194 typedef SampleView INHERITED; | 195 typedef SampleView INHERITED; |
195 }; | 196 }; |
196 | 197 |
197 ////////////////////////////////////////////////////////////////////////////// | 198 ////////////////////////////////////////////////////////////////////////////// |
198 | 199 |
199 static SkView* MyFactory() { return new PictureView; } | 200 static SkView* MyFactory() { return new PictureView; } |
200 static SkViewRegister reg(MyFactory); | 201 static SkViewRegister reg(MyFactory); |
OLD | NEW |