diff options
author | Greg Daniel <egdaniel@google.com> | 2018-04-25 10:44:38 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-04-25 19:38:57 +0000 |
commit | 25af671a3d7d790b31b085172952df3867337431 (patch) | |
tree | 31105df7304db512ed5456852329347a70bb974d /src/gpu/SkGpuDevice.cpp | |
parent | b66099b9fbcfd0be347767a0161268452339a9f4 (diff) |
Add GrCap check for whether we can do a copy or not, and implement in Vk backend
Today, we only know if we fail a copy during the flush so we have no
way to cleanly handle a failed copy. This will allow us to know if we'll
fail a copy during recording and allow us to do some appropriate fallback
and/or dropping of the draw.
Bug: skia:
Change-Id: I38f209dbd4ebb4e762210b4609147d4b0a1b01b1
Reviewed-on: https://skia-review.googlesource.com/123560
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/gpu/SkGpuDevice.cpp')
0 files changed, 0 insertions, 0 deletions