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

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

Issue 1944413005: More refactoring for Viewer (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix up Android 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/sk_app/win/Window_win.h ('k') | tools/viewer/sk_app/win/main_win.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/viewer/sk_app/win/Window_win.cpp
diff --git a/tools/viewer/win/Window_win.cpp b/tools/viewer/sk_app/win/Window_win.cpp
similarity index 98%
rename from tools/viewer/win/Window_win.cpp
rename to tools/viewer/sk_app/win/Window_win.cpp
index d5711b72452ebf7c1b0d1297862876f40b63a75e..1dd07a6c9c1292fbc8060450647db4dd91455444 100644
--- a/tools/viewer/win/Window_win.cpp
+++ b/tools/viewer/sk_app/win/Window_win.cpp
@@ -12,7 +12,7 @@
#include <windowsx.h>
#include "SkUtils.h"
-#include "VulkanTestContext_win.h"
+#include "VulkanWindowContext_win.h"
namespace sk_app {
@@ -273,9 +273,9 @@ bool Window_win::attach(BackEndType attachType, int msaaSampleCount) {
platformData.fHInstance = fHInstance;
platformData.fHWnd = fHWnd;
- fTestContext = VulkanTestContext::Create((void*)&platformData, msaaSampleCount);
+ fWindowContext = VulkanWindowContext::Create((void*)&platformData, msaaSampleCount);
- return (SkToBool(fTestContext));
+ return (SkToBool(fWindowContext));
}
void Window_win::inval() {
« no previous file with comments | « tools/viewer/sk_app/win/Window_win.h ('k') | tools/viewer/sk_app/win/main_win.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698