Merge lp:~loic.molinari/ubuntu-ui-toolkit/ubuntu-ui-toolkit-shape-content-orientation-workaround-removal into lp:ubuntu-ui-toolkit/staging
Status: | Merged |
---|---|
Approved by: | Cris Dywan |
Approved revision: | 1586 |
Merged at revision: | 1588 |
Proposed branch: | lp:~loic.molinari/ubuntu-ui-toolkit/ubuntu-ui-toolkit-shape-content-orientation-workaround-removal |
Merge into: | lp:ubuntu-ui-toolkit/staging |
Diff against target: |
189 lines (+15/-53) 4 files modified
src/Ubuntu/Components/plugin/shaders/shape.frag (+6/-7) src/Ubuntu/Components/plugin/shaders/shapeoverlay.frag (+4/-5) src/Ubuntu/Components/plugin/ucubuntushape.cpp (+4/-39) src/Ubuntu/Components/plugin/ucubuntushape.h (+1/-2) |
To merge this branch: | bzr merge lp:~loic.molinari/ubuntu-ui-toolkit/ubuntu-ui-toolkit-shape-content-orientation-workaround-removal |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Cris Dywan | Approve | ||
PS Jenkins bot | continuous-integration | Approve | |
Review via email: mp+266529@code.launchpad.net |
Commit message
[UbuntuShape] Removed content orientation work around.
The shape was using a workaround to make it render correctly when the content orientation was not the native one. This was perfect for the OrientationHelper shipped with the toolkit but now that the Shell implements the rotation, this is not needed anymore and causes some rendering issues. Note that the shape will still needs to support correct rendering when rotated using the rotation property of the Item, but that is a different issue.
Description of the change
[UbuntuShape] Removed content orientation work around.
The shape was using a workaround to make it render correctly when the content orientation was not the native one. This was perfect for the OrientationHelper shipped with the toolkit but now that the Shell implements the rotation, this is not needed anymore and causes some rendering issues. Note that the shape will still needs to support correct rendering when rotated using the rotation property of the Item, but that is a different issue.
PASSED: Continuous integration, rev:1586 jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- ci/2077/ jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- vivid-amd64- ci/805 jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- vivid-armhf- ci/807 jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- vivid-armhf- ci/807/ artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- vivid-i386- ci/804
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/ubuntu- sdk-team- ubuntu- ui-toolkit- staging- ci/2077/ rebuild
http://