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

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

Issue 1873733003: More cleanup in the Vulkan viewer (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address comments 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.cpp ('k') | tools/vulkan/viewer/VulkanViewer.h » ('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 742a345f95bde26a8bcf38f6424fea0c99342ba0..f75e3fd6c5815b57d158cb38cfcfd52480b07b4c 100644
--- a/tools/vulkan/viewer/Slide.h
+++ b/tools/vulkan/viewer/Slide.h
@@ -12,12 +12,17 @@
#include "SkString.h"
class SkCanvas;
+class SkAnimTimer;
class Slide : public SkRefCnt {
public:
virtual ~Slide() {}
virtual void draw(SkCanvas* canvas) = 0;
+ virtual bool animate(const SkAnimTimer&) { return false; }
+ virtual void load() {}
+ virtual void unload() {}
+
SkString getName() { return fName; }
protected:
« no previous file with comments | « tools/vulkan/viewer/SKPSlide.cpp ('k') | tools/vulkan/viewer/VulkanViewer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698