~ubuntu-sdk-team/ubuntu-ui-toolkit/staging

Viewing all changes in revision 1652.

[UbuntuShape] Added mipmap based anti-aliasing fallback

Some OpenGL implementations not supporting standard derivatives (like the Ubuntu Touch emulator) need a fallback solution. This change implements that using mipmaps. It also implied a change in the way y coordinates are computed allowing to make the distance fields version perfectly anti-aliased under any rotation. Fixes: https://bugs.launchpad.net/bugs/1480199, https://bugs.launchpad.net/bugs/1494272.

Approved by Tim Peeters, PS Jenkins bot.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: