Merge lp:~vanvugt/mir/fix-1193020 into lp:~mir-team/mir/trunk
Proposed by
Daniel van Vugt
Status: | Merged |
---|---|
Approved by: | Daniel van Vugt |
Approved revision: | no longer in the source branch. |
Merged at revision: | 771 |
Proposed branch: | lp:~vanvugt/mir/fix-1193020 |
Merge into: | lp:~mir-team/mir/trunk |
Diff against target: |
225 lines (+68/-33) 6 files modified
include/server/mir/graphics/renderable.h (+1/-1) include/server/mir/surfaces/surface.h (+4/-1) include/test/mir_test_doubles/mock_renderable.h (+1/-1) src/server/surfaces/surface.cpp (+36/-28) tests/unit-tests/graphics/test_gl_renderer.cpp (+3/-2) tests/unit-tests/surfaces/test_surface.cpp (+23/-0) |
To merge this branch: | bzr merge lp:~vanvugt/mir/fix-1193020 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Thomas Voß (community) | Approve | ||
Chris Halse Rogers | Approve | ||
Robert Ancell | Approve | ||
Review via email: mp+171070@code.launchpad.net |
Commit message
Cache the transformation matrix; only recalculate it when some part of the
transformation changes. (LP: #1193020)
To post a comment you must log in.
Looks good, a minor niggle, though: If we cache the transformation matrix we should return a const reference instead of a copy. I won't block on it, though, and we can have a follow-up mp.