diff options
author | robertphillips <robertphillips@google.com> | 2016-08-04 08:45:02 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-04 08:45:02 -0700 |
commit | 15c42ca310e8b9785eab38b3dd36265948e85b0e (patch) | |
tree | c046b23f6c72377c28fdbd451bf2c997f799cc31 /include/core/SkSurface.h | |
parent | b83cdbcbb0829bf6e0c9cb2c7d9a0ff460f7f431 (diff) |
Remove SkSurface::MakeRenderTargetDirect
split into:
https://codereview.chromium.org/2182543003/ (Move prepareForExternalIO from GrRenderTarget to GrDrawContext)
https://codereview.chromium.org/2187573002/ (Reduce usage of MakeRenderTargetDirect)
https://codereview.chromium.org/2186073002/ (Rename GrContext's newDrawContext & drawContext to makeDrawContext)
https://codereview.chromium.org/2178353005/ (Remove use of MakeRenderTargetDirect from view system)
https://codereview.chromium.org/2198433003/ (Remove some ancillary users of SkSurface::MakeRenderTargetDirect)
https://codereview.chromium.org/2208483004/ (Remove GrRenderTarget member variable from SkGpuDevice)
https://codereview.chromium.org/2211473002/ (Move GrContext::makeDrawContext to new GrContextPriv object)
TBR=bsalomon@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2176333002
Review-Url: https://codereview.chromium.org/2176333002
Diffstat (limited to 'include/core/SkSurface.h')
-rw-r--r-- | include/core/SkSurface.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/core/SkSurface.h b/include/core/SkSurface.h index 7c4d21bd5f..bb3f719754 100644 --- a/include/core/SkSurface.h +++ b/include/core/SkSurface.h @@ -80,12 +80,6 @@ public: } /** - * Return a new surface using the specified render target. - */ - static sk_sp<SkSurface> MakeRenderTargetDirect(GrRenderTarget*, sk_sp<SkColorSpace> colorSpace, - const SkSurfaceProps* = nullptr); - - /** * Used to wrap a pre-existing backend 3D API texture as a SkSurface. The kRenderTarget flag * must be set on GrBackendTextureDesc for this to succeed. Skia will not assume ownership * of the texture and the client must ensure the texture is valid for the lifetime of the |