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 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 } | 268 } |
269 | 269 |
270 ContextPlatformData_win platformData; | 270 ContextPlatformData_win platformData; |
271 platformData.fHInstance = fHInstance; | 271 platformData.fHInstance = fHInstance; |
272 platformData.fHWnd = fHWnd; | 272 platformData.fHWnd = fHWnd; |
273 | 273 |
274 fTestContext = VulkanTestContext::Create((void*)&platformData, msaaSampleCou
nt); | 274 fTestContext = VulkanTestContext::Create((void*)&platformData, msaaSampleCou
nt); |
275 | 275 |
276 return (SkToBool(fTestContext)); | 276 return (SkToBool(fTestContext)); |
277 } | 277 } |
| 278 |
| 279 void Window_win::inval() { |
| 280 InvalidateRect(fHWnd, nullptr, false); |
| 281 } |
OLD | NEW |