commit | c248659c196ddc43694aed3724e2035714e14425 | [log] [tgz] |
---|---|---|
author | Brian Osman <brianosman@google.com> | Fri Sep 20 13:32:51 2019 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Sep 20 18:02:57 2019 +0000 |
tree | c5178473fdb33ac599aa1f10209891dac5e44b04 | |
parent | 2ab109212f0fb0d5474dbb529143e25927047c4f [diff] |
Use makeRenderTargetContextWithFallback when creating devices for layers Fixes the case where someone uses the kF16ColorType flag to saveLayer but the GPU doesn't support F16 render targets. Follow-up to https://skia-review.googlesource.com/c/skia/+/243041, which improved the quality of the savelayer_f16 GM on most GPUs, but removed the final draw on the GPUs that can't respect the flag. Change-Id: I03dac6b2370bc9117c082f6c5c9b14e84b631339 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/243156 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>