diff options
author | Robert Phillips <robertphillips@google.com> | 2017-07-28 11:56:47 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-07-31 16:02:42 +0000 |
commit | df0e09feacb29290fe94d37f921731b18f2edae0 (patch) | |
tree | 8059c31deb493e101b616578f6db0d4bc4d05438 /src/gpu/GrResourceProvider.h | |
parent | f57c0d67611186ba74179b53b421e64b63a579c7 (diff) |
Remove origin field from GrSurface
This mainly consists of rm origin from GrSurface and the wrapBackEnd*
methods and then re-adding an explicit origin parameter to all the
GrGpu methods that need it.
Change-Id: Iabd79ae98b227b5b9409f3ab5bbcc48af9613c18
Reviewed-on: https://skia-review.googlesource.com/26363
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/GrResourceProvider.h')
-rw-r--r-- | src/gpu/GrResourceProvider.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gpu/GrResourceProvider.h b/src/gpu/GrResourceProvider.h index 28207b7a87..6c2f49d8aa 100644 --- a/src/gpu/GrResourceProvider.h +++ b/src/gpu/GrResourceProvider.h @@ -87,7 +87,6 @@ public: * @return GrTexture object or NULL on failure. */ sk_sp<GrTexture> wrapBackendTexture(const GrBackendTexture& tex, - GrSurfaceOrigin origin, GrWrapOwnership = kBorrow_GrWrapOwnership); /** @@ -96,7 +95,6 @@ public: * to the texture. */ sk_sp<GrTexture> wrapRenderableBackendTexture(const GrBackendTexture& tex, - GrSurfaceOrigin origin, int sampleCnt, GrWrapOwnership = kBorrow_GrWrapOwnership); @@ -109,7 +107,7 @@ public: * * @return GrRenderTarget object or NULL on failure. */ - sk_sp<GrRenderTarget> wrapBackendRenderTarget(const GrBackendRenderTarget&, GrSurfaceOrigin); + sk_sp<GrRenderTarget> wrapBackendRenderTarget(const GrBackendRenderTarget&); static const uint32_t kMinScratchTextureSize; @@ -212,7 +210,6 @@ public: * @return GrRenderTarget object or NULL on failure. */ sk_sp<GrRenderTarget> wrapBackendTextureAsRenderTarget(const GrBackendTexture&, - GrSurfaceOrigin origin, int sampleCnt); /** |