mutter/src/wayland
Robert Mader e4de9ed580 wayland/surface: Add support for buffer transforms
This adds the required bits to wayland surfaces and ties them up
to the compositor parts.

The central part here is to recalculate the surface size accordingly
and to translate surface damage into buffer damage.

The choosen approach additionally lays groundwork for wp_viewporter
support, which is closely related in its nature.

A further explanation of buffer transforms from the specification:
> The purpose of this request is to allow clients to render content
> according to the output transform, thus permitting the compositor
> to use certain optimizations even if the display is rotated.
> Using hardware overlays and scanning out a client buffer for
> fullscreen surfaces are examples of such optimizations.
2018-12-03 19:13:51 +01:00
..
protocol protocol: Add internal text input protocol 2018-01-18 16:20:45 +01:00
meta-cursor-sprite-wayland.c cursor-renderer/native: Fetch instead of pass wl_buffer when realizing 2018-06-15 19:09:53 +00:00
meta-cursor-sprite-wayland.h cursor-renderer/native: Fetch instead of pass wl_buffer when realizing 2018-06-15 19:09:53 +00:00
meta-pointer-confinement-wayland.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-pointer-confinement-wayland.h Implement support for the wp_pointer_constraints protocol 2016-02-16 19:02:48 +08:00
meta-pointer-lock-wayland.c Implement support for the wp_pointer_constraints protocol 2016-02-16 19:02:48 +08:00
meta-pointer-lock-wayland.h Implement support for the wp_pointer_constraints protocol 2016-02-16 19:02:48 +08:00
meta-wayland-actor-surface.c wayland/surface: Add support for buffer transforms 2018-12-03 19:13:51 +01:00
meta-wayland-actor-surface.h wayland/xdg-shell: Queue frame callbacks on new actor after resetting 2018-08-27 11:43:53 +00:00
meta-wayland-buffer.c wayland/eglstream: Don't build skeleton when disabled 2018-11-06 17:17:36 +01:00
meta-wayland-buffer.h wayland/eglstream: Don't build skeleton when disabled 2018-11-06 17:17:36 +01:00
meta-wayland-cursor-surface.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-cursor-surface.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-data-device-private.h wayland: Implement the (so far internal) primary selection protocol 2016-02-26 19:51:32 +01:00
meta-wayland-data-device.c wayland: Fix DnD actor set up 2018-12-01 09:42:48 +00:00
meta-wayland-data-device.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-dma-buf.c wayland-dma-buf: doc the odd format mapping 2018-11-19 22:53:13 +00:00
meta-wayland-dma-buf.h wayland: Add zwp_linux_dmabuf_v1 support 2017-08-01 19:05:50 +08:00
meta-wayland-egl-stream.c wayland/eglstream: Don't build skeleton when disabled 2018-11-06 17:17:36 +01:00
meta-wayland-egl-stream.h wayland: Create EGLStream-backed buffers through wl_eglstream_controller 2018-06-15 13:45:29 -07:00
meta-wayland-gtk-shell.c wayland/gtk-shell: Emit new capabilities event when changed 2018-11-27 15:34:13 +01:00
meta-wayland-gtk-shell.h wayland: Add MetaWaylandGtkShell object 2018-11-27 15:34:13 +01:00
meta-wayland-inhibit-shortcuts-dialog.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-inhibit-shortcuts-dialog.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-inhibit-shortcuts.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-inhibit-shortcuts.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-input-device.c wayland/input-device: Add next serial helper 2016-10-11 22:51:50 +08:00
meta-wayland-input-device.h wayland/input-device: Add next serial helper 2016-10-11 22:51:50 +08:00
meta-wayland-keyboard.c Fix warnings when building without verbose mode 2018-11-06 17:17:36 +01:00
meta-wayland-keyboard.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-legacy-xdg-shell.c wayland/legacy-xdg-shell: Use helper to fill state array 2018-11-08 13:21:53 +01:00
meta-wayland-legacy-xdg-shell.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-outputs.c output: Turn winsys_id into a uint64_t 2018-11-19 14:58:48 +00:00
meta-wayland-outputs.h output: Turn winsys_id into a uint64_t 2018-11-19 14:58:48 +00:00
meta-wayland-pointer-constraints.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-pointer-constraints.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-pointer-gesture-pinch.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-pointer-gesture-pinch.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-pointer-gesture-swipe.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-pointer-gesture-swipe.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-pointer-gestures.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-pointer-gestures.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-pointer.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-pointer.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-popup.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-popup.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-private.h wayland: Make MetaWaylandCompositor a GObject 2018-11-27 15:17:00 +01:00
meta-wayland-region.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-region.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-seat.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-seat.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-shell-surface.c window: Pass flag to meta_window_update_monitor() instead of bool 2018-08-27 08:33:00 +00:00
meta-wayland-shell-surface.h wayland/xdg-shell: Intersect set geometry with subsurface tree geometry 2018-08-20 14:37:10 +00:00
meta-wayland-subsurface.c wayland: Use surface size helper functions 2018-08-20 14:37:10 +00:00
meta-wayland-subsurface.h wayland: Push actor state instead of itself pulling 2018-02-23 18:57:47 +08:00
meta-wayland-surface.c wayland/surface: Add support for buffer transforms 2018-12-03 19:13:51 +01:00
meta-wayland-surface.h wayland/surface: Add support for buffer transforms 2018-12-03 19:13:51 +01:00
meta-wayland-tablet-cursor-surface.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-tablet-cursor-surface.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-tablet-manager.c Pass -D_GNU_SOURCE instead of defining it in source 2018-11-06 17:17:36 +01:00
meta-wayland-tablet-manager.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-tablet-pad-group.c wayland/tablet: Fix warnings when native backend is disabled 2018-11-06 17:17:36 +01:00
meta-wayland-tablet-pad-group.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-tablet-pad-ring.c Pass -D_GNU_SOURCE instead of defining it in source 2018-11-06 17:17:36 +01:00
meta-wayland-tablet-pad-ring.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-tablet-pad-strip.c Pass -D_GNU_SOURCE instead of defining it in source 2018-11-06 17:17:36 +01:00
meta-wayland-tablet-pad-strip.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-tablet-pad.c wayland/tablet: Fix warnings when native backend is disabled 2018-11-06 17:17:36 +01:00
meta-wayland-tablet-pad.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-tablet-seat.c Pass -D_GNU_SOURCE instead of defining it in source 2018-11-06 17:17:36 +01:00
meta-wayland-tablet-seat.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-tablet-tool.c Pass -D_GNU_SOURCE instead of defining it in source 2018-11-06 17:17:36 +01:00
meta-wayland-tablet-tool.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-tablet.c Pass -D_GNU_SOURCE instead of defining it in source 2018-11-06 17:17:36 +01:00
meta-wayland-tablet.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-text-input-legacy.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-text-input-legacy.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-text-input.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-text-input.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-touch.c wayland/touch: Only handle touch when using the native backend 2018-11-06 17:17:36 +01:00
meta-wayland-touch.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-types.h wayland: Add common object for device classes 2016-09-15 09:54:55 +08:00
meta-wayland-versions.h wayland/xdg-shell: Add toplevel tile state support 2018-11-08 13:21:53 +01:00
meta-wayland-wl-shell.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-wl-shell.h wayland: Restructure surface role building blocks code 2018-02-23 18:57:40 +08:00
meta-wayland-xdg-foreign.c wayland/xdg-foreign: Fix child surface validation check 2018-05-07 19:16:40 +00:00
meta-wayland-xdg-foreign.h wayland: Add support for the xdg-foreign protocol 2016-08-22 21:03:41 +08:00
meta-wayland-xdg-shell.c wayland/xdg-shell: Add toplevel tile state support 2018-11-08 13:21:53 +01:00
meta-wayland-xdg-shell.h wayland: Add support for stable xdg-shell 2018-02-23 18:57:53 +08:00
meta-wayland.c wayland: Make MetaWaylandCompositor a GObject 2018-11-27 15:17:00 +01:00
meta-wayland.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-window-wayland.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-window-wayland.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-window-xwayland.c xwayland: add _XWAYLAND_MAY_GRAB_KEYBOARD property 2017-12-18 13:15:13 +01:00
meta-window-xwayland.h xwayland: Add MetaWindowXwayland 2017-12-18 13:15:09 +01:00
meta-xwayland-grab-keyboard.c wayland: Clean up xwayland grabs even if surface is gone 2018-08-06 11:22:51 +00:00
meta-xwayland-grab-keyboard.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-xwayland-private.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-xwayland-selection-private.h wayland: Make MetaWaylandDataSource ownership protocol specific 2015-06-30 11:23:40 +08:00
meta-xwayland-selection.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-xwayland.c xwayland: Invert running-as-gdm check 2018-11-22 17:37:32 +00:00
meta-xwayland.h tests: Override X11 display number 2018-11-14 15:55:45 +01:00