Christian Meissl
c3baca8e3e
desktop: limit frame callbacks to primary scan-out output
...
this limits the frame callbacks to the primary scan-out output
which can be selected by a user provided function
2022-10-28 12:47:42 +02:00
Victoria Brekenfeld
cb146e0693
deps: Update to wayland-rs 0.30-beta.12
2022-10-13 21:17:36 +02:00
Victoria Brekenfeld
079ffaecae
deps: Update to wayland-rs 0.30-beta.11
2022-10-13 20:50:16 +02:00
Victoria Brekenfeld
2fc47ff9d4
desktop: Fix handling for output_enter/leave events
...
- SurfaceTree is not really mapped by anything, remove SpaceElement impl
and just provide AsRenderElements (TODO: Implement it directly for
WlSurace?)
- LayerSurface is not mapped, by belongs to an Output, so also remove
its SpaceElement implementation
- Windows consist of multiple surfaces and can be on multiple outputs
simutaniously. This means some surfaces might not be inside one
outputs bounds, we thus need to provide `output_enter` and `refresh`
with positioning information to allow for multiplexing this call
correctly
- Additionally surfaces can be destroyed and created at any point, so
refresh needs to recalculate outputs.
2022-10-11 17:59:28 +02:00
Victoria Brekenfeld
56d292c4b9
anvil: Fix cursor positioning
2022-10-11 17:59:01 +02:00
Victoria Brekenfeld
09cd2c26e3
wlcs_anvil: Fixups for generic space
2022-10-11 17:59:01 +02:00
Christian Meissl
8779f71c60
flatten renderer modules
2022-10-11 17:58:32 +02:00
Christian Meissl
8073561caf
wlcs: fix build
2022-10-11 17:58:08 +02:00
Victoria Brekenfeld
51f6df7d28
fixup rebase
2022-10-11 17:58:08 +02:00
Christian Meissl
1affed03be
rename OutputRender to DamageTrackedRenderer
...
and allow to specify a static output
2022-10-11 17:58:08 +02:00
Christian Meissl
b706991090
fix wlcs compile errors
2022-10-11 17:58:08 +02:00
Christian Meissl
9b8b86ad43
update wayland-rs to 0.30.0-beta.10
...
* adds io_lifetimes to make use of Owned/BorrwoedFd on rust < 1.63
* liveness tracking for external objects like EGL buffers (fixes
occasional segfaults when a egl client disconnects that does not
use dmabuf)
2022-09-19 11:48:43 +02:00
Victoria Brekenfeld
a97f34ef8b
output: Split wayland::output
2022-09-05 13:19:12 +02:00
Victor Berger
9cc2606e87
Update wayland-rs to 0.30.0-beta.9
2022-09-01 10:38:25 +02:00
Victoria Brekenfeld
50dfc5736a
input: fix examples, smallvil, wlcs
2022-08-23 12:04:59 +00:00
Victoria Brekenfeld
ca97688fbe
wlcs_anvil: Update for input-split
2022-08-22 16:41:13 +00:00
Eivind Gamst
1dc0a3672c
removed allow(missing_docs)
2022-08-14 17:24:59 +02:00
Eivind Gamst
7ab84a8a62
wlcs anvil drawing
2022-08-14 17:20:55 +02:00
rano-oss
4ccedaea5e
Make input method handle an option
2022-08-02 11:59:54 +08:00
rano-oss
84f5fd406c
fixes and renaming
2022-08-01 21:17:38 +08:00
Eivind Gamst
7a7899a5f9
Rewrite for wayland-rs 0.30
2022-07-31 23:28:55 +08:00
Eivind Gamst
19993b9fc9
Merge branch 'master' into wayland/input_method_and_text_input
2022-07-18 23:49:20 +08:00
i509VCB
d133bef922
deps update smithay to beta.8 wayland-rs release
2022-07-15 14:46:19 +00:00
Victoria Brekenfeld
e3014238f7
space: Replace window-loc z_index with space-local
2022-07-06 10:23:55 +00:00
Victoria Brekenfeld
1b99d84285
deps: Update to wayland-rs-0.30-beta.7
2022-07-04 10:35:38 +00:00
Victoria Brekenfeld
bb79a79a6c
renderer: Remove DisplayHandle requirement
2022-07-02 17:25:28 +02:00
i509VCB
fe6cb2d5e5
Fix new clippy 1.62 lints
2022-06-30 16:21:21 -05:00
Christian Meissl
7aa934a7b8
renderer: use int for physical coordinates
...
now that all coordinates in the renderer
use physical coordinates we can return to
use integer for all coordinates.
this has the benefit that custom renderer
that use 2d blitting do not have to round
internally
2022-06-25 21:53:24 +02:00
Victoria Brekenfeld
5c7095638d
Update names
2022-06-23 16:46:15 +00:00
Victoria Brekenfeld
68dfc9b66b
deps: Update to wayland-rs-0.30-beta.5
2022-06-23 16:46:15 +00:00
Victor Berger
606cb9aec6
Merge branch 'master' into vberger/update-deps
2022-06-20 10:47:30 +02:00
Victor Berger
43d6ecc802
ci: Disable default features in wlcs
2022-06-17 22:48:53 +02:00
Victor Berger
f1c468e43d
deps: update nix to 0.24 in wlcs-anvil
2022-06-17 10:56:37 +02:00
Victor Berger
4e48ad4018
ci: enable default features in wlcs to get more accurate coverage
2022-06-16 17:03:23 +02:00
Victoria Brekenfeld
55418b2e60
wlcs_anvil: Update for 0.30
2022-06-12 21:00:26 +00:00
Poly
e8f59bb77a
Initial 0.30 port of desktop
2022-06-12 20:37:41 +00:00
Christian Meissl
711ecf075f
handle viewporter
2022-06-11 23:47:43 +02:00
Victoria Brekenfeld
98d7194493
space: Allow to retrieve window/layer from subsurface
2022-05-16 17:52:02 +02:00
Victoria Brekenfeld
4b6d78d418
space: Use output fractional scale instead of render_scale
2022-04-20 15:39:24 +02:00
Victoria Brekenfeld
537c03852d
output: Expose more information
2022-04-12 15:36:53 +02:00
Christian Meissl
5d933421ae
always send frame callbacks
...
we need to always send frame callbacks, irregardless
if the surface has been drawn or not. some clients will
just wait for the next frame callback to update
their content, for example firefox on a pointer axis
event or when showing popup menus.
2022-03-20 17:25:55 +01:00
Christian Meissl
2873bf6d72
fix rounding issues in renderer physical damage
2022-03-19 13:54:34 +01:00
Christian Meissl
5949c5402b
make the renderer take physical damage
2022-03-19 13:07:20 +01:00
Victoria Brekenfeld
2551073f1c
wlcs_anvil: Adjust for multigpu changes
2022-03-14 16:13:22 +01:00
Eivind Gamst
94ce582bbb
fixed the serial issue
2022-03-11 16:48:38 +01:00
Eivind Gamst
2cbd4c8021
Added fix for serial handling
2022-03-11 00:36:41 +01:00
Eivind Gamst
56ae06cdfb
experimental popup surface support
2022-02-14 01:07:05 +01:00
Victoria Brekenfeld
7859103bbe
wlcs_anvil: Add catch_unwind safeguards
2022-02-06 23:58:26 +01:00
Victoria Brekenfeld
93a8787d7b
wlcs_anvil: Use desktop_abstractions
2022-02-06 23:58:26 +01:00
Victoria Brekenfeld
4161bc30ec
wlcs_anvil: Use buffer transformations
2022-01-17 13:52:07 +01:00