1
0
Fork 0
forked from wry/wry
Commit graph

76 commits

Author SHA1 Message Date
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
Julian Orth
95327685c1 wayland: implement surface transformations
- buffer scale
- buffer transform
- viewporter
2022-05-28 18:18:29 +02:00
Julian Orth
c0afc5cf2a config: allow setting per-device scroll wheel speed 2022-05-27 16:00:16 +02:00
Julian Orth
145e4dbc24 wayland: add times to all input events 2022-05-26 12:25:59 +02:00
Julian Orth
10090c0596 tree: fix jay hanging during shutdown 2022-05-20 13:56:09 +02:00
Julian Orth
d42add4d18 all: implement screen locking 2022-05-19 23:39:11 +02:00
Julian Orth
e5c0916a25 all: fix memory leaks 2022-05-18 22:42:36 +02:00
Julian Orth
fca7c7e1d2 tree: focus container mono child after scroll 2022-05-07 14:24:06 +02:00
Julian Orth
4584dee160 tree: never focus wl-subsurface surfaces 2022-05-05 14:04:15 +02:00
Julian Orth
ac56970f14 autocommit 2022-04-30 13:53:02 CEST 2022-04-30 13:53:02 +02:00
Julian Orth
3d4a6b21f3 autocommit 2022-04-30 13:45:20 CEST 2022-04-30 13:45:20 +02:00
Julian Orth
1242a6c1e1 autocommit 2022-04-28 19:49:51 CEST 2022-04-28 19:49:51 +02:00
Julian Orth
19aef8c58a autocommit 2022-04-28 15:19:15 CEST 2022-04-28 15:19:15 +02:00
Julian Orth
324eb835bb autocommit 2022-04-27 20:37:49 CEST 2022-04-27 20:37:49 +02:00
Julian Orth
57899b3f35 autocommit 2022-04-27 18:04:02 CEST 2022-04-27 18:04:02 +02:00
Julian Orth
e3b3d848c3 autocommit 2022-04-23 00:55:20 CEST 2022-04-23 00:55:20 +02:00
Julian Orth
1227ede560 autocommit 2022-04-20 17:28:17 CEST 2022-04-20 17:28:17 +02:00
Julian Orth
ab3c2e44f4 autocommit 2022-04-20 16:11:37 CEST 2022-04-20 16:11:37 +02:00
Julian Orth
fa1ec0b36c autocommit 2022-04-20 14:58:34 CEST 2022-04-20 14:58:34 +02:00
Julian Orth
54cf01f745 autocommit 2022-04-18 14:14:25 CEST 2022-04-18 14:14:25 +02:00
Julian Orth
c11d299fb8 autocommit 2022-04-17 18:51:15 CEST 2022-04-17 18:51:15 +02:00
Julian Orth
1eb0d3e173 autocommit 2022-04-17 17:59:45 CEST 2022-04-17 17:59:45 +02:00
Julian Orth
a30306e3d5 autocommit 2022-04-17 17:08:31 CEST 2022-04-17 17:08:31 +02:00
Julian Orth
50b792db78 autocommit 2022-04-16 13:42:13 CEST 2022-04-16 13:42:13 +02:00
Julian Orth
8924936079 autocommit 2022-04-12 17:26:33 CEST 2022-04-12 17:26:33 +02:00
Julian Orth
af152f7f3e autocommit 2022-04-10 01:54:16 CEST 2022-04-10 01:54:16 +02:00
Julian Orth
befd5e99b2 autocommit 2022-04-10 01:35:15 CEST 2022-04-10 01:35:15 +02:00
Julian Orth
21e2216ce5 autocommit 2022-04-08 23:02:38 CEST 2022-04-08 23:02:38 +02:00
Julian Orth
0bd9a70e69 autocommit 2022-04-08 00:04:55 CEST 2022-04-08 00:04:55 +02:00