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
4 files changed
tree: da28d80960c6471c704aafc6375eb92f0422d2b2
  1. man/
  2. src/
  3. .gitignore
  4. autogen.sh
  5. configure.ac
  6. COPYING
  7. Makefile.am
  8. NEWS
  9. README