diff options
author | Brian Osman <brianosman@google.com> | 2018-10-15 21:04:08 +0000 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-10-15 21:04:20 +0000 |
commit | 264ed5f693826cb6fa479ec8d4fd60c34b972ef3 (patch) | |
tree | 644d8e3d93e9bf0c0bbd9a24ca8c14ba01c327dc /src/image | |
parent | eace935298b151ba6403a4a4fa311b665c03875c (diff) | |
download | skqp-264ed5f693826cb6fa479ec8d4fd60c34b972ef3.tar.gz |
Revert "Fix bug with makeColorSpace of GPU images with non-renderable configs"
This reverts commit 6edbde62481485a3328210b0f1e3e1e7bcefca73.
Reason for revert: Need to revert original CL.
Original change's description:
> Fix bug with makeColorSpace of GPU images with non-renderable configs
>
> A few GMs that draw Gray8 images found this on the gbr-gl config.
>
> Bug: skia:
> Change-Id: Iadeb21717d4d1daa48b85e08c45b1d058c2fe1b7
> Reviewed-on: https://skia-review.googlesource.com/c/162282
> Reviewed-by: Brian Salomon <bsalomon@google.com>
> Commit-Queue: Brian Osman <brianosman@google.com>
TBR=mtklein@google.com,bsalomon@google.com,brianosman@google.com
Change-Id: Ic13ce5ba22eba88f9a9cca84f57c0eaeb90f4b83
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:
Reviewed-on: https://skia-review.googlesource.com/c/162360
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'src/image')
-rw-r--r-- | src/image/SkImage_GpuBase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image/SkImage_GpuBase.cpp b/src/image/SkImage_GpuBase.cpp index 27bb2d8f70..a972fadf7c 100644 --- a/src/image/SkImage_GpuBase.cpp +++ b/src/image/SkImage_GpuBase.cpp @@ -263,7 +263,7 @@ sk_sp<SkImage> SkImage_GpuBase::onMakeColorSpace(sk_sp<SkColorSpace> target) con sk_sp<GrTextureProxy> proxy = this->asTextureProxyRef(); sk_sp<GrRenderTargetContext> renderTargetContext( - fContext->contextPriv().makeDeferredRenderTargetContextWithFallback( + fContext->contextPriv().makeDeferredRenderTargetContext( SkBackingFit::kExact, this->width(), this->height(), proxy->config(), nullptr)); if (!renderTargetContext) { return nullptr; |