1
0
Fork 0
forked from wry/wry
Commit graph

55 commits

Author SHA1 Message Date
Julian Orth
7ab99bb840 backend: implement output transactions 2025-07-12 08:15:22 +02:00
Julian Orth
e95e764b46 drm: add ObjectChangeValue 2025-07-12 08:15:22 +02:00
Julian Orth
286857971a all: use let chains 2025-07-01 11:20:48 +02:00
elden
6341623e72 all: add musl support 2025-05-09 15:39:56 +02:00
Julian Orth
bb56efb968 metal: allow configuring color space and transfer function 2025-03-11 18:42:47 +01:00
Julian Orth
3338909170 all: set rust edition to 2024 2025-02-21 10:44:29 +01:00
Julian Orth
1abb89d888 metal: reset unused DRM properties 2025-02-03 12:16:00 +01:00
Julian Orth
32cb00444b utils: remove AsciiTrim trait 2025-01-27 10:23:46 +01:00
Julian Orth
73a6e0d5c2 all: warn on unsafe-op-in-unsafe-fn 2024-10-20 18:39:11 +02:00
Julian Orth
448b9e332e all: mark extern blocks as unsafe 2024-10-20 16:28:47 +02:00
Julian Orth
1e45a243de all: remove unnecessary mem:: prefix 2024-10-12 14:50:05 +02:00
Julian Orth
b754e37bfe drm: include st_rdev in Drm object 2024-10-10 12:10:43 +02:00
Julian Orth
ccad3cf0fb all: use tracy for tracing 2024-09-15 18:08:54 +02:00
Julian Orth
a37ce1acda metal: request crtc sequence events 2024-09-11 01:28:46 +02:00
Julian Orth
a1985b2870 metal: disable implicit sync in KMS 2024-09-10 23:38:26 +02:00
Julian Orth
e377470f3f all: use expect attribute where possible 2024-09-06 11:08:22 +02:00
Julian Orth
62cd29056a video: add udmabuf allocator 2024-09-01 20:25:22 +02:00
Julian Orth
49f6304716 metal: implement tearing 2024-07-18 15:36:24 +02:00
Julian Orth
84d7632341 all: address clippy lints 2024-07-02 17:13:20 +02:00
Julian Orth
c27e90b4e7 all: fix clippy lints 2024-06-05 20:09:32 +02:00
Julian Orth
3430c3661b it: use a software renderer 2024-06-05 18:36:20 +02:00
Julian Orth
5e336e19b7 cli: use map stride when taking screenshots 2024-06-05 18:34:07 +02:00
Julian Orth
413bbde26b gbm: hard-code invalid modifier if explicit modifiers are not supported 2024-05-30 12:57:34 +02:00
mahkoh
3c61dd5fd4
Merge pull request #197 from mahkoh/jorth/layer-shell
Implement remaining layer shell features
2024-05-09 12:14:22 +02:00
Julian Orth
110f45fef7 drm: preserve GbmBos while they are in use 2024-05-08 23:10:22 +02:00
Julian Orth
0d7a07ec40 all: add HashMapExt 2024-05-08 15:59:43 +02:00
Julian Orth
abbc847144 wayland: implement wp-drm-lease-v1 2024-04-26 15:46:51 +02:00
Julian Orth
e92c92bf49 metal: add lease infrastructure 2024-04-26 15:46:49 +02:00
Julian Orth
3b0757ee53 it: test explicit sync 2024-04-03 17:14:58 +02: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
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