~townsend/compiz/fix-auto-vp-switch-0.9.10

Text, speed improvements:

Introduced
const float halfPi    = PI / 2.0f; and
const float triHalfPi = halfPi * 3;
and used those to draw the rounded background.
Introduced
GLfloat xPlusWidth   = x + width; and
GLfloat yMinusHeight = y - height;
and used those coordinates for the vertexData array.

Text, cleanup:

Declaration of local variables outside of loops.
Fixed indentation.

Approved by PS Jenkins bot, Sam Spilsbury.
Filename Latest Rev Last Changed Committer Comment Size
..
window-decorator-kde4 1698 16 years ago Dennis Kasprzyk Added kde-window-decorator KDE 4 port. Diff
CMakeLists.txt 2092 16 years ago Dennis kasprzyk Initial version of CMake build system. 40 bytes Diff Download File