| 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 "SampleApp.h" | 8 #include "SampleApp.h" |
| 9 | 9 |
| 10 #include "OverView.h" | 10 #include "OverView.h" |
| 11 #include "Resources.h" | 11 #include "Resources.h" |
| 12 #include "SampleCode.h" | 12 #include "SampleCode.h" |
| 13 #include "SkAnimTimer.h" | 13 #include "SkAnimTimer.h" |
| 14 #include "SkCanvas.h" | 14 #include "SkCanvas.h" |
| 15 #include "SkCommandLineFlags.h" | 15 #include "SkCommandLineFlags.h" |
| 16 #include "SkData.h" | 16 #include "SkData.h" |
| 17 #include "SkDevice.h" | |
| 18 #include "SkDocument.h" | 17 #include "SkDocument.h" |
| 19 #include "SkGraphics.h" | 18 #include "SkGraphics.h" |
| 20 #include "SkImageEncoder.h" | 19 #include "SkImageEncoder.h" |
| 21 #include "SkOSFile.h" | 20 #include "SkOSFile.h" |
| 22 #include "SkPaint.h" | 21 #include "SkPaint.h" |
| 23 #include "SkPaintFilterCanvas.h" | 22 #include "SkPaintFilterCanvas.h" |
| 24 #include "SkPicture.h" | 23 #include "SkPicture.h" |
| 25 #include "SkPictureRecorder.h" | 24 #include "SkPictureRecorder.h" |
| 26 #include "SkStream.h" | 25 #include "SkStream.h" |
| 27 #include "SkSurface.h" | 26 #include "SkSurface.h" |
| (...skipping 2366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2394 #ifdef SK_BUILD_FOR_MAC | 2393 #ifdef SK_BUILD_FOR_MAC |
| 2395 setenv("ANDROID_ROOT", "/android/device/data", 0); | 2394 setenv("ANDROID_ROOT", "/android/device/data", 0); |
| 2396 #endif | 2395 #endif |
| 2397 SkGraphics::Init(); | 2396 SkGraphics::Init(); |
| 2398 SkEvent::Init(); | 2397 SkEvent::Init(); |
| 2399 } | 2398 } |
| 2400 | 2399 |
| 2401 void application_term() { | 2400 void application_term() { |
| 2402 SkEvent::Term(); | 2401 SkEvent::Term(); |
| 2403 } | 2402 } |
| OLD | NEW |