| Index: tools/vulkan/viewer/SKPSlide.h
|
| diff --git a/tools/vulkan/viewer/SKPSlide.h b/tools/vulkan/viewer/SKPSlide.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..60be9d81e9b96b1f77739e66cb64282612e971f8
|
| --- /dev/null
|
| +++ b/tools/vulkan/viewer/SKPSlide.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 SKPSlide_DEFINED
|
| +#define SKPSlide_DEFINED
|
| +
|
| +#include "Slide.h"
|
| +#include "SkPicture.h"
|
| +
|
| +class SKPSlide : public Slide {
|
| +public:
|
| + SKPSlide(const char* name, sk_sp<const SkPicture> pic);
|
| + ~SKPSlide() override;
|
| +
|
| + void draw(SkCanvas* canvas) override;
|
| +
|
| +private:
|
| + sk_sp<const SkPicture> fPic;
|
| + SkIRect fCullRect;
|
| +};
|
| +
|
| +#endif
|
|
|