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

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

Issue 2182273002: SW backend for viewer on Windows (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update Created 4 years, 5 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/WindowContextFactory_win.h ('k') | no next file » | 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/sk_app/win/Window_win.cpp b/tools/viewer/sk_app/win/Window_win.cpp
index e9905d42cced451cb57b867e7ab15dbcdf89742c..2f7247822c6c67f86397a1e0b6616545ae413168 100644
--- a/tools/viewer/sk_app/win/Window_win.cpp
+++ b/tools/viewer/sk_app/win/Window_win.cpp
@@ -270,9 +270,11 @@ void Window_win::show() {
bool Window_win::attach(BackendType attachType, const DisplayParams& params) {
switch (attachType) {
case kNativeGL_BackendType:
- default:
fWindowContext = window_context_factory::NewGLForWin(fHWnd, params);
break;
+ case kRaster_BackendType:
+ fWindowContext = window_context_factory::NewRasterForWin(fHWnd, params);
+ break;
#ifdef SK_VULKAN
case kVulkan_BackendType:
fWindowContext = window_context_factory::NewVulkanForWin(fHWnd, params);
« no previous file with comments | « tools/viewer/sk_app/win/WindowContextFactory_win.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698