lp:~gebner/compiz/compiz.vertexbuffer-autoprogram-uniform-segfault

Created by Gabriel Ebner and last modified
Get this branch:
bzr branch lp:~gebner/compiz/compiz.vertexbuffer-autoprogram-uniform-segfault
Only Gabriel Ebner can upload to this branch. If you are Gabriel Ebner please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Gabriel Ebner
Project:
Compiz
Status:
Merged

Recent revisions

3644. By Gabriel Ebner

OpenGL plugin:
Allow uniforms for automatically generated programs in
PrivateVertexBuffer::render.

3643. By MC Return

Workspacenames:

Damage the text area correctly.
Extract the method used to determine where the text area was
into a separate function and use that to determine where our
damage area should be.
Also fix a few errors that happened on the last frame of animation.

This also fixes the flickering during display.

Other minor code refactoring.

(LP: #1075578, LP: #1162246). Fixes: https://bugs.launchpad.net/bugs/1075578, https://bugs.launchpad.net/bugs/1162246.

Approved by PS Jenkins bot, Sam Spilsbury.

3642. By MC Return

Show Desktop Upgrade:

Renamed "Show desktop" to "Show Desktop" (uppercase).

New features:

* Added individual movement options for all 4 corners.

* Implemented the new movement direction option "Intelligent Random".
  This option will make windows slide out of view in one of 3
  random directions (Top/Bottom / Left/Right / ToCorners) using the
  shortest movement distance, when Show Desktop is invoked.

* Also implemented a "Fully Random" movement direction mode, which will
  move every window out of view using one of 8 randomly chosen directions
  (one of 4 corners or one of 4 edges of the virtual screen).

enum IRDirection represents allowed directions in Intelligent Random
Direction mode, while enum FRDirection represents allowed directions
in Fully Random Direction mode.

Refactored ShowdesktopPlacer:
1. Removed #define macros and replaced them with inline functions in ::.
2. Refactored out the offset algorithms into separate functions.
3. Placed the actual offset + setting algorithms into ShowdesktopPlacer
and re-used where appropriate. This reduces the size of
ShowdesktopWindow::repositionPlacer.

Simplified void ShowdesktopScreen::donePaint () and removed redundant
damageScreen () call.

Removal of redundant brackets, declaration and assignment of variables in
the same line, indentation fixes, readability improvements and general
cleanup.

(LP: #1161343). Fixes: https://bugs.launchpad.net/bugs/1161343.

Approved by PS Jenkins bot, MC Return.

3641. By MC Return

Grid:
Fixed completely broken indentation.
Declaration and assignment of variables in one line.
Removed redundant brackets.

Approved by PS Jenkins bot, Sam Spilsbury.

3640. By MC Return

wall.cpp:
Removed redundant check if (screen->otherGrabExist ("wall", 0)) in
bool WallScreen::initiateFlip (Direction direction, CompAction::State state),
because this check is already done a few lines earlier.

(LP: #1160878). Fixes: https://bugs.launchpad.net/bugs/1160878.

Approved by PS Jenkins bot, Sam Spilsbury.

3639. By MC Return

Removed empty and redundant CompWindow::syncPosition () function
and all calls to it.
Also removed some associated variables not needed anymore.

(LP: #1160624). Fixes: https://bugs.launchpad.net/bugs/1160624.

Approved by PS Jenkins bot, Sam Spilsbury.

3638. By Hu Kang <email address hidden>

put: Don't resize the option vector every time PutScreen::toViewport is called - this will leave stale values in the option vector. Instead, check if the option exists already and resize the vector that.

(LP: #1160710). Fixes: https://bugs.launchpad.net/bugs/1160710.

Approved by PS Jenkins bot, Sam Spilsbury.

3637. By Sam Spilsbury

Remove lots of superfluous boost::shared_static_cast usage, we only need it for the downcast situation (which in itself is a little silly).

Replace the remaining usage of boost::shared_static_cast with boost::static_pointer_cast.

(LP: #1131864). Fixes: https://bugs.launchpad.net/bugs/1131864.

Approved by PS Jenkins bot, MC Return.

3636. By Sam Spilsbury

Don't offset placement by window extents for windows that have a static
gravity.

Those windows want to be placed as though they didn't have decorations.

Get cp::constrainPositionToWorkArea under test and clean up the other
place tests too, so that they only test one thing at a time.

(LP: #1159324). Fixes: https://bugs.launchpad.net/bugs/1159234, https://bugs.launchpad.net/bugs/1159324.

Approved by PS Jenkins bot, MC Return.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:compiz/0.9.9
This branch contains Public information 
Everyone can see this information.

Subscribers