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

Unified Diff: tools/viewer/sk_app/android/Window_android.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/android/Window_android.h ('k') | tools/viewer/sk_app/android/main_android.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/viewer/sk_app/android/Window_android.cpp
diff --git a/tools/viewer/android/Window_android.cpp b/tools/viewer/sk_app/android/Window_android.cpp
similarity index 97%
rename from tools/viewer/android/Window_android.cpp
rename to tools/viewer/sk_app/android/Window_android.cpp
index ebccb8beffc271a9a0fb4d8f5bd8995ba9c35534..94be02c9336acc1493834c06918dad40ada2bfa7 100644
--- a/tools/viewer/android/Window_android.cpp
+++ b/tools/viewer/sk_app/android/Window_android.cpp
@@ -7,7 +7,7 @@
#include "Window_android.h"
-#include "VulkanTestContext_android.h"
+#include "VulkanWindowContext_android.h"
namespace sk_app {
@@ -53,7 +53,7 @@ void Window_android::initDisplay(ANativeWindow* window) {
SkASSERT(window);
ContextPlatformData_android platformData;
platformData.fNativeWindow = window;
- fTestContext = VulkanTestContext::Create((void*)&platformData, mSampleCount);
+ fWindowContext = VulkanWindowContext::Create((void*)&platformData, mSampleCount);
}
static void android_app_write_cmd(struct android_app* android_app, int8_t cmd) {
« no previous file with comments | « tools/viewer/sk_app/android/Window_android.h ('k') | tools/viewer/sk_app/android/main_android.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698