1
0
Fork 0
forked from wry/wry
Commit graph

384 commits

Author SHA1 Message Date
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
mahkoh
bc5de5188f
Merge pull request #73 from mahkoh/jorth/unmapped-subsurface
render: don't warn when rendering an unmapped sub-surface
2024-02-04 20:20:19 +01:00
Julian Orth
58cab8894c all: fix clippy lints 2024-02-04 20:17:55 +01:00
Julian Orth
daf03b423d render: don't warn when rendering an unmapped sub-surface 2024-02-04 20:16:59 +01:00
mahkoh
3d7bf39737
Merge pull request #72 from mahkoh/jorth/natural-scrolling
input: add support for natural scrolling
2024-02-04 20:01:27 +01:00
Julian Orth
78b557b4a1 input: implement wl_seat version 9 2024-02-04 19:56:45 +01:00
Julian Orth
887e2b6cbc input: add support for natural scrolling
Closes #69
2024-02-04 18:50:52 +01:00
mahkoh
b4d73064d9
Merge pull request #65 from mahkoh/jorth/gfx2
Abstract over the graphics API
2023-10-23 18:18:39 +02: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
Julian Orth
12bc45b07f renderer: move most opengl code out of the renderer 2023-10-22 13:02:51 +02:00
Julian Orth
eb83505e39 all: address clippy issues 2023-07-15 19:08:07 +02:00
mahkoh
949eb1c818
Merge pull request #59 from mrshiposha/fix/xdg_surface-configure-serial 2023-07-15 19:06:16 +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
mahkoh
80dc8770c5
Merge pull request #56 from mrshiposha/fix/xcursor-theme
Use XCURSOR_THEME
2023-05-13 16:39:23 +02:00
Daniel Shiposha
104e248abd fix: cargo fmt 2023-05-13 16:33:55 +02:00
Daniel Shiposha
701d9792c0 fix: use XCURSOR_THEME 2023-05-13 11:24:10 +02:00
Julian Orth
403de8e24a config: damage screen after changing capture setting 2023-02-04 14:36:38 +01:00
Julian Orth
036af4abaa all: address clippy issues 2023-02-04 14:20:10 +01:00
Julian Orth
9c7299234a config: allow capturing only selected workspaces 2023-02-04 14:07:55 +01:00
Julian Orth
de71be0674 tests: fix tests 2023-01-01 23:08:09 +01:00
Julian Orth
9863957779 all: update dependencies 2022-12-31 22:18:48 +01:00
Julian Orth
913b9d7213 wayland: update wl_output to v4 2022-12-31 21:49:02 +01:00
Julian Orth
9812a02f87 io: use io_uring for all io
There should no longer be any

- read
- write
- connect
- sendmsg
- recvmsg
- accept

calls in the codebase. Previously we were using a mix of io_uring and
these calls which had some negative effects: Since we were using the old
system calls, we had to set the file descriptors to non-blocking. But
our io_uring code did not handle EAGAIN. This lead to programs sometimes
being killed when the wayland IO was actually blocking.

Now all file descriptors are set to blocking, but io_uring makes it
non-blocking from our perspective. The one exception are evdev files
because they are read via libinput and libinput uses the old system
calls.
2022-12-31 17:56:58 +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
09b4668a53 test: run unit tests on sr.ht 2022-11-20 11:42:33 +01:00
Julian Orth
0697911b7c docs: configure gh-pages deployment 2022-11-20 11:36:47 +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
0b46391789 all: fix clippy lints 2022-11-13 22:50:18 +01:00
Julian Orth
82a62e3fd9 utils: fix rects_to_bands 2022-11-13 22:49:19 +01:00
Julian Orth
13bcdecd1b video: actually created the bridge BO in the render device 2022-11-13 21:40:02 +01:00
Julian Orth
28e91e0c5d metal: support multi-gpu systems via copying 2022-11-13 21:35:14 +01:00
Julian Orth
d43e7b345c docs: update readme 2022-11-13 16:53:02 +01:00
Julian Orth
79ee6900fa video: prefer non-nvidia devices when selecting render device 2022-11-13 16:53:02 +01:00
Julian Orth
141997d9d6 video: choose render device in the frontend 2022-11-13 16:53:02 +01:00
Julian Orth
049b86f4e2 config: add DrmDevice::make_render_device 2022-11-13 16:53:02 +01:00
Julian Orth
c6c87bdaa1 backend: add DevicesEnumerated event 2022-11-13 16:53:02 +01:00
Julian Orth
dddd68ba06 x: add XDrmDevice 2022-11-13 13:11:55 +01:00
Julian Orth
e29fd0e70c metal: log drm device model 2022-11-13 00:16:36 +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
729e47a756 build: upgrade to rust 1.65 2022-11-03 19:23:55 +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