~darxus/+junk/weston-packaging

Viewing all changes in revision 2221.

  • Committer: Kristian Høgsberg
  • Author(s): Rob Bradford
  • Date: 2012-09-26 15:19:50 UTC
  • Revision ID: git-v1:9b1018702d9658da4b7a6bc757d720d0bbf072aa
compositor-drm: Check that that we have a valid bo for scanout

If gbm_bo_import does not return a valid buffer for usage of
GBM_BO_USE_SCANOUT don't try and scan out the surface directly.

We've caught the SHM case explicitly earlier - this is to prevent other cases
where the bo cannot be scanned out.

Signed-off-by: Rob Bradford <rob@linux.intel.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: