Merge lp://staging/~smspillaz/compiz-core/fix_896586_rotate_plugin into lp://staging/compiz-core/0.9.5
Status: | Superseded |
---|---|
Proposed branch: | lp://staging/~smspillaz/compiz-core/fix_896586_rotate_plugin |
Merge into: | lp://staging/compiz-core/0.9.5 |
Prerequisite: | lp://staging/~smspillaz/compiz-core/fix_891591 |
Diff against target: |
2634 lines (+1267/-681) 28 files modified
include/core/CMakeLists.txt (+0/-2) include/core/rect.h (+0/-236) include/core/screen.h (+6/-3) include/core/window.h (+15/-2) plugins/CMakeLists.txt (+1/-0) plugins/decor/src/decor.cpp (+4/-13) plugins/move/src/move.cpp (+79/-20) plugins/move/src/move.h (+16/-3) plugins/opengl/include/opengl/opengl.h (+9/-2) plugins/opengl/src/paint.cpp (+27/-22) plugins/opengl/src/window.cpp (+4/-4) plugins/rotate/src/rotate.cpp (+20/-5) plugins/wobbly/src/wobbly.cpp (+42/-3) plugins/wobbly/src/wobbly.h (+2/-0) src/CMakeLists.txt (+5/-0) src/rect.cpp (+0/-286) src/rect/CMakeLists.txt (+66/-0) src/rect/include/core/rect.h (+246/-0) src/rect/src/rect.cpp (+306/-0) src/rect/tests/CMakeLists.txt (+31/-0) src/rect/tests/rect/src/test-rect.cpp (+106/-0) src/rect/tests/test-rect.cpp (+34/-0) src/rect/tests/test-rect.h (+44/-0) src/rect/tests/wraparound_point/src/test-rect-wraparound-point.cpp (+78/-0) src/screen.cpp (+32/-35) src/window.cpp (+91/-44) src/window/geometry-saver/CMakeLists.txt (+1/-0) src/window/geometry/CMakeLists.txt (+2/-1) |
To merge this branch: | bzr merge lp://staging/~smspillaz/compiz-core/fix_896586_rotate_plugin |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alan Griffiths | Needs Fixing | ||
Tim Penhey (community) | Needs Fixing | ||
Thomi Richards (community) | Approve | ||
Review via email: mp+84061@code.staging.launchpad.net |
This proposal has been superseded by a proposal from 2012-01-13.
Description of the change
Made the cube and rotate plugins work with paint offsets.
In order to implement this properly, we had to move from immediately updating the 2D display matrix of the window on position offset change to applying a 4x4 transformation matrix to the window before it is painted, like how global paint offsets work, which means that a lot of code was consolidated.
In terms of other plugins, the wobbly plugin needed to be updated to move its model entirely by the paint offset, since that is going to be the global display model for the window.
Added a test for points outside of rectangles to wrap-around a rectangle within it.
Moved some of the utility functions related to viewports into their own namespace.
Made CompScreen:
Next pipe: lp:~smspillaz/compiz-core/fix_896762
Unmerged revisions
- 2952. By Sam Spilsbury
-
Merged compiz-
core.fix_ 891591 into compiz- core.fix_ 896586_ rotate_ plugin. - 2951. By Sam Spilsbury
-
Remove files no longer installed in this point
- 2950. By Sam Spilsbury
-
Merge
- 2949. By Sam Spilsbury
-
Don't translate the 2D texture matrix or regions
- 2948. By Sam Spilsbury
-
Merged compiz-
core.fix_ 891591 into compiz- core.fix_ 896586_ rotate_ plugin. - 2947. By Sam Spilsbury
-
Merged compiz-
core.fix_ 891591 into compiz- core.fix_ 896586_ rotate_ plugin. - 2946. By Sam Spilsbury
-
Merged compiz-
core.fix_ 891591 into compiz- core.fix_ 896586_ rotate_ plugin. - 2945. By Sam Spilsbury
-
Merged compiz-
core.fix_ 891591 into compiz- core.fix_ 896586_ rotate_ plugin. - 2944. By Sam Spilsbury
-
Merged compiz-
core.fix_ 891591 into compiz- core.fix_ 896586_ rotate_ plugin. - 2943. By Sam Spilsbury
-
Merged compiz-
core.fix_ 891591 into compiz- core.fix_ 896586_ rotate_ plugin.
ln 1204: Why the static cast? It looks to me like you're being given a CompRectTest* already...
Otherwise, looks good to me.