diff options
author | 2018-07-19 21:33:11 +0000 | |
---|---|---|
committer | 2018-07-19 21:33:16 +0000 | |
commit | c861eee3a6f1f93ad3df27b8be94f44b245bd128 (patch) | |
tree | 1c4f0307a456002c784d6428e77c45b9032b7576 /src/gpu/GrTextureAdjuster.h | |
parent | 6a3957c1f9cbeca9107708462150fb766993ac0a (diff) |
Revert "Don't require mips in GrTextureProducer if texture is 1x1."
This reverts commit 5191fd7555d34225ef771ad4cac65bcbbb50a89c.
Reason for revert: breaking angle
Original change's description:
> Don't require mips in GrTextureProducer if texture is 1x1.
>
> Bug: chromium:862921
> Change-Id: I5f3584ad36e160a5a09d0a37e31e147155076b4d
> Reviewed-on: https://skia-review.googlesource.com/142586
> Reviewed-by: Brian Osman <brianosman@google.com>
> Reviewed-by: Brian Salomon <bsalomon@google.com>
> Commit-Queue: Greg Daniel <egdaniel@google.com>
TBR=egdaniel@google.com,bsalomon@google.com,brianosman@google.com
Change-Id: Iaef7a56b061cb41f4c75ec20d8df77d3e52b194d
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: chromium:862921
Reviewed-on: https://skia-review.googlesource.com/142600
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/gpu/GrTextureAdjuster.h')
-rw-r--r-- | src/gpu/GrTextureAdjuster.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrTextureAdjuster.h b/src/gpu/GrTextureAdjuster.h index ad02ae06c8..e43e87b1dc 100644 --- a/src/gpu/GrTextureAdjuster.h +++ b/src/gpu/GrTextureAdjuster.h @@ -46,11 +46,11 @@ private: sk_sp<GrTextureProxy> onRefTextureProxyForParams(const GrSamplerState&, SkColorSpace* dstColorSpace, sk_sp<SkColorSpace>* proxyColorSpace, - bool willBeMipped, SkScalar scaleAdjust[2]) override; sk_sp<GrTextureProxy> refTextureProxyCopy(const CopyParams& copyParams, bool willBeMipped); + GrContext* fContext; sk_sp<GrTextureProxy> fOriginal; SkAlphaType fAlphaType; SkColorSpace* fColorSpace; |