Go to file
Pekka Paalanen 25c0ca5715 compositor: turn weston_view boundingbox into masked
weston_view::transform.boundingbox is made to include the layer mask,
which removes the need for masked_boundingbox.

The following were using boundingbox when they should have used
masked_boundingbox:
- drm_output_prepare_overlay_view() uses boundingbox to compute overlay
  position, source and destination coordinates.
- drm_assign_planes() uses boundingbox for view overlap checks.
- is_view_not_visible() uses boundingbox, but nothing will show outside
  the layer mask.
- weston_surface_assign_output() intersects boundingbox with output
  region to choose the primary output for a surface.
- weston_view_assign_output() intersects boundingbox with output region
  to pick the outputs the view is on.

This patch essentially changes all those cases to use the masked
boundingbox.

Therefore there are no cases which would need the boundingbox without
the layer mask, and we can convert boundingbox into masked and remove
the left-over member.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
[v2: don't move the decl of 'mask' in weston_view_update_transform]
Reviewed-By: Giulio Camuffo <giuliocamuffo@gmail.com>
2015-02-24 09:45:55 +02:00
clients presentation-shm: put run mode in window title 2015-02-19 15:00:17 +02:00
data data: add reference image files for weston-ivi-shell-user-interface 2014-12-04 17:24:54 +02:00
desktop-shell desktop-shell: Fix coding style of add_popup_grab 2015-02-23 15:41:57 +02:00
fullscreen-shell compositor: Refactor weston_output_mode_switch() 2014-11-05 13:15:13 +02:00
ivi-shell ivi-shell: SEGV occurs when multi touch happens in transition 2015-02-06 16:22:15 -08:00
m4 weston-build: Fix aclocal error during autogen.sh 2014-06-21 10:33:21 -07:00
man man: explain idle-time=0 in weston.ini 2014-11-21 16:11:44 +02:00
protocol text: Fix typo 2015-01-20 18:30:15 -08:00
shared cairo-util: fix shadows for small clients 2014-11-19 15:46:30 +02:00
src compositor: turn weston_view boundingbox into masked 2015-02-24 09:45:55 +02:00
tests tests: Include weston-egl-ext from weston-test 2015-02-12 19:30:35 -08:00
wcap wcap: Check for mmap and malloc return value in wcap decode module 2014-05-06 15:21:27 -07:00
xwayland xwm: remove the create surface listener in weston_wm_destroy 2015-02-06 17:31:24 -08:00
.gitignore Update .gitignore 2015-02-05 14:40:30 -08:00
autogen.sh Update autotools configuration 2010-11-06 21:04:03 -04:00
configure.ac configure.ac: make use of wayland-scanner.pc 2015-02-23 18:01:46 -08:00
COPYING Add COPYING 2012-04-25 10:17:42 -04:00
Makefile.am build: do not install ivi-shell png files with "--disable-ivi-shell" 2015-02-20 14:36:56 -08:00
notes.txt Add informal notes file 2012-10-25 15:00:42 -04:00
README README: Fix typo; add link to testing docs 2014-02-05 17:20:24 -08:00
releasing.txt releasing: Note that Xwayland installation required only for Weston releases 2015-02-13 20:46:41 -08:00
weston.ini.in libinput: Add tap configuration to weston.ini 2014-08-15 15:33:55 +03:00

Weston

Weston is the reference implementation of a Wayland compositor, and a
useful compositor in its own right.  Weston has various backends that
lets it run on Linux kernel modesetting and evdev input as well as
under X11.  Weston ships with a few example clients, from simple
clients that demonstrate certain aspects of the protocol to more
complete clients and a simplistic toolkit.  There is also a quite
capable terminal emulator (weston-terminal) and an toy/example desktop
shell.  Finally, weston also provides integration with the Xorg server
and can pull X clients into the Wayland desktop and act as a X window
manager.

Refer to http://wayland.freedesktop.org/building.html for building
weston and its dependencies.

The test suite can be invoked via `make check`; see
http://wayland.freedesktop.org/testing.html for additional details.