diff options
author | jvanverth <jvanverth@google.com> | 2016-10-10 07:39:38 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-10 07:39:38 -0700 |
commit | 38c72151576a6e89b31b0bd4c45a0b01c11641ff (patch) | |
tree | 396dc6f84fd50c6a43b4d7a73e511b360f8c4306 /include/views | |
parent | 42f4b42e8311f168aeeadd939b476c05b329500e (diff) |
Fix iOS surface creation for SampleApp
BUG=skia:5810
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2394843003
TBR=bsalomon@google.com
Review-Url: https://codereview.chromium.org/2394843003
Diffstat (limited to 'include/views')
-rw-r--r-- | include/views/SkWindow.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/views/SkWindow.h b/include/views/SkWindow.h index e964fc681b..1c4b5aef89 100644 --- a/include/views/SkWindow.h +++ b/include/views/SkWindow.h @@ -80,6 +80,11 @@ public: virtual sk_sp<SkSurface> makeSurface(); +#if SK_SUPPORT_GPU + sk_sp<SkSurface> makeGpuBackedSurface(const AttachmentInfo& attachmentInfo, + const GrGLInterface* , GrContext* grContext); +#endif + protected: virtual bool onEvent(const SkEvent&); virtual bool onDispatchClick(int x, int y, Click::State, void* owner, unsigned modi); @@ -97,11 +102,6 @@ protected: virtual bool onGetFocusView(SkView** focus) const; virtual bool onSetFocusView(SkView* focus); -#if SK_SUPPORT_GPU - sk_sp<SkSurface> makeGpuBackedSurface(const AttachmentInfo& attachmentInfo, - const GrGLInterface* , GrContext* grContext); -#endif - private: SkSurfaceProps fSurfaceProps; SkBitmap fBitmap; |