Index: tools/vulkan/viewer/SKPSlide.h |
diff --git a/tools/vulkan/viewer/SKPSlide.h b/tools/vulkan/viewer/SKPSlide.h |
index 60be9d81e9b96b1f77739e66cb64282612e971f8..73fd5a1f3f702d256035a8cf4eefb91577e6d770 100644 |
--- a/tools/vulkan/viewer/SKPSlide.h |
+++ b/tools/vulkan/viewer/SKPSlide.h |
@@ -13,12 +13,15 @@ |
class SKPSlide : public Slide { |
public: |
- SKPSlide(const char* name, sk_sp<const SkPicture> pic); |
+ SKPSlide(const SkString& name, const SkString& path); |
~SKPSlide() override; |
void draw(SkCanvas* canvas) override; |
+ void load() override; |
+ void unload() override; |
private: |
+ SkString fPath; |
sk_sp<const SkPicture> fPic; |
SkIRect fCullRect; |
}; |