1
0
Fork 0
forked from wry/wry
Commit graph

21 commits

Author SHA1 Message Date
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