weston/src
Pekka Paalanen 219b982ed0 compositor: use floats in computing bounding box
In surface_compute_bbox(), call surface_to_global_float() instead of
weston_surface_to_global(). This avoids the recursion:

weston_surface_update_transform()
  weston_surface_update_transform_enable()
    surface_compute_bbox()
       weston_surface_to_global()
         weston_surface_update_transform()

which might be non-obvious when reading the code.

Computing the min and max coordinates in floats, we can have a tight
rounding margin by using floor() and ceil().

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
2012-02-10 15:47:56 +02:00
..
.gitignore update git ignores 2012-01-27 10:44:22 +02:00
compositor-drm.c compositor: move weston_surface::width,height into geometry 2012-01-27 16:15:02 +02:00
compositor-openwfd.c compositor: Pull prepare_render and present callouts into repaint 2012-01-25 23:47:45 -05:00
compositor-wayland.c Merge remote-tracking branch 'pq/transform-fixes2' 2012-02-07 11:08:03 -05:00
compositor-x11.c compositor: Remove prepare_scanout_surface callout 2012-01-25 23:59:44 -05:00
compositor.c compositor: use floats in computing bounding box 2012-02-10 15:47:56 +02:00
compositor.h Merge remote-tracking branch 'pq/transform-fixes2' 2012-02-07 11:08:03 -05:00
evdev.c Revert "weston: Drop priviledges early, and seteuid when needed" 2012-01-24 12:41:19 -05:00
evdev.h Rename wayland-compositor to weston 2012-01-03 11:04:04 -05:00
hash.c Rename wayland-compositor to weston 2012-01-03 11:04:04 -05:00
hash.h Rename wayland-compositor to weston 2012-01-03 11:04:04 -05:00
image-loader.c Fix a few missing wlsc->weston renames 2012-01-03 11:40:25 -05:00
Makefile.am compositor: Link to libm 2012-01-27 11:57:28 -05:00
matrix.c compositor: simplify the matrix inversion API 2012-01-27 10:44:22 +02:00
matrix.h compositor: simplify the matrix inversion API 2012-01-27 10:44:22 +02:00
screenshooter.c Merge remote-tracking branch 'pq/compositor-dtors-v1' 2012-01-03 11:36:37 -05:00
shell.c shell: remove excessive damage from rotating 2012-02-10 15:47:55 +02:00
switcher.c Rename wayland-compositor to weston 2012-01-03 11:04:04 -05:00
tablet-shell.c compositor: q&d solution for surface drift 2012-02-06 14:54:20 +02:00
tty.c Revert "weston: Drop priviledges early, and seteuid when needed" 2012-01-24 12:41:19 -05:00
util.c compositor: move weston_surface::width,height into geometry 2012-01-27 16:15:02 +02:00
xserver-launcher.c xserver: Create WM window, handle client messages 2012-01-15 22:16:11 -05:00