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