diff options
author | Greg Daniel <egdaniel@google.com> | 2017-09-29 15:21:28 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-09-29 19:42:54 +0000 |
commit | 4faa0408c1fc414263a3116a76ede20cc52b1d97 (patch) | |
tree | 11f143025b1e51ba1475fa1c52cbd1ed56bd63cf /src/gpu/GrTextureAdjuster.h | |
parent | 9729dcbcf180317bb2f1a5380c8aa6b699297a2a (diff) |
Remove unused outOffset param in GrTextureAdjuster
Bug: skia:
Change-Id: Ifb5ee9d2d80badf082cf1888d2289fea6344c0e9
Reviewed-on: https://skia-review.googlesource.com/53400
Commit-Queue: Greg Daniel <egdaniel@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Diffstat (limited to 'src/gpu/GrTextureAdjuster.h')
-rw-r--r-- | src/gpu/GrTextureAdjuster.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/gpu/GrTextureAdjuster.h b/src/gpu/GrTextureAdjuster.h index cf84fe024e..5ee6edc79c 100644 --- a/src/gpu/GrTextureAdjuster.h +++ b/src/gpu/GrTextureAdjuster.h @@ -20,11 +20,9 @@ */ class GrTextureAdjuster : public GrTextureProducer { public: - /** Makes the subset of the texture safe to use with the given texture parameters. - outOffset will be the top-left corner of the subset if a copy is not made. Otherwise, - the copy will be tight to the contents and outOffset will be (0, 0). If the copy's size - does not match subset's dimensions then the contents are scaled to fit the copy.*/ - sk_sp<GrTextureProxy> refTextureProxySafeForParams(const GrSamplerState&, SkIPoint* outOffset, + /** Makes the subset of the texture safe to use with the given texture parameters. If the copy's + size does not match subset's dimensions then the contents are scaled to fit the copy.*/ + sk_sp<GrTextureProxy> refTextureProxySafeForParams(const GrSamplerState&, SkScalar scaleAdjust[2]); std::unique_ptr<GrFragmentProcessor> createFragmentProcessor( |