1
0
Fork 0
forked from wry/wry
Commit graph

57 commits

Author SHA1 Message Date
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
9c7299234a config: allow capturing only selected workspaces 2023-02-04 14:07:55 +01:00
Julian Orth
5b2eb5855a tree: update to latest version of wp_fractional_scale 2022-11-12 15:05:58 +01:00
Julian Orth
ae991b9038 all: address clippy lints 2022-08-13 17:46:23 +02:00
Julian Orth
a8f627f15c tree: render top layer over fullscreen windows 2022-07-31 13:18:20 +02:00
Julian Orth
9c21d118d6 tree: render overlayes over fullscreen windows 2022-07-31 11:28:25 +02:00
Julian Orth
163adbd893 renderer: add renderer_base 2022-07-30 12:55:09 +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
97e8d487a0 wayland: add support for NV12 format 2022-05-28 22:04:00 +02:00
Julian Orth
95327685c1 wayland: implement surface transformations
- buffer scale
- buffer transform
- viewporter
2022-05-28 18:18:29 +02:00
Julian Orth
d42add4d18 all: implement screen locking 2022-05-19 23:39:11 +02:00
Julian Orth
858e777f5a tree: activate workspace on click 2022-05-17 18:58:30 +02:00
Julian Orth
6916f03e94 config: clean up and document theming 2022-05-15 20:13:25 +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
04580c4aeb autocommit 2022-05-01 21:44:09 CEST 2022-05-01 21:44:09 +02:00
Julian Orth
324eb835bb autocommit 2022-04-27 20:37:49 CEST 2022-04-27 20:37:49 +02:00
Julian Orth
e3b3d848c3 autocommit 2022-04-23 00:55:20 CEST 2022-04-23 00:55:20 +02:00
Julian Orth
34e665cd8b autocommit 2022-04-20 18:33:59 CEST 2022-04-20 18:33:59 +02:00
Julian Orth
1227ede560 autocommit 2022-04-20 17:28:17 CEST 2022-04-20 17:28:17 +02:00
Julian Orth
fa1ec0b36c autocommit 2022-04-20 14:58:34 CEST 2022-04-20 14:58:34 +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
8924936079 autocommit 2022-04-12 17:26:33 CEST 2022-04-12 17:26:33 +02:00
Julian Orth
6b3316e920 autocommit 2022-04-10 18:26:13 CEST 2022-04-10 18:26:13 +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
Julian Orth
be32036824 autocommit 2022-04-07 17:31:31 CEST 2022-04-07 17:31:31 +02:00
Julian Orth
1f71290dab autocommit 2022-04-04 00:28:58 CEST 2022-04-04 00:28:58 +02:00
Julian Orth
9ec1c5c995 autocommit 2022-04-02 21:13:27 CEST 2022-04-02 21:13:27 +02:00
Julian Orth
2dd433aa04 autocommit 2022-04-01 01:44:10 CEST 2022-04-01 01:44:10 +02:00
Julian Orth
28c9b46400 autocommit 2022-03-30 03:00:46 CEST 2022-03-30 03:00:46 +02:00
Julian Orth
9842264fad autocommit 2022-03-29 15:40:59 CEST 2022-03-29 15:40:59 +02:00
Julian Orth
6ebf731aea autocommit 2022-03-29 14:11:25 CEST 2022-03-29 14:11:25 +02:00
Julian Orth
707ff6066c autocommit 2022-03-26 22:58:30 CET 2022-03-26 22:58:30 +01:00
Julian Orth
3b1b843821 autocommit 2022-03-24 18:27:42 CET 2022-03-24 18:27:42 +01:00
Julian Orth
6e466360a8 autocommit 2022-02-24 18:24:14 CET 2022-02-24 18:24:14 +01:00
Julian Orth
7d28d30666 autocommit 2022-02-24 16:30:11 CET 2022-02-24 16:30:11 +01:00
Julian Orth
145d1c15b7 autocommit 2022-02-21 23:21:13 CET 2022-02-21 23:21:13 +01:00
Julian Orth
a8505be462 autocommit 2022-02-20 22:21:41 CET 2022-02-20 22:21:41 +01:00
Julian Orth
292fa50fe7 autocommit 2022-02-20 21:53:46 CET 2022-02-20 21:53:46 +01:00
Julian Orth
a2f078cb66 autocommit 2022-02-20 15:48:24 CET 2022-02-20 15:48:24 +01:00
Julian Orth
ae66acef73 autocommit 2022-02-19 19:41:18 CET 2022-02-19 19:41:18 +01:00
Julian Orth
bb0468feea autocommit 2022-02-17 19:49:59 CET 2022-02-17 19:49:59 +01:00
Julian Orth
195a92d98b autocommit 2022-02-17 19:12:52 CET 2022-02-17 19:12:52 +01:00
Julian Orth
cf322f05be autocommit 2022-02-17 00:09:56 CET 2022-02-17 00:09:56 +01:00
Julian Orth
89bfd2ffcd autocommit 2022-02-04 16:52:11 CET 2022-02-04 16:52:12 +01:00
Julian Orth
bb1639a2ae autocommit 2022-02-04 00:45:22 CET 2022-02-04 00:45:22 +01:00
Julian Orth
89b8396932 autocommit 2022-02-02 20:01:25 CET 2022-02-02 20:01:25 +01:00
Julian Orth
65a7a55b82 autocommit 2022-02-02 01:20:49 CET 2022-02-02 01:20:49 +01:00