commit | b4299f81bc02f7c8536aa5d49f47e5d73f517ce0 | [log] [tgz] |
---|---|---|
author | Ray Smith <raymond.smith@arm.com> | Wed Mar 13 10:08:36 2013 +0000 |
committer | Ray Smith <raymond.smith@arm.com> | Tue Jul 23 15:00:39 2013 +0100 |
tree | da28d80960c6471c704aafc6375eb92f0422d2b2 | |
parent | 4d37be3492bb1d3af52b550fdb233f411b004d70 [diff] |
Fallback to blitting when out of scanout memory If DRM can't allocate a scanout buffer for a flippable window's back buffer, we now attempt to allocate a non-scanout buffer and blit the window rather than fail the DRI2 buffer allocation completely. Note that this fallback is only suitable for back buffers - if reallocating the front buffer (on res change etc.) failed, we can't fall back to a non-scanout buffer. Change-Id: I9614dde01e80fd3dc03a37afee1a38d00dd55348