~mir-team/mir/0.12

Viewing all changes in revision 2299.

  • Committer: Alexandros Frantzis
  • Author(s): Andreas Pokorny
  • Date: 2015-03-19 11:07:26 UTC
  • mfrom: (2296.1.3 0.12)
  • Revision ID: alexandros.frantzis@canonical.com-20150319110726-gx8tw4a7osplvqug
Fix corrupt AMD/radeon cursor again (LP: #1417581)
    
Include the omitted parts back into the bugfix
    
Back then when the cursor issue of radeons and kaveris was handled I omitted
this check to simplify the fix. This part was necessary to make GBM return
correct stride sizes. GBM seems to stick to the size provided on construction,
and does not verify what buffer was returned by the driver. Yes this is broken
in GBM, but we are currently not alone with this workaround

Backported from lp:mir r2320.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: