| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 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 "iOSShell.h" | 8 #include "iOSShell.h" |
| 9 | 9 |
| 10 #include "Resources.h" | 10 #include "Resources.h" |
| 11 #include "SkApplication.h" | 11 #include "SkApplication.h" |
| 12 #include "SkCanvas.h" | 12 #include "SkCanvas.h" |
| 13 #include "SkCommonFlags.h" | 13 #include "SkCommonFlags.h" |
| 14 #include "SkGraphics.h" | 14 #include "SkGraphics.h" |
| 15 #include "SkThreadPool.h" | |
| 16 #include "SkWindow.h" | 15 #include "SkWindow.h" |
| 17 #include "sk_tool_utils.h" | 16 #include "sk_tool_utils.h" |
| 18 | 17 |
| 19 ////////////////////////////////////////////////////////////////////////////// | 18 ////////////////////////////////////////////////////////////////////////////// |
| 20 | 19 |
| 21 static SkView* curr_view(SkWindow* wind) { | 20 static SkView* curr_view(SkWindow* wind) { |
| 22 SkView::F2BIter iter(wind); | 21 SkView::F2BIter iter(wind); |
| 23 return iter.next(); | 22 return iter.next(); |
| 24 } | 23 } |
| 25 | 24 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 SkGraphics::Init(); | 92 SkGraphics::Init(); |
| 94 SkEvent::Init(); | 93 SkEvent::Init(); |
| 95 } | 94 } |
| 96 | 95 |
| 97 // FIXME: this should be in a header | 96 // FIXME: this should be in a header |
| 98 void application_term(); | 97 void application_term(); |
| 99 void application_term() { | 98 void application_term() { |
| 100 SkEvent::Term(); | 99 SkEvent::Term(); |
| 101 SkGraphics::Term(); | 100 SkGraphics::Term(); |
| 102 } | 101 } |
| OLD | NEW |