-
Committer:
Bileto Bot
-
Author(s):
Gerry Boland
-
Date:
2017-03-07 23:41:58 UTC
-
mfrom:
(595.4.3 fix-font-rendering)
-
Revision ID:
ci-train-bot@canonical.com-20170307234158-8w0qdl0j85y0y7e6
Workaround for Mir changing GL state unexpectedly on Qt, breaking font rendering.
For non-GL clients, Mir uploads the client pixel buffer to a GL texture which makes compositor code nicer. But as it does to, it changes some GL state (mainly the stride = GL_UNPACK_ALIGNMENT) and neglects to restore it, which breaks Qt's font rendering (which expects a certain stride). (LP: #1583088)
Approved by: Daniel d'Andrada, Daniel van Vugt, Unity8 CI Bot