~brandontschaefer/mir/gamma-support

Viewing all changes in revision 3057.

  • Committer: Tarmac
  • Author(s): Daniel van Vugt
  • Date: 2015-10-27 05:38:27 UTC
  • mfrom: (3049.1.12 fix-1423462)
  • Revision ID: tarmac-20151027053827-9o04bhk970ri6o18
Avoid spuriously blending RGBX as RGBA (LP: #1423462)

Not only was it sub-optimal in performance but more importantly caused
unpredictable discolouration of RGBX clients (first observed by 3v1n0 in 
mplayer-SDL but more recently also seen in Xmir -sw). Any clients that 
filled the 'X' byte with 0xff were unaffected.
. Fixes: https://bugs.launchpad.net/bugs/1423462.

Approved by PS Jenkins bot, Alan Griffiths, Andreas Pokorny, Alexandros Frantzis.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: