Merge lp:~osomon/unity-2d/bigendian into lp:unity-2d/3.0
Proposed by
Olivier Tilloy
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Ugo Riboni | ||||
Approved revision: | 561 | ||||
Merged at revision: | 562 | ||||
Proposed branch: | lp:~osomon/unity-2d/bigendian | ||||
Merge into: | lp:unity-2d/3.0 | ||||
Diff against target: |
30 lines (+19/-0) 1 file modified
launcher/UnityApplications/iconimageprovider.cpp (+19/-0) |
||||
To merge this branch: | bzr merge lp:~osomon/unity-2d/bigendian | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ugo Riboni (community) | Approve | ||
Florian Boucault | Pending | ||
Review via email: mp+60264@code.launchpad.net |
Commit message
Fix the byte order of images on Big Endian architectures (like PowerPC).
Original algorithm by Paul J. Wells, reworked for efficiency.
Description of the change
See the discussion in bug #758782 for details.
The original solution was proposed by Paul J. Wells, I merely re-wrote it to be more efficient. This branch was tested by Paul who confirmed it fixes the issue on his G5.
Ideally it should be tested on another big endian piece of hardware to double-confirm it fixes the issue, and of course it should be checked against regressions on little endian platforms (i386, amd64, …).
To post a comment you must log in.
I double checked that it doesn't cause any regression on amd64 but can't test on any ppc machine.
Let's merge it so that it will get more widespread testing, including on ppc.