Index: tools/viewer/sk_app/Window.cpp |
diff --git a/tools/viewer/sk_app/Window.cpp b/tools/viewer/sk_app/Window.cpp |
index a7fd6b0cf67d95a07042747142e2fd5580a0d5bf..47053be5afc5a503f398316238bdda317fd94ead 100644 |
--- a/tools/viewer/sk_app/Window.cpp |
+++ b/tools/viewer/sk_app/Window.cpp |
@@ -75,4 +75,12 @@ void Window::onResize(uint32_t w, uint32_t h) { |
fWindowContext->resize(w, h); |
} |
+const DisplayParams& Window::getDisplayParams() { |
+ return fWindowContext->getDisplayParams(); |
+} |
+ |
+void Window::setDisplayParams(const DisplayParams& params) { |
+ fWindowContext->setDisplayParams(params); |
+} |
+ |
} // namespace sk_app |