commit | 549666c1b5e30927c0bc1bcf9d97d6b9af0cd4e9 | [log] [tgz] |
---|---|---|
author | Jim Van Verth <jvanverth@google.com> | Mon Oct 21 11:45:06 2019 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon Oct 21 16:41:03 2019 +0000 |
tree | 8d753d36b5c22f3489cb407ef430ab9b8b1a9d79 | |
parent | b09131f47629d96f3195bed63799b2566256f640 [diff] |
Metal: adjust framebuffer size by contentsScale. If the layer has a scale factor we need to allocate a larger framebuffer. Otherwise we'll end up drawing to a fraction of the window. Bug: skia:9554 Change-Id: I93d1e0dc7172ed10bb99ce45524561ad841f0101 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/249803 Reviewed-by: Hal Canary <halcanary@google.com> Commit-Queue: Jim Van Verth <jvanverth@google.com>