1
0
Fork 0
forked from wry/wry
Commit graph

132 commits

Author SHA1 Message Date
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
Julian Orth
e5c0916a25 all: fix memory leaks 2022-05-18 22:42:36 +02:00
Julian Orth
fe80440f38 config: add documentation 2022-05-16 18:21:56 +02:00
Julian Orth
ec9710983c tree: use trunc instead of round when scrolling containers 2022-05-07 18:06:55 +02:00
Julian Orth
cc090b1d0f xwayland: fix mapping of windows whose size is already correct at map time
IntelliJ in particular opens new windows with the exact same size as the
existing window. In a mono layout, this is the resulting window size.
For some reason, IntelliJ will not draw itself properly if it doesn't
get resized after mapping. So send a dummy 1x1 configure at map time.
2022-05-07 00:26:18 +02:00
Julian Orth
4584dee160 tree: never focus wl-subsurface surfaces 2022-05-05 14:04:15 +02:00
Julian Orth
5afde58086 tree: set toplevel on newly created subsurfaces 2022-05-05 12:23:57 +02:00
Julian Orth
3d4a6b21f3 autocommit 2022-04-30 13:45:20 CEST 2022-04-30 13:45:20 +02:00
Julian Orth
4e717ecef8 autocommit 2022-04-29 17:57:11 CEST 2022-04-29 17:57:11 +02:00
Julian Orth
1242a6c1e1 autocommit 2022-04-28 19:49:51 CEST 2022-04-28 19:49:51 +02:00
Julian Orth
19aef8c58a autocommit 2022-04-28 15:19:15 CEST 2022-04-28 15:19:15 +02:00
Julian Orth
324eb835bb autocommit 2022-04-27 20:37:49 CEST 2022-04-27 20:37:49 +02:00
Julian Orth
025efbaccc autocommit 2022-04-23 01:40:39 CEST 2022-04-23 01:40:39 +02:00
Julian Orth
e3b3d848c3 autocommit 2022-04-23 00:55:20 CEST 2022-04-23 00:55:20 +02:00
Julian Orth
32fe8b64ca autocommit 2022-04-21 18:25:34 CEST 2022-04-21 18:25:34 +02:00
Julian Orth
dae9e52347 autocommit 2022-04-20 20:20:36 CEST 2022-04-20 20:20:36 +02:00
Julian Orth
34e665cd8b autocommit 2022-04-20 18:33:59 CEST 2022-04-20 18:33:59 +02:00
Julian Orth
1227ede560 autocommit 2022-04-20 17:28:17 CEST 2022-04-20 17:28:17 +02:00