Diffusion KWin 6ad4c775d784

Use a single texture atlas for the decoration

Authored by Fredrik Höglund <fredrik@kde.org>.

Description

Use a single texture atlas for the decoration

The left and right border images are rotated 90° before they are
uploaded into the atlas texture. The images are separated by a row
of transparent texels to minimize artifacts from oversampling.

With this change kwin renders the whole decoration with a single
call to glDrawArrays().

Details

Committed
Fredrik Höglund <fredrik@kde.org>Jul 17 2014, 7:39 AM
Parents
R108:b7592ec6f023: Add a uvAxisSwapped property in WindowQuad
Branches
Unknown
Tags
Unknown
Fredrik Höglund <fredrik@kde.org> committed R108:6ad4c775d784: Use a single texture atlas for the decoration (authored by Fredrik Höglund <fredrik@kde.org>).Jul 17 2014, 7:39 AM