OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2016 Google Inc. | 2 * Copyright 2016 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 "Window_win.h" | 8 #include "Window_win.h" |
9 | 9 |
10 #include <tchar.h> | 10 #include <tchar.h> |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 break; | 277 break; |
278 | 278 |
279 case kVulkan_BackendType: | 279 case kVulkan_BackendType: |
280 fWindowContext = VulkanWindowContext::Create((void*)&platformData, p
arams); | 280 fWindowContext = VulkanWindowContext::Create((void*)&platformData, p
arams); |
281 break; | 281 break; |
282 } | 282 } |
283 | 283 |
284 return (SkToBool(fWindowContext)); | 284 return (SkToBool(fWindowContext)); |
285 } | 285 } |
286 | 286 |
287 void Window_win::inval() { | 287 void Window_win::onInval() { |
288 InvalidateRect(fHWnd, nullptr, false); | 288 InvalidateRect(fHWnd, nullptr, false); |
289 } | 289 } |
290 | 290 |
291 } // namespace sk_app | 291 } // namespace sk_app |
OLD | NEW |