1
0
Fork 0
forked from wry/wry
Commit graph

24 commits

Author SHA1 Message Date
Julian Orth
da84e9ec27 metal: implement direct scanout 2024-02-19 12:30:37 +01:00
Julian Orth
fed2ceb8b5 drm: add unique identifiers to dmabufs 2024-02-19 12:27:28 +01:00
Julian Orth
cf332e8436 render: implement a vulkan renderer 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
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
58cab8894c all: fix clippy lints 2024-02-04 20:17:55 +01:00
Julian Orth
a2a04512ed all: address clippy lints 2023-10-22 16:01:40 +02:00
Julian Orth
036af4abaa all: address clippy issues 2023-02-04 14:20:10 +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
79ee6900fa video: prefer non-nvidia devices when selecting render device 2022-11-13 16:53:02 +01:00
Julian Orth
ae991b9038 all: address clippy lints 2022-08-13 17:46:23 +02:00
Julian Orth
a162055f1d portal: add a desktop portal 2022-07-31 11:25:57 +02:00
Julian Orth
3b8935cf55 all: implement hardware cursors 2022-06-01 21:46:31 +02:00
Julian Orth
fe80440f38 config: add documentation 2022-05-16 18:21:56 +02:00
Julian Orth
d2913449ea metal: handle gpu reset
Unfortunately this doesn't seem to work on amdgpu [1]. I've tested that
it works on i915.

[1] https://gitlab.freedesktop.org/drm/amd/-/issues/1749
2022-05-06 16:45:56 +02:00
Julian Orth
13aa6d7249 it: silence dead_code warnings for test-only code 2022-05-02 14:13:21 +02:00
Julian Orth
04580c4aeb autocommit 2022-05-01 21:44:09 CEST 2022-05-01 21:44:09 +02:00
Julian Orth
0d414a5336 autocommit 2022-04-21 17:40:28 CEST 2022-04-21 17:40:28 +02:00
Julian Orth
939d20eab4 autocommit 2022-04-21 17:36:25 CEST 2022-04-21 17:36:25 +02:00
Julian Orth
916e3644c3 autocommit 2022-04-13 21:01:32 CEST 2022-04-13 21:01:32 +02:00
Julian Orth
661a28e5b0 autocommit 2022-04-13 12:58:04 CEST 2022-04-13 12:58:04 +02:00
Julian Orth
21e2216ce5 autocommit 2022-04-08 23:02:38 CEST 2022-04-08 23:02:38 +02:00
Julian Orth
be32036824 autocommit 2022-04-07 17:31:31 CEST 2022-04-07 17:31:31 +02:00