| 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 "SkDumpCanvas.h" | 9 #include "SkDumpCanvas.h" |
| 10 #include "SkView.h" | 10 #include "SkView.h" |
| 11 #include "SkCanvas.h" | 11 #include "SkCanvas.h" |
| 12 #include "SkGradientShader.h" | 12 #include "SkGradientShader.h" |
| 13 #include "SkGraphics.h" | 13 #include "SkGraphics.h" |
| 14 #include "SkImageDecoder.h" | 14 #include "SkImageDecoder.h" |
| 15 #include "SkOSFile.h" | 15 #include "SkOSFile.h" |
| 16 #include "SkPath.h" | 16 #include "SkPath.h" |
| 17 #include "SkPicture.h" | 17 #include "SkPicture.h" |
| 18 #include "SkQuadTreePicture.h" | 18 #include "SkPictureRecorder.h" |
| 19 #include "SkRandom.h" | 19 #include "SkRandom.h" |
| 20 #include "SkRegion.h" | 20 #include "SkRegion.h" |
| 21 #include "SkRTreePicture.h" | |
| 22 #include "SkShader.h" | 21 #include "SkShader.h" |
| 23 #include "SkTileGridPicture.h" | |
| 24 #include "SkUtils.h" | 22 #include "SkUtils.h" |
| 25 #include "SkColorPriv.h" | 23 #include "SkColorPriv.h" |
| 26 #include "SkColorFilter.h" | 24 #include "SkColorFilter.h" |
| 27 #include "SkTime.h" | 25 #include "SkTime.h" |
| 28 #include "SkTypeface.h" | 26 #include "SkTypeface.h" |
| 29 #include "SkXfermode.h" | 27 #include "SkXfermode.h" |
| 30 | 28 |
| 31 #include "SkStream.h" | 29 #include "SkStream.h" |
| 32 #include "SkSurface.h" | 30 #include "SkSurface.h" |
| 33 #include "SkXMLParser.h" | 31 #include "SkXMLParser.h" |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 SampleView* CreateSamplePictFileView(const char filename[]) { | 195 SampleView* CreateSamplePictFileView(const char filename[]) { |
| 198 return new PictFileView(filename); | 196 return new PictFileView(filename); |
| 199 } | 197 } |
| 200 | 198 |
| 201 ////////////////////////////////////////////////////////////////////////////// | 199 ////////////////////////////////////////////////////////////////////////////// |
| 202 | 200 |
| 203 #if 0 | 201 #if 0 |
| 204 static SkView* MyFactory() { return new PictFileView; } | 202 static SkView* MyFactory() { return new PictFileView; } |
| 205 static SkViewRegister reg(MyFactory); | 203 static SkViewRegister reg(MyFactory); |
| 206 #endif | 204 #endif |
| OLD | NEW |