Commits on Source (5)
-
Derek Foreman authored
These places all eventually lead to calling weston_view_to_global_float() or weston_view_from_global_float() on a view with a dirty transform. Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
d611ab24 -
Derek Foreman authored
If the view transform is dirty it might be incorrect. Also, we normally set up the view transform matrix properly regardless of whether the transform is enabled or not - but if we've never run weston_view_update_transform() it will be all zeros. This is a step towards removing view->transform.enabled checks and just using the transform matrix in all cases. Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
2dc8680d -
Derek Foreman authored
We always set it up correctly, even if transforms are disabled. The code is simpler if we always use the matrix instead of having two cases. Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
8bf90010 -
Derek Foreman authored
Let's simplify this code by asserting, and letting it explode naturally (return Inf, possibly SIGFPE depending on external factors) if compiled NDEBUG, instead of a contained explosion (safely returning 0). If this actually happens it's Really Bad, so we'd like to catch is ASAP, especially in CI. Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
d347e37b -
Derek Foreman authored
A couple of additional assert()s for transforms being dirty in places where it could lead to unexpected results. Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
0108f979