commit | 3155f7fc0dde459900f27a754abdd81de0fc8afd | [log] [tgz] |
---|---|---|
author | Greg Daniel <egdaniel@google.com> | Thu Jan 16 16:54:26 2020 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Jan 16 22:55:32 2020 +0000 |
tree | 28942cc25b92b9d46127ff9c1ed18c1cef5027ec | |
parent | e3193ad4e10a3ca70ef6304bb01aba7b577268d6 [diff] |
Pass in a GrColorType into our Copy call. This allows us to remove looking at the config to infer a color type when setting up a Surface/RenderTargetContext for the copy. Bug: skia:6718 Change-Id: I75b63480a84558c96b5eeb248cc6165f96b2a243 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/264563 Commit-Queue: Greg Daniel <egdaniel@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>