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

Side by Side Diff: samplecode/SampleApp.cpp

Issue 1905383002: Retract SkDevice a bit more (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 | « include/core/SkImageFilter.h ('k') | src/gpu/GrLayerHoister.h » ('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"
(...skipping 19 matching lines...) Expand all
30 #include "SkTime.h" 30 #include "SkTime.h"
31 #include "SkTypeface.h" 31 #include "SkTypeface.h"
32 #include "SkWindow.h" 32 #include "SkWindow.h"
33 #include "sk_tool_utils.h" 33 #include "sk_tool_utils.h"
34 34
35 #if SK_SUPPORT_GPU 35 #if SK_SUPPORT_GPU
36 # include "gl/GrGLInterface.h" 36 # include "gl/GrGLInterface.h"
37 # include "gl/GrGLUtil.h" 37 # include "gl/GrGLUtil.h"
38 # include "GrRenderTarget.h" 38 # include "GrRenderTarget.h"
39 # include "GrContext.h" 39 # include "GrContext.h"
40 # include "SkGpuDevice.h" 40 # include "SkGr.h"
41 # if SK_ANGLE 41 # if SK_ANGLE
42 # include "gl/angle/GLTestContext_angle.h" 42 # include "gl/angle/GLTestContext_angle.h"
43 # endif 43 # endif
44 #else 44 #else
45 class GrContext; 45 class GrContext;
46 #endif 46 #endif
47 47
48 const struct { 48 const struct {
49 SkColorType fColorType; 49 SkColorType fColorType;
50 SkColorProfileType fProfileType; 50 SkColorProfileType fProfileType;
(...skipping 2350 matching lines...) Expand 10 before | Expand all | Expand 10 after
2401 #ifdef SK_BUILD_FOR_MAC 2401 #ifdef SK_BUILD_FOR_MAC
2402 setenv("ANDROID_ROOT", "/android/device/data", 0); 2402 setenv("ANDROID_ROOT", "/android/device/data", 0);
2403 #endif 2403 #endif
2404 SkGraphics::Init(); 2404 SkGraphics::Init();
2405 SkEvent::Init(); 2405 SkEvent::Init();
2406 } 2406 }
2407 2407
2408 void application_term() { 2408 void application_term() {
2409 SkEvent::Term(); 2409 SkEvent::Term();
2410 } 2410 }
OLDNEW
« no previous file with comments | « include/core/SkImageFilter.h ('k') | src/gpu/GrLayerHoister.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698