Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Side by Side Diff: tools/iOSShell.cpp

Issue 531653002: SkThreadPool ~~> SkTaskGroup (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Lazy and leaky -> proactive and clean. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/flags/SkCommonFlags.cpp ('k') | tools/skpdiff/SkDiffContext.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « tools/flags/SkCommonFlags.cpp ('k') | tools/skpdiff/SkDiffContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698