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

Unified Diff: tools/vulkan/viewer/SKPSlide.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/viewer/GMSlide.h ('k') | tools/vulkan/viewer/Slide.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/vulkan/viewer/SKPSlide.h
diff --git a/tools/vulkan/viewer/SKPSlide.h b/tools/vulkan/viewer/SKPSlide.h
index 73fd5a1f3f702d256035a8cf4eefb91577e6d770..42845fa30d9ef3f38d82f8f0f495a94d138ee18c 100644
--- a/tools/vulkan/viewer/SKPSlide.h
+++ b/tools/vulkan/viewer/SKPSlide.h
@@ -16,6 +16,8 @@ public:
SKPSlide(const SkString& name, const SkString& path);
~SKPSlide() override;
+ SkISize getDimensions() const override { return fCullRect.size(); }
+
void draw(SkCanvas* canvas) override;
void load() override;
void unload() override;
« no previous file with comments | « tools/vulkan/viewer/GMSlide.h ('k') | tools/vulkan/viewer/Slide.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698