~ps-jenkins/compiz/latestsnapshot-10.9.10+13.10.20131004-0ubuntu1

cube.cpp, code cleanup:

#include "privates.h", not <privates.h>.
Merged if condition checks.
Declaration of variables, where you need them to improve
the code structure and readability.
Use C++ standard bool for topDir, bottomDir, allCaps and
mCapsPainted[output] (bool true/false instead Bool TRUE/FALSE).
Initialize all of the class member variables in the constructor.
Replaced if (priv->mSky.size () > 0) with if (!priv->mSky.empty ()).
Removed redundant brackets.
Fixed indentation.
Added TODO.

cube.cpp, code speedup:

Do not call optionGetInactiveOpacity () twice, instead save
the value as float inactiveOpacity and use this variable in
the following calculation.
Introduced the variables float halfHsize  = hsize / 2.0; and
float tsSize = 360.0f / size; and used those in following
calculations to not have to recalculate those values multiple
times.
Do not calculate M_PI / sides and 2 * M_PI / sides multiple times
in loops, instead save those values in the GLfloats mps and tmps
and use those values inside the loops.
Use GLdouble mDist2 = 0.5 / mDistance; in the GLdouble clipPlane*
arrays, instead of recalculating this value multiple times.
Use GLfloat oneMinusFStepX = 1.0f - fStepX; and
GLfloat oneMinusFStepY = 1.0f - fStepY; instead of calculating
those values multiple times.
Use float outputWidth = outputPtr->width (); and float outputHeight =
outputPtr->height (); instead of calling the functions multiple
times.
Introduced the GLfloat normInvert = 0.5f * invert; and used this
variable instead of recalculating this value multiple times.
Introduced the GLfloats mSkyWidth and mSkyHeight and used those
in the following loops instead of calling mSkySize.width () and
mSkySize.height () multiple times.
Try to avoid redundant GL_BLEND state changes, because OpenGL
will blindly change the global state, no matter what it currently
is set to and that state change is expensive. So we query and
save the actual blending state in the variable GLboolean
glBlendEnabled = glIsEnabled (GL_BLEND); and just enable it if
it isn't already and just disable it, if it was disabled before.

(LP: #1101422, LP: #1195977)

cube.cpp, other fixes:

Return false in function PrivateCubeScreen::updateGeometry (int, int)
if sides should ever be 0, which should never happen, but should make
Coverity happy.

(LP: #1101541)

Initialize all class member variables in the PrivateCubeScreen::
PrivateCubeScreen (CompScreen *) constructor.
(mTc, mNOutput, mOutput, mOutputMask, mCleared, mCapsPainted)

(LP: #1101575). Fixes: https://bugs.launchpad.net/bugs/1101422, https://bugs.launchpad.net/bugs/1101541, https://bugs.launchpad.net/bugs/1101575.

Approved by Sam Spilsbury, PS Jenkins bot.
Filename Latest Rev Last Changed Committer Comment Size
..
patches 3248.1.1 11 years ago Didier Roche first packaging Diff
profile_upgrades 3248.1.1 11 years ago Didier Roche first packaging Diff
File 00_remove_unityshell_in_gnome_session.py 3248.1.72 11 years ago Didier Roche fix as gsettings directly doesn't work 1.8 KB Diff Download File
65compiz_profile-on-session 3248.5.12 11 years ago timo.jyrinki at canonical merge with lp:ubuntu/compiz * Restore the maintain 269 bytes Diff Download File
ccsm.1 3248.1.1 11 years ago Didier Roche first packaging 484 bytes Diff Download File
changelog 3731.1.2 10 years ago Nikolay Martynov Revert accidental debian/changelog change 148 KB Diff Download File
compat 3248.1.1 11 years ago Didier Roche first packaging 2 bytes Diff Download File
compiz-core.docs 3248.3.2 11 years ago Didier Roche * debian/*docs: - remove the TODO copy now remov 20 bytes Diff Download File
compiz-core.install 3248.1.1 11 years ago Didier Roche first packaging 315 bytes Diff Download File
compiz-core.lintian-overrides 3248.5.1 11 years ago timo.jyrinki at canonical * New upstream snapshot. - Fix Compiz crash in mov 135 bytes Diff Download File
compiz-core.manpages 3248.1.1 11 years ago Didier Roche first packaging 16 bytes Diff Download File
compiz-core.README.Debian 3248.1.1 11 years ago Didier Roche first packaging 1.1 KB Diff Download File
compiz-dev.docs 3248.3.2 11 years ago Didier Roche * debian/*docs: - remove the TODO copy now remov 20 bytes Diff Download File
compiz-dev.install 3248.1.42 11 years ago timo.jyrinki at canonical * debian/compiz-dev.install - Remove compizconfi 705 bytes Diff Download File
compiz-gnome.docs 3248.3.2 11 years ago Didier Roche * debian/*docs: - remove the TODO copy now remov 20 bytes Diff Download File
compiz-gnome.gconf-defaults 3248.1.1 11 years ago Didier Roche first packaging 995 bytes Diff Download File
compiz-gnome.gsettings-override 3577.1.1 11 years ago Didier Roche Really take default patched hsize and vsize and do 442 bytes Diff Download File
compiz-gnome.install 3612.1.1 11 years ago Sam Spilsbury Enable copytex by default and stick the upgrades i 580 bytes Diff Download File
compiz-gnome.manpages 3248.1.1 11 years ago Didier Roche first packaging 30 bytes Diff Download File
compiz-gnome.migrations 3248.1.71 11 years ago Didier Roche * debian/config, debian/compiz-gnome.migrations, 163 bytes Diff Download File
compiz-kde.docs 3248.3.2 11 years ago Didier Roche * debian/*docs: - remove the TODO copy now remov 20 bytes Diff Download File
compiz-kde.manpages 3248.1.1 11 years ago Didier Roche first packaging 31 bytes Diff Download File
compiz-plugins-default.install 3286.3.43 11 years ago MC Return Do not install freewins by default, but in the com 796 bytes Diff Download File
compiz-plugins.docs 3248.3.2 11 years ago Didier Roche * debian/*docs: - remove the TODO copy now remov 20 bytes Diff Download File
compiz-plugins.install 3286.3.43 11 years ago MC Return Do not install freewins by default, but in the com 1.9 KB Diff Download File
compiz-plugins.install.armel 3753.3.1 10 years ago Michail Bitzes wizard ported to OpenGL|ES 1.7 KB Diff Download File
compiz-plugins.install.armhf 3753.3.1 10 years ago Michail Bitzes wizard ported to OpenGL|ES 1.7 KB Diff Download File
compiz.1 3248.1.1 11 years ago Didier Roche first packaging 1.3 KB Diff Download File
compiz.lintian-overrides 3248.1.1 11 years ago Didier Roche first packaging 71 bytes Diff Download File
compizconfig-settings-manager.install 3248.1.1 11 years ago Didier Roche first packaging 230 bytes Diff Download File
compizconfig-settings-manager.manpages 3248.1.1 11 years ago Didier Roche first packaging 14 bytes Diff Download File
config 3248.1.70 11 years ago Didier Roche * debian/config, : - add the default gnome_sessi 256 bytes Diff Download File
control 3667.1.1 11 years ago Sam Spilsbury Bump VERSION to 0.9.10 11.8 KB Diff Download File
copyright 3248.1.5 11 years ago Didier Roche fix copyright lintian warnings 10.5 KB Diff Download File
gbp.conf 3248.1.1 11 years ago Didier Roche first packaging 164 bytes Diff Download File
gtk-window-decorator.1 3248.1.1 11 years ago Didier Roche first packaging 816 bytes Diff Download File
libcompizconfig0-dev.install 3248.1.1 11 years ago Didier Roche first packaging 239 bytes Diff Download File
libcompizconfig0.install 3248.1.1 11 years ago Didier Roche first packaging 239 bytes Diff Download File
libdecoration0-dev.docs 3248.3.2 11 years ago Didier Roche * debian/*docs: - remove the TODO copy now remov 20 bytes Diff Download File
libdecoration0-dev.install 3248.1.1 11 years ago Didier Roche first packaging 125 bytes Diff Download File
libdecoration0.docs 3248.3.2 11 years ago Didier Roche * debian/*docs: - remove the TODO copy now remov 20 bytes Diff Download File
libdecoration0.install 3248.1.1 11 years ago Didier Roche first packaging 39 bytes Diff Download File
libdecoration0.symbols 3248.1.57 11 years ago Didier Roche * debian/libdecoration0.symbols: - update the sy 1.5 KB Diff Download File
python-compizconfig.install 3248.1.40 11 years ago timo.jyrinki at canonical * debian/python-compizconfig.install - Install c 147 bytes Diff Download File
python-compizconfig.lintian-overrides 3248.1.1 11 years ago Didier Roche first packaging 51 bytes Diff Download File
File rules 3657.2.9 11 years ago Sam Spilsbury Use a tab 3.4 KB Diff Download File
source_compiz.py 3248.3.3 11 years ago Matthieu Baerts Update apport hook for python3 ; thanks to Edward 1.4 KB Diff Download File
unity.ini 3612.1.1 11 years ago Sam Spilsbury Enable copytex by default and stick the upgrades i 237 bytes Diff Download File
watch 3248.1.1 11 years ago Didier Roche first packaging 80 bytes Diff Download File