diff options
author | Brian Salomon <bsalomon@google.com> | 2018-07-30 13:13:17 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-07-30 19:32:13 +0000 |
commit | 7226c232d73356a37ec8cfef0ed55147e68dd2fd (patch) | |
tree | 47559e4a5994b5cffc5382e9bb230f49b6c04cd7 /src/gpu/GrTextureRenderTargetProxy.h | |
parent | 3ebd354730ea9590bf233deccfc24982ffe48a98 (diff) |
Make GrTextureProxy store a GrTextureType.
Removes flag indicating rectangle or external as its now redundant.
Bug: skia:
Change-Id: Ia475b557390e7a6b0f19f6e189cf8c27090e397c
Reviewed-on: https://skia-review.googlesource.com/144346
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/GrTextureRenderTargetProxy.h')
-rw-r--r-- | src/gpu/GrTextureRenderTargetProxy.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrTextureRenderTargetProxy.h b/src/gpu/GrTextureRenderTargetProxy.h index 141597ec76..f2f3edb41a 100644 --- a/src/gpu/GrTextureRenderTargetProxy.h +++ b/src/gpu/GrTextureRenderTargetProxy.h @@ -29,12 +29,12 @@ private: // Deferred version GrTextureRenderTargetProxy(const GrCaps&, const GrSurfaceDesc&, GrSurfaceOrigin, GrMipMapped, - SkBackingFit, SkBudgeted, GrInternalSurfaceFlags); + GrTextureType, SkBackingFit, SkBudgeted, GrInternalSurfaceFlags); // Lazy-callback version GrTextureRenderTargetProxy(LazyInstantiateCallback&&, LazyInstantiationType, const GrSurfaceDesc& desc, GrSurfaceOrigin, GrMipMapped, - SkBackingFit, SkBudgeted, GrInternalSurfaceFlags); + GrTextureType, SkBackingFit, SkBudgeted, GrInternalSurfaceFlags); // Wrapped version GrTextureRenderTargetProxy(sk_sp<GrSurface>, GrSurfaceOrigin); |