1
0
Fork 0
forked from wry/wry
Commit graph

104 commits

Author SHA1 Message Date
Julian Orth
acb391335b wire: generate trait for request handling 2024-04-08 20:02:29 +02:00
Julian Orth
e3a1a0b30f wayland: make object versions type safe 2024-04-08 14:47:50 +02:00
Julian Orth
c5fd2cd989 surface: commit subsurface state during parent commit 2024-04-04 10:28:30 +02:00
Julian Orth
15a1b600f3 it: test workspace restoration 2024-04-03 17:15:01 +02:00
Julian Orth
fd056c5361 it: test content type protocol 2024-04-03 17:15:01 +02:00
Julian Orth
9703ba8794 it: test surface input region 2024-04-03 17:09:27 +02:00
Julian Orth
9cddeb964d surface: process offset request without a buffer change 2024-04-03 17:07:35 +02:00
Julian Orth
be965eeaf7 render: fix merging of explicit sync commits 2024-04-01 21:01:52 +02:00
Julian Orth
ba98103233 tree: make surface visibility tracking more robust 2024-03-29 21:17:45 +01:00
Julian Orth
be0935c8dd seat: handle surface cursor lifetimes explicitly 2024-03-29 19:31:40 +01:00
Julian Orth
566a05494a surface: don't destroy idle inhibitors when destroying node 2024-03-29 18:39:03 +01:00
Julian Orth
aaf73d6fdc wayland: implement linux-drm-syncobj-v1 2024-03-27 18:34:12 +01:00
Julian Orth
816315170f render: add support for explicit sync 2024-03-27 18:15:53 +01:00
Julian Orth
ea4a1f027b render: remove TextureReservations 2024-03-27 18:15:53 +01:00
Julian Orth
300deecc7d surface: attach sync sub-surface commits to parent commits 2024-03-27 18:15:52 +01:00
Julian Orth
0c48247740 surface: move pending state into the surface 2024-03-23 09:00:16 +01:00
Julian Orth
943626a7f7 surface: split ext::pre_commit into two parts 2024-03-23 09:00:16 +01:00
Julian Orth
86d37b5aa4 surface: remove interior mutability from pending state 2024-03-23 09:00:16 +01:00
Julian Orth
c921e2400e tree: fix restoration of workspaces to their desired outputs 2024-03-16 06:39:11 +01:00
Julian Orth
3eb0f61ec1 tree: make scale and position of outputs persistent 2024-03-16 01:38:57 +01:00
Julian Orth
516f8a8f25 tree: implement surface input regions 2024-03-04 14:54:42 +01:00
Julian Orth
364872258a wayland: implement xdg-toplevel-drag 2024-03-03 01:48:24 +01:00
mahkoh
2a61aee979
Merge pull request #111 from mahkoh/jorth/kb-focus
seat: use kb_owner code path for all keyboard_node changes
2024-03-02 19:12:34 +01:00
Julian Orth
54d93f84da all: add (Clone)Cell::is_some and is_none 2024-03-02 18:09:40 +01:00
Julian Orth
fb08e27307 seat: use kb_owner code path for all keyboard_node changes 2024-03-01 21:12:11 +01:00
Julian Orth
b7d2964e19 all: implement output transforms 2024-02-28 20:11:40 +01:00
Julian Orth
7d3b8b6278 render: simplify buffer coordinates 2024-02-28 16:52:52 +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
250026f7f6 render: fix top-left clipping of surfaces 2024-02-15 00:05:29 +01:00
Julian Orth
41d7531cd5 wayland: implement xdg-activation 2024-02-14 18:33:17 +01:00
Julian Orth
db9c382002 render: re-initialize buffer textures on gfx context change 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
0ac1bb8507 wayland: remove Object::num_requests 2024-02-06 12:05:03 +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
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
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
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
6193569596 xwayland: add x-surface indirection 2022-10-16 20:53:59 +02:00
Julian Orth
38d1267ec9 tree: implement pointer constraints 2022-07-21 20:16:22 +02:00
Julian Orth
b89d72fcd9 seat: uniformly convert scroll steps to scroll px 2022-06-05 14:14:53 +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
16aec8f87e wl_surface: unset viewporter in break_loops 2022-05-28 23:03:38 +02:00