1
0
Fork 0
forked from wry/wry
Commit graph

149 commits

Author SHA1 Message Date
Julian Orth
be0935c8dd seat: handle surface cursor lifetimes explicitly 2024-03-29 19:31:40 +01:00
Julian Orth
566a05494a surface: don't destroy idle inhibitors when destroying node 2024-03-29 18:39:03 +01:00
Julian Orth
7661e011c0 wayland: add bug entry for alacritty 2024-03-29 15:33:06 +01:00
Julian Orth
2e9beed77f subsurface: change default mode to sync 2024-03-27 23:18:45 +01:00
Julian Orth
112675a813 xdg_toplevel: send correct extents in initial configure event 2024-03-27 18:34:14 +01:00
Julian Orth
aaf73d6fdc wayland: implement linux-drm-syncobj-v1 2024-03-27 18:34:12 +01:00
Julian Orth
ea4a1f027b render: remove TextureReservations 2024-03-27 18:15:53 +01:00
Julian Orth
300deecc7d surface: attach sync sub-surface commits to parent commits 2024-03-27 18:15:52 +01:00
Julian Orth
0c48247740 surface: move pending state into the surface 2024-03-23 09:00:16 +01:00
Julian Orth
943626a7f7 surface: split ext::pre_commit into two parts 2024-03-23 09:00:16 +01:00
Julian Orth
86d37b5aa4 surface: remove interior mutability from pending state 2024-03-23 09:00:16 +01:00
Julian Orth
3eb0f61ec1 tree: make scale and position of outputs persistent 2024-03-16 01:38:57 +01:00
Julian Orth
bc9b1c3638 scale: make wl representation private 2024-03-16 01:28:57 +01:00
Julian Orth
2445226cbe tree: unify toplevel active changes 2024-03-04 13:49:05 +01:00
Julian Orth
386d74f926 tree: restack floaters and popups on demand 2024-03-03 15:47:01 +01:00
Julian Orth
364872258a wayland: implement xdg-toplevel-drag 2024-03-03 01:48:24 +01:00
Julian Orth
54d93f84da all: add (Clone)Cell::is_some and is_none 2024-03-02 18:09:40 +01:00
Julian Orth
fe804b8276 tree: clean up object attachment 2024-02-22 14:10:06 +01:00
Julian Orth
1d1d542839 tree: move common code out of ToplevelNode trait 2024-02-22 14:09:58 +01:00
Julian Orth
062bcb25ee tree: fix toplevel float extent memoization 2024-02-19 22:58:58 +01:00
Julian Orth
da84e9ec27 metal: implement direct scanout 2024-02-19 12:30:37 +01:00
Julian Orth
d4fc672fb3 tree: move output scale to global 2024-02-16 19:15:03 +01:00
Julian Orth
9497d6b0cf all: remove bitflags dependency 2024-02-16 15:02:14 +01:00
mahkoh
30fb0f087f
Merge pull request #87 from mahkoh/jorth/fix-surface-position
render: fix top-left clipping of surfaces
2024-02-15 00:58:58 +01:00
Julian Orth
250026f7f6 render: fix top-left clipping of surfaces 2024-02-15 00:05:29 +01:00
Julian Orth
3f7b1ddd49 wayland: implement ext-foreign-toplevel-list-v1 2024-02-14 21:13:41 +01:00
Julian Orth
0628a9d393 tree: fix some issues with toplevel visibility handling 2024-02-14 17:43:05 +01:00
Julian Orth
4ceccfb770 wayland: implement xdg_toplevel v6 2024-02-06 13:39:56 +01:00
Julian Orth
0ac1bb8507 wayland: remove Object::num_requests 2024-02-06 12:05:03 +01:00
Julian Orth
daf03b423d render: don't warn when rendering an unmapped sub-surface 2024-02-04 20:16:59 +01:00
Julian Orth
d650b3375d render: split module into gfx_apis and renderer 2023-10-22 20:28:32 +02:00
Julian Orth
5e8a6eb86f render: split rendering into two phases
In the first phase we collect a list of simple operations (copying
textures and filling rectangles.)

In the second phase we send this list to the graphics API to be
executed.

As part of this, we also remove the use of scissors.
2023-10-22 16:10:12 +02:00
Daniel Shiposha
975147d831 fix: xdg_surface requested_serial init 1 2023-07-15 18:55:33 +02:00
Daniel Shiposha
0b23abb4c3 Revert "fix: xdg_surface configure serial"
This reverts commit 0478cea9b6.
2023-07-15 18:54:03 +02:00
Daniel Shiposha
0478cea9b6 fix: xdg_surface configure serial 2023-07-15 18:34:13 +02:00
Julian Orth
cd47baa934 wayland: implement tearing-control-v1
Currently has no effect because there are no tearing atomic commits. But
by implementing this we make mesa expose VK_PRESENT_MODE_IMMEDIATE_KHR.
2022-11-18 19:43:03 +01:00
Julian Orth
5b2eb5855a tree: update to latest version of wp_fractional_scale 2022-11-12 15:05:58 +01:00
Julian Orth
335677bbcd wayland: implement xwayland_shell_v1 2022-10-18 17:43:49 +02:00
Julian Orth
6193569596 xwayland: add x-surface indirection 2022-10-16 20:53:59 +02:00
Julian Orth
a5e17142de xdg_decoration: send toplevel-configure after configure
This works around a bug in chrome where it fails to start if the first
xdg_surface::configure does not contain the toplevel configuration
itself.
2022-10-10 19:00:42 +02:00
Julian Orth
d67eefdaf0 tree: destroy layer shell surfaces when output is disconnected 2022-08-20 23:03:29 +02:00
Julian Orth
4bbca6abdc layer-surface: set surface output 2022-07-26 20:32:16 +02:00
Julian Orth
615d1953aa wayland: implement xdg_toplevel.wm_capabilities 2022-06-03 21:03:37 +02:00
Julian Orth
375d7da2f2 cursor: don't overwrite busy hardware buffers 2022-06-01 22:24:57 +02:00
Julian Orth
b9ce5f22d8 cursor: dispatch frame requests after rendering hardware cursor 2022-06-01 22:11:15 +02:00
Julian Orth
3b8935cf55 all: implement hardware cursors 2022-06-01 21:46:31 +02:00
Julian Orth
e52a60b3b6 wayland: implement scaling
This involves many subsystems:

- config:
    - allow setting the connector scale
    - allow setting the cursor size
- cursors:
    - load server cursors for all requested sizes and scales
- wl_surface:
    - track the output the surface belongs to
    - send wl_surface.enter/leave
- wl_output:
    - implement wl_output.scale
- text:
    - pre-render texts for all used scales
- renderer:
    - properly align scale textures and rectangles
- wp_fractional_scale:
    - new interface for fractional scaling
2022-05-30 17:00:25 +02:00
Julian Orth
95327685c1 wayland: implement surface transformations
- buffer scale
- buffer transform
- viewporter
2022-05-28 18:18:29 +02:00
Julian Orth
568341a3d0 wayland: handle chromium bug 1329214 gracefully 2022-05-25 19:30:02 +02:00
Julian Orth
d42add4d18 all: implement screen locking 2022-05-19 23:39:11 +02:00