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

Side by Side Diff: samplecode/SampleApp.cpp

Issue 1904673003: Rein in the use of SkDevice.h (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 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 | « samplecode/SampleAARects.cpp ('k') | samplecode/SampleCircle.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 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
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 }
OLDNEW
« no previous file with comments | « samplecode/SampleAARects.cpp ('k') | samplecode/SampleCircle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698