OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 Google Inc. |
3 * | 3 * |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 * | 7 * |
8 */ | 8 */ |
9 | 9 |
10 #include "HelloWorld.h" | 10 #include "HelloWorld.h" |
11 | 11 |
12 #include "gl/GrGLInterface.h" | 12 #include "gl/GrGLInterface.h" |
| 13 #include "GrContext.h" |
13 #include "SkApplication.h" | 14 #include "SkApplication.h" |
14 #include "SkCanvas.h" | 15 #include "SkCanvas.h" |
15 #include "SkGradientShader.h" | 16 #include "SkGradientShader.h" |
16 #include "SkGraphics.h" | 17 #include "SkGraphics.h" |
17 #include "SkGr.h" | 18 #include "SkGr.h" |
18 | 19 |
19 void application_init() { | 20 void application_init() { |
20 SkGraphics::Init(); | 21 SkGraphics::Init(); |
21 SkEvent::Init(); | 22 SkEvent::Init(); |
22 } | 23 } |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 setUpBackend(); | 184 setUpBackend(); |
184 this->setTitle(); | 185 this->setTitle(); |
185 this->inval(NULL); | 186 this->inval(NULL); |
186 } | 187 } |
187 return true; | 188 return true; |
188 } | 189 } |
189 | 190 |
190 SkOSWindow* create_sk_window(void* hwnd, int , char** ) { | 191 SkOSWindow* create_sk_window(void* hwnd, int , char** ) { |
191 return new HelloWorldWindow(hwnd); | 192 return new HelloWorldWindow(hwnd); |
192 } | 193 } |
OLD | NEW |