Merge lp:~hikiko/compiz/compiz.matrix-additions into lp:compiz/0.9.12
| Status: | Work in progress |
|---|---|
| Proposed branch: | lp:~hikiko/compiz/compiz.matrix-additions |
| Merge into: | lp:compiz/0.9.12 |
| Diff against target: |
324 lines (+99/-19) 10 files modified
plugins/animation/src/animation.cpp (+1/-1) plugins/cube/src/cube.cpp (+3/-3) plugins/cubeaddon/src/cubeaddon.cpp (+3/-3) plugins/freewins/src/util.cpp (+1/-1) plugins/opengl/include/opengl/matrix.h (+8/-0) plugins/opengl/include/opengl/opengl.h (+1/-1) plugins/opengl/include/opengl/vector.h (+8/-1) plugins/opengl/src/matrix.cpp (+58/-1) plugins/opengl/src/vector.cpp (+8/-0) plugins/td/src/3d.cpp (+8/-8) |
| To merge this branch: | bzr merge lp:~hikiko/compiz/compiz.matrix-additions |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| PS Jenkins bot | continuous-integration | Needs Fixing on 2015-10-05 | |
| Andrea Azzarone | 2015-10-01 | Approve on 2015-10-01 | |
| Marco Trevisan (Treviño) | 2015-10-01 | Pending | |
| Unity Team | 2015-10-01 | Pending | |
|
Review via email:
|
|||
Commit Message
Added a function that calculates the transpose matrix and a function that prints the matrix elements to GLMatrix class.
Description of the Change
Added a function that calculates the transpose matrix and a function that prints the matrix elements to GLMatrix class.
| Marco Trevisan (Treviño) (3v1n0) wrote : | # |
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:3978
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 3979. By Eleni Maria Stea on 2015-10-02
-
changed OpenGL plugin ABI version
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:3979
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 3980. By Eleni Maria Stea on 2015-10-02
-
added operator <<
| Eleni Maria Stea (hikiko) wrote : | # |
Well, I added the print function for quick debugging and since it doesn't have any extra dependencies and I can call it without including iostream everytime I need to check a matrix values I wouldn't like to delete it.
But I added the operator << as well in case someone needs to print a matrix in the release at some point (TBH I think that GLMatrix doesn't need to include iostream just for 1 rare case like that... what do you think?)
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:3980
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Marco Trevisan (Treviño) (3v1n0) wrote : | # |
Ok, fair enough if you want to keep the print() there, although adding an include when debugging shouldn't be a problem.
However, at least now implement print using std::cout ;-)
| Stephen M. Webb (bregma) wrote : | # |
Missing <iosfwd> header in opengl/matrix.h.
- 3981. By Eleni Maria Stea on 2015-10-05
-
print uses operator <<
| Eleni Maria Stea (hikiko) wrote : | # |
lol, yep, I did it +good idea the <iosfwd>
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:3981
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Eleni Maria Stea (hikiko) wrote : | # |
I found more problems in matrix.h/cpp: work in progress
- 3982. By Eleni Maria Stea on 2015-10-06
-
fixed operator *, used the correct operator in plugins
- 3983. By Eleni Maria Stea on 2015-10-06
-
implemented second operator *, fixed transform
Unmerged revisions
- 3983. By Eleni Maria Stea on 2015-10-06
-
implemented second operator *, fixed transform
- 3982. By Eleni Maria Stea on 2015-10-06
-
fixed operator *, used the correct operator in plugins
- 3981. By Eleni Maria Stea on 2015-10-05
-
print uses operator <<
- 3980. By Eleni Maria Stea on 2015-10-02
-
added operator <<
- 3979. By Eleni Maria Stea on 2015-10-02
-
changed OpenGL plugin ABI version
- 3978. By Eleni Maria Stea on 2015-10-01
-
added transpose and print functions to GLMatrix class that calculate the
transpose and print the matrix elements respectively


Please update the COMPIZ_OPENGL_ABI and implement the operator<< instead of using printf, so we can use this with std::cout.