Index: tools/vulkan/viewer/GMSlide.h |
diff --git a/tools/vulkan/viewer/GMSlide.h b/tools/vulkan/viewer/GMSlide.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e827287c661c03cf1324eeed57830fa328de0940 |
--- /dev/null |
+++ b/tools/vulkan/viewer/GMSlide.h |
@@ -0,0 +1,26 @@ |
+/* |
+* Copyright 2016 Google Inc. |
+* |
+* Use of this source code is governed by a BSD-style license that can be |
+* found in the LICENSE file. |
+*/ |
+ |
+#ifndef GMSlide_DEFINED |
+#define GMSlide_DEFINED |
+ |
+#include "Slide.h" |
+#include "gm.h" |
+ |
+class GMSlide : public Slide { |
+public: |
+ GMSlide(skiagm::GM* gm); |
+ ~GMSlide() override; |
+ |
+ void draw(SkCanvas* canvas) override; |
+ |
+private: |
+ skiagm::GM* fGM; |
+}; |
+ |
+ |
+#endif |