1
0
Fork 0
forked from wry/wry
Commit graph

232 commits

Author SHA1 Message Date
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
Julian Orth
9a024fe72c wayland: implement ext-idle-notifier 2024-02-15 22:47:34 +01:00
Julian Orth
2abce40e8b tree: force focus change after dnd drop 2024-02-15 15:37:57 +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
41d7531cd5 wayland: implement xdg-activation 2024-02-14 18:33:17 +01:00
Julian Orth
0628a9d393 tree: fix some issues with toplevel visibility handling 2024-02-14 17:43:05 +01:00
Julian Orth
cf332e8436 render: implement a vulkan renderer 2024-02-08 15:24:02 +01:00
Julian Orth
db9c382002 render: re-initialize buffer textures on gfx context change 2024-02-08 15:24:02 +01:00
Julian Orth
bf90204db6 video: always use correct modifiers 2024-02-08 15:24:02 +01:00
Julian Orth
283774ae4c render: remove supports_external_only 2024-02-08 15:24:02 +01:00
Julian Orth
e0ed29038e metal: use IN_FORMATS plane property 2024-02-08 15:24:02 +01:00
Julian Orth
d022d96fbf dmabuf: add PlaneVec 2024-02-08 15:24:02 +01:00
Julian Orth
d5d141d42d wayland: implement wp_content_type_manager_v1 2024-02-08 15:15:41 +01:00
Julian Orth
3acf0558a3 wayland: implement wp_cursor_shap_manager_v1 2024-02-08 14:13:18 +01:00
Julian Orth
f88feece2a input: ignore set_pointer serial requirement 2024-02-07 22:22:43 +01:00
Julian Orth
71fc851705 render: keep track of outputs whose hardware cursor must be rendered 2024-02-07 21:43:01 +01:00
Julian Orth
d202712694 input: log reason for ignoring set_cursor request 2024-02-07 21:22:44 +01:00
Julian Orth
9ceec8f4a0 wayland: implement zwp_linux_dmabuf v4 2024-02-06 16:30:12 +01:00
Julian Orth
421be6854b fix: store single-pixel colors outside of buffer storage 2024-02-06 14:57:06 +01:00
Julian Orth
e21a95fb76 wayland: implement wp_single_pixel_buffer_manager_v1 2024-02-06 14:39:55 +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
3d51969726 wayland: implement wl_shm v2 2024-02-06 10:56:15 +01:00
Julian Orth
bf1bb58c5b wayland: implement wl_surface v6 2024-02-06 10:36:55 +01:00
Julian Orth
0bd61bc242 wayland: implement wl_surface v5 2024-02-06 10:26:45 +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
78b557b4a1 input: implement wl_seat version 9 2024-02-04 19:56:45 +01:00
Julian Orth
24e410a5b5 render: hide graphics API behind traits 2023-10-22 20:42:35 +02: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
Julian Orth
a2a04512ed all: address clippy lints 2023-10-22 16:01:40 +02:00
Julian Orth
a09e8bfbd3 all: update dependencies 2023-10-22 15:58:28 +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
9c7299234a config: allow capturing only selected workspaces 2023-02-04 14:07:55 +01:00
Julian Orth
913b9d7213 wayland: update wl_output to v4 2022-12-31 21:49:02 +01:00
Julian Orth
2db0ee8995 seat: update hardware cursor upon identical re-attach
This happens if the client re-uses the same wl_surface in
wl_pointer::set_cursor. If, in the same call, the client changes the
hotspot, we have to re-render the hardware cursor.
2022-12-16 22:06:56 +01: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
28e91e0c5d metal: support multi-gpu systems via copying 2022-11-13 21:35:14 +01:00
Julian Orth
5b2eb5855a tree: update to latest version of wp_fractional_scale 2022-11-12 15:05:58 +01:00
Julian Orth
e61d6ab074 all: fix clippy lints 2022-11-03 19:26:35 +01:00
Julian Orth
335677bbcd wayland: implement xwayland_shell_v1 2022-10-18 17:43:49 +02:00
Julian Orth
1f64fefc86 registry: implement xwayland-only globals 2022-10-16 21:05:44 +02:00
Julian Orth
887fab0936 xwayland: don't send raw wl_surface's to xwm
This handles a race where the surface was already destroyed when the
message was handled.
2022-10-16 20:58:21 +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