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

Side by Side Diff: tools/viewer/sk_app/win/Window_win.cpp

Issue 2001153002: Move inval dedup to Window for wider usages. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Improve Comments Created 4 years, 7 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 | « tools/viewer/sk_app/win/Window_win.h ('k') | no next file » | 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 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
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
OLDNEW
« no previous file with comments | « tools/viewer/sk_app/win/Window_win.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698