commit | 105d7c24c9b4d920d3d1b3fe4234e1a7367a078f | [log] [tgz] |
---|---|---|
author | Brian Salomon <bsalomon@google.com> | Tue Apr 16 13:46:14 2019 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Wed Apr 17 17:34:18 2019 +0000 |
tree | b4dd316648e8c90639eda0d8180bf0e14c342d39 | |
parent | f19ef9bd68892e872c432f3908fd2289d86da784 [diff] |
Add flag to map buffer flags in GrCaps to indicate whether mapping a GrGpuBuffer for reading is synchronous or not. Update transfer-from test to not call GrGpu->finishFlush() when maps are synchronous. Bug: skia:8962 Change-Id: I5eb003081725e5199157473faf7f916a65408dc8 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/208509 Reviewed-by: Jim Van Verth <jvanverth@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>