~vanvugt/mir/frontend-server

Viewing all changes in revision 1416.1.37.

Fix thread-safety of Renderable::transformation(). The transformation matrix
is written to and read from different threads. However only the former does
so while holding a lock.

To resolve this we must return a copy instead of a reference, so that the
real BasicSurface.transformation_matrix is always locked when it's being
read.

Approved by Alexandros Frantzis, PS Jenkins bot, Alan Griffiths.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: