| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 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 | 8 |
| 9 #include "VisualBench.h" | 9 #include "VisualBench.h" |
| 10 | 10 |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 } | 107 } |
| 108 | 108 |
| 109 // Externally declared entry points | 109 // Externally declared entry points |
| 110 void application_init() { | 110 void application_init() { |
| 111 SkGraphics::Init(); | 111 SkGraphics::Init(); |
| 112 SkEvent::Init(); | 112 SkEvent::Init(); |
| 113 } | 113 } |
| 114 | 114 |
| 115 void application_term() { | 115 void application_term() { |
| 116 SkEvent::Term(); | 116 SkEvent::Term(); |
| 117 SkGraphics::Term(); |
| 117 } | 118 } |
| 118 | 119 |
| 119 SkOSWindow* create_sk_window(void* hwnd, int argc, char** argv) { | 120 SkOSWindow* create_sk_window(void* hwnd, int argc, char** argv) { |
| 120 return new VisualBench(hwnd, argc, argv); | 121 return new VisualBench(hwnd, argc, argv); |
| 121 } | 122 } |
| 122 | 123 |
| OLD | NEW |