diff options
author | bsalomon <bsalomon@google.com> | 2016-04-13 14:29:25 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-13 14:29:25 -0700 |
commit | 7e68ab73186ab02a6030d3959e7372f983f85af5 (patch) | |
tree | 973b20fb786c0e2ac42344652ec07a36d112b3f8 /include/core/SkSurface.h | |
parent | 0e3c55431b463b5575983c0c875909e08a3562bf (diff) |
Remove GrTextureStorageAllocator. This was added from Chromium but never used and not expected to be used.
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1886613003
Review URL: https://codereview.chromium.org/1886613003
Diffstat (limited to 'include/core/SkSurface.h')
-rw-r--r-- | include/core/SkSurface.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/include/core/SkSurface.h b/include/core/SkSurface.h index ec76d26888..427f52dcc0 100644 --- a/include/core/SkSurface.h +++ b/include/core/SkSurface.h @@ -112,13 +112,9 @@ public: /** * Return a new surface whose contents will be drawn to an offscreen * render target, allocated by the surface. - * - * The GrTextureStorageAllocator will be reused if SkImage snapshots create - * additional textures. */ static sk_sp<SkSurface> MakeRenderTarget( - GrContext*, SkBudgeted, const SkImageInfo&, int sampleCount, const SkSurfaceProps*, - GrTextureStorageAllocator = GrTextureStorageAllocator()); + GrContext*, SkBudgeted, const SkImageInfo&, int sampleCount, const SkSurfaceProps*); static sk_sp<SkSurface> MakeRenderTarget(GrContext* gr, SkBudgeted b, const SkImageInfo& info) { return MakeRenderTarget(gr, b, info, 0, nullptr); @@ -172,8 +168,7 @@ public: return MakeFromBackendTextureAsRenderTarget(ctx, desc, props).release(); } static SkSurface* NewRenderTarget(GrContext* ctx, SkBudgeted b, const SkImageInfo& info, - int sampleCount, const SkSurfaceProps* props = NULL, - GrTextureStorageAllocator a = GrTextureStorageAllocator()) { + int sampleCount, const SkSurfaceProps* props = NULL) { return MakeRenderTarget(ctx, b, info, sampleCount, props, a).release(); } static SkSurface* NewRenderTarget(GrContext* gr, SkBudgeted b, const SkImageInfo& info) { |