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

Unified Diff: tools/vulkan/viewer/GMSlide.h

Issue 1903253003: VulkanViewer on Android (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: gyp Created 4 years, 8 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/vulkan/android/main_android.cpp ('k') | tools/vulkan/viewer/SKPSlide.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/vulkan/viewer/GMSlide.h
diff --git a/tools/vulkan/viewer/GMSlide.h b/tools/vulkan/viewer/GMSlide.h
index c9ed0844eacff1ee3700cb84b988648fc61bb710..6b03527202a04fdbdc0963c3ee80e8f9d02a2beb 100644
--- a/tools/vulkan/viewer/GMSlide.h
+++ b/tools/vulkan/viewer/GMSlide.h
@@ -16,6 +16,8 @@ public:
GMSlide(skiagm::GM* gm);
~GMSlide() override;
+ SkISize getDimensions() const override { return fGM->getISize(); }
+
void draw(SkCanvas* canvas) override;
bool animate(const SkAnimTimer&) override;
« no previous file with comments | « tools/vulkan/android/main_android.cpp ('k') | tools/vulkan/viewer/SKPSlide.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698