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

Unified Diff: tools/viewer/win/Window_win.cpp

Issue 1945103003: Rename VulkanViewer to Viewer, take 2. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix android path 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/viewer/win/Window_win.h ('k') | tools/viewer/win/main_win.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/viewer/win/Window_win.cpp
diff --git a/tools/vulkan/win/Window_win.cpp b/tools/viewer/win/Window_win.cpp
similarity index 99%
rename from tools/vulkan/win/Window_win.cpp
rename to tools/viewer/win/Window_win.cpp
index 58224d6d51817c2647655a2c651b2867f309a354..d5711b72452ebf7c1b0d1297862876f40b63a75e 100644
--- a/tools/vulkan/win/Window_win.cpp
+++ b/tools/viewer/win/Window_win.cpp
@@ -14,6 +14,8 @@
#include "SkUtils.h"
#include "VulkanTestContext_win.h"
+namespace sk_app {
+
Window* Window::CreateNativeWindow(void* platformData) {
HINSTANCE hInstance = (HINSTANCE)platformData;
@@ -279,3 +281,5 @@ bool Window_win::attach(BackEndType attachType, int msaaSampleCount) {
void Window_win::inval() {
InvalidateRect(fHWnd, nullptr, false);
}
+
+} // namespace sk_app
« no previous file with comments | « tools/viewer/win/Window_win.h ('k') | tools/viewer/win/main_win.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698