| Index: tools/vulkan/Window.h
|
| diff --git a/tools/vulkan/Window.h b/tools/vulkan/Window.h
|
| index c8971eebbe11d29eae78e7a5721ebe1972c06a95..387f052d310f4d763cf9c60616753b9b1e90bf0c 100644
|
| --- a/tools/vulkan/Window.h
|
| +++ b/tools/vulkan/Window.h
|
| @@ -9,6 +9,7 @@
|
| #define Window_DEFINED
|
|
|
| #include "SkTypes.h"
|
| +#include "SkRect.h"
|
|
|
| class SkCanvas;
|
| class VulkanTestContext;
|
| @@ -23,6 +24,10 @@ public:
|
| virtual void show() = 0;
|
| virtual void inval() = 0;
|
|
|
| + virtual bool scaleContentToFit() const { return false; }
|
| + virtual bool supportsContentRect() const { return false; }
|
| + virtual SkRect getContentRect() { return SkRect::MakeEmpty(); }
|
| +
|
| struct AttachmentInfo {
|
| int fSampleCount;
|
| int fStencilBits;
|
|
|