aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/views
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2016-07-28 15:17:34 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-07-28 15:17:34 -0700
commitecf3dbe8f2987a08b21be1aff61b7fbfbb69640a (patch)
tree99358f3174597d234b1fdba3528dfdc513a09101 /include/views
parent99fb670977b5566e901cb4b95531a000ed0ec8a9 (diff)
Remove use of MakeRenderTargetDirect from view system
Here is the CL that sent me down the SkGammaColorFilter path GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2178353005 Review-Url: https://codereview.chromium.org/2178353005
Diffstat (limited to 'include/views')
-rw-r--r--include/views/SkWindow.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/views/SkWindow.h b/include/views/SkWindow.h
index f81ec5d06e..e964fc681b 100644
--- a/include/views/SkWindow.h
+++ b/include/views/SkWindow.h
@@ -78,7 +78,7 @@ public:
void preConcat(const SkMatrix&);
void postConcat(const SkMatrix&);
- virtual SkSurface* createSurface();
+ virtual sk_sp<SkSurface> makeSurface();
protected:
virtual bool onEvent(const SkEvent&);
@@ -98,8 +98,8 @@ protected:
virtual bool onSetFocusView(SkView* focus);
#if SK_SUPPORT_GPU
- GrRenderTarget* renderTarget(const AttachmentInfo& attachmentInfo,
- const GrGLInterface* , GrContext* grContext);
+ sk_sp<SkSurface> makeGpuBackedSurface(const AttachmentInfo& attachmentInfo,
+ const GrGLInterface* , GrContext* grContext);
#endif
private: