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

Unified Diff: tools/vulkan/viewer/Slide.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/SKPSlide.h ('k') | tools/vulkan/viewer/VulkanViewer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/vulkan/viewer/Slide.h
diff --git a/tools/vulkan/viewer/Slide.h b/tools/vulkan/viewer/Slide.h
index f75e3fd6c5815b57d158cb38cfcfd52480b07b4c..cdc225b0a8c24b74762d075d6a4f6b21a1353909 100644
--- a/tools/vulkan/viewer/Slide.h
+++ b/tools/vulkan/viewer/Slide.h
@@ -9,6 +9,7 @@
#define Slide_DEFINED
#include "SkRefCnt.h"
+#include "SkSize.h"
#include "SkString.h"
class SkCanvas;
@@ -18,6 +19,8 @@ class Slide : public SkRefCnt {
public:
virtual ~Slide() {}
+ virtual SkISize getDimensions() const = 0;
+
virtual void draw(SkCanvas* canvas) = 0;
virtual bool animate(const SkAnimTimer&) { return false; }
virtual void load() {}
« no previous file with comments | « tools/vulkan/viewer/SKPSlide.h ('k') | tools/vulkan/viewer/VulkanViewer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698