diff options
author | Robert Phillips <robertphillips@google.com> | 2017-07-25 10:16:35 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-07-25 17:34:29 +0000 |
commit | 066f020bb6cb9dbb12b977fcddd93982201777fe (patch) | |
tree | 792f93eeb1503885417576d7b3f8d5627b6357af /src/gpu/GrResourceProvider.h | |
parent | e4832b287c6d0ae4a4a193f0144736f7eb6a824d (diff) |
Reduce dependence on GrSurface's origin field (take 3)
TBR=bsalomon@google.com
Change-Id: I8c95c6774897dbd87e3c5c87d92f75c5b64d4e76
Reviewed-on: https://skia-review.googlesource.com/26424
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/GrResourceProvider.h')
-rw-r--r-- | src/gpu/GrResourceProvider.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrResourceProvider.h b/src/gpu/GrResourceProvider.h index b553cc4a98..28207b7a87 100644 --- a/src/gpu/GrResourceProvider.h +++ b/src/gpu/GrResourceProvider.h @@ -55,7 +55,7 @@ public: /** Finds a texture by unique key. If the texture is found it is ref'ed and returned. */ // MDB TODO (caching): If this were actually caching proxies (rather than shallowly // wrapping GrSurface caching) we would not need the origin parameter. - sk_sp<GrTextureProxy> findProxyByUniqueKey(const GrUniqueKey& key); + sk_sp<GrTextureProxy> findProxyByUniqueKey(const GrUniqueKey& key, GrSurfaceOrigin); /** * Finds a texture that approximately matches the descriptor. Will be at least as large in width |