1
0
Fork 0
forked from wry/wry
Commit graph

42 commits

Author SHA1 Message Date
Julian Orth
286857971a all: use let chains 2025-07-01 11:20:48 +02:00
Julian Orth
09e5f89174 all: use trait upcasting 2025-04-03 17:03:32 +02:00
Julian Orth
a174881138 gfx: attach color descriptions 2025-03-08 16:52:35 +01:00
Julian Orth
aa207ffe14 cursor-shape: implement v2 2025-02-28 14:16:23 +01:00
Julian Orth
c796602aab wl_surface: track if surface is fully opaque 2025-02-24 11:35:13 +01:00
Julian Orth
3338909170 all: set rust edition to 2024 2025-02-21 10:44:29 +01:00
Julian Orth
93bfb9c0b4 metal: latch hardware cursors in the backend 2024-09-10 23:37:54 +02:00
Julian Orth
c968024905 gfx: add ShmGfxTexture 2024-09-08 14:40:45 +02:00
Julian Orth
bb9e6ba3b5 all: fetch current time only once per iteration 2024-07-12 20:05:31 +02:00
Julian Orth
af80fada6c vulkan: optimize shm handling 2024-05-23 22:30:38 +02:00
Julian Orth
ff54a8ab96 wayland: implement alpha_modifier_v1 2024-04-09 12:09:54 +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
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
3d4af09f99 cursor: fix selection of best-fit cursor images 2024-03-12 15:50:22 +01:00
Julian Orth
7381e5df37 cursor: respect XCURSOR_SIZE 2024-03-10 17:42:06 +01:00
Julian Orth
b7d2964e19 all: implement output transforms 2024-02-28 20:11:40 +01:00
Julian Orth
250026f7f6 render: fix top-left clipping of surfaces 2024-02-15 00:05:29 +01:00
Julian Orth
cf332e8436 render: implement a vulkan renderer 2024-02-08 15:24:02 +01:00
Julian Orth
3acf0558a3 wayland: implement wp_cursor_shap_manager_v1 2024-02-08 14:13:18 +01:00
Julian Orth
24e410a5b5 render: hide graphics API behind traits 2023-10-22 20:42:35 +02: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
Daniel Shiposha
104e248abd fix: cargo fmt 2023-05-13 16:33:55 +02:00
Daniel Shiposha
701d9792c0 fix: use XCURSOR_THEME 2023-05-13 11:24:10 +02:00
Julian Orth
036af4abaa all: address clippy issues 2023-02-04 14:20:10 +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
163adbd893 renderer: add renderer_base 2022-07-30 12:55:09 +02:00
Julian Orth
b3c20c5309 wayland: add jay_pointer 2022-07-30 12:03:55 +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
95327685c1 wayland: implement surface transformations
- buffer scale
- buffer transform
- viewporter
2022-05-28 18:18:29 +02:00
Julian Orth
be32036824 autocommit 2022-04-07 17:31:31 CEST 2022-04-07 17:31:31 +02:00
Julian Orth
6ebf731aea autocommit 2022-03-29 14:11:25 CEST 2022-03-29 14:11:25 +02:00
Julian Orth
63be47a9fb autocommit 2022-03-23 14:35:09 CET 2022-03-23 14:35:09 +01:00
Julian Orth
ac8fe725ea autocommit 2022-02-21 14:50:55 CET 2022-02-21 14:50:55 +01:00
Julian Orth
83c3fb99f9 autocommit 2022-02-09 18:28:39 CET 2022-02-09 18:28:39 +01:00
Julian Orth
bb1639a2ae autocommit 2022-02-04 00:45:22 CET 2022-02-04 00:45:22 +01:00
Julian Orth
65a7a55b82 autocommit 2022-02-02 01:20:49 CET 2022-02-02 01:20:49 +01:00
Julian Orth
2dbe3ba732 autocommit 2022-02-01 23:33:59 CET 2022-02-01 23:33:59 +01:00