Merge lp:~vanvugt/mir/fix-1116452 into lp:~mir-team/mir/trunk
Proposed by
Daniel van Vugt
Status: | Merged |
---|---|
Approved by: | Daniel van Vugt |
Approved revision: | no longer in the source branch. |
Merged at revision: | 737 |
Proposed branch: | lp:~vanvugt/mir/fix-1116452 |
Merge into: | lp:~mir-team/mir/trunk |
Diff against target: |
73 lines (+15/-4) 5 files modified
include/shared/mir/geometry/pixel_format.h (+6/-0) src/client/android/android_client_buffer.cpp (+2/-1) src/server/graphics/android/buffer.cpp (+2/-1) tests/unit-tests/client/android/test_client_android_buffer.cpp (+3/-1) tests/unit-tests/graphics/android/test_buffer.cpp (+2/-1) |
To merge this branch: | bzr merge lp:~vanvugt/mir/fix-1116452 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Kevin DuBois (community) | Approve | ||
Alexandros Frantzis (community) | Approve | ||
Alan Griffiths | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email: mp+168889@code.launchpad.net |
Commit message
Resolve the two differing interpretations of "stride" which were causing
software surfaces to be distorted on Android. (LP: #1116452)
Just make sure that "stride" in any Android structure is a number of pixels
and in Mir types it is always a number of bytes.
To post a comment you must log in.
Instead of using base types perhaps we should be using boost.Units. "Scaled Base Units" solves this conversion problem and give us type safety.