Commit Graph

1358 Commits

Author SHA1 Message Date
Christian Duerr c6cbce2082
Remove socket initialization from udev.rs
Since `AnvilState::init` already initializes the socket, it shouldn't be
necessary to duplicate this in the `udev.rs` backend.
2022-01-29 14:31:42 +01:00
Victoria Brekenfeld ab89bda503
Merge pull request #483 from Smithay/deps/update_drm
deps: Update drm-rs and gbm-rs
2022-01-26 21:23:32 +01:00
Victoria Brekenfeld 7c886e05d2
Merge pull request #482 from Smithay/feature/gbm_generics
gbm: Allow usage of other allocators for GbmBufferedSurface
2022-01-26 20:41:44 +01:00
Victoria Brekenfeld ac265a3d68 deps: Update drm-rs and gbm-rs 2022-01-26 20:30:06 +01:00
Victoria Brekenfeld 3454146c92 gbm: Allow usage of other allocators for GbmBufferedSurface 2022-01-26 20:13:41 +01:00
Victoria Brekenfeld adb7553888
Merge pull request #480 from Smithay/fix/winit_buffer_age
winit: Fix returned buffer age
2022-01-25 18:59:45 +01:00
Victoria Brekenfeld cd26ac1507 egl: Handle buffer age query errors 2022-01-25 16:38:00 +01:00
Victoria Brekenfeld 8558253b13
Merge pull request #473 from dragonnn/render_layers
Add layer definition to RenderElement
2022-01-24 16:01:05 +01:00
Victoria Brekenfeld 25d23448af
Merge pull request #469 from cmeissl/fix/xdg_toplevel_parent
fix setting the parent of a ToplevelSurface
2022-01-24 16:00:50 +01:00
Victor Berger 71fad616f8
Merge pull request #467 from cmeissl/feature/popup_grab
Add support for popup grabs to desktop abstraction
2022-01-23 21:47:38 +01:00
dragonn b11fef8a90 remove not need &mut in render_elements extend 2022-01-23 19:58:11 +01:00
Victoria Brekenfeld 09dca039ec
Merge pull request #478 from Smithay/fix/swapchain_submit
swapchain: Don't force release of submitted buffers
2022-01-23 19:43:58 +01:00
Victoria Brekenfeld eed342a1a4
Merge pull request #477 from Smithay/fix/render_elem_multi_output
space: Pass a location to `RenderElement::draw`
2022-01-23 19:43:34 +01:00
Victoria Brekenfeld bdf3a50b63
Merge pull request #479 from i509VCB/docs/render_at
renderer: describe at parameter in Frame::clear
2022-01-22 22:18:38 +01:00
Victoria Brekenfeld 6ae0a3510a winit: Fix returned buffer age 2022-01-22 22:13:59 +01:00
i509VCB c5f24fe574
renderer: describe at parameter in Frame::clear 2022-01-22 14:31:46 -06:00
Victoria Brekenfeld 0077a7abf6 swapchain: Don't force release of submitted buffers 2022-01-22 21:15:20 +01:00
Victoria Brekenfeld ff81fce786 space: Pass a location to `RenderElement::draw` 2022-01-21 18:52:07 +01:00
dragonn 3f86c5b94d small reorder in RenderZindex and change z_index logic in popups 2022-01-20 20:43:04 +01:00
dragonn 15c9e9adf0 change default layer for Windows to Shell 2022-01-20 20:04:22 +01:00
dragonn 97c831acbc rework damage tracking to render_elements and use extend 2022-01-20 20:04:05 +01:00
dragonn f0564ebad6 store parent_layer in RenderPopup for z_index implemantion 2022-01-20 20:03:33 +01:00
dragonn d7415e6fa9 remove left over comment from default implemantion for z_index 2022-01-20 19:51:41 +01:00
dragonn cbb2c1e541 fine to return 0 when LayerSurface doesn't have layer 2022-01-20 19:45:59 +01:00
dragonn 6477942122 add extra derives to RenderZindex 2022-01-20 19:45:30 +01:00
dragonn 53c6bf003f suppres clippy len_without_is_empty for LayerMap 2022-01-20 19:18:00 +01:00
dragonn 957f1c522b rework renderlayer to zindex solution 2022-01-20 19:11:58 +01:00
Victoria Brekenfeld e019b4fa9e
Merge pull request #475 from Smithay/fix/popup_output_events
Send popups and layers output enter/leave events as well
2022-01-20 12:57:50 +01:00
Victoria Brekenfeld f935b54f2c
Merge pull request #474 from Smithay/fix/layer_popup_frames 2022-01-20 12:14:55 +01:00
dragonn dea000921b add comments to DynamicRenderElementMap 2022-01-19 22:02:35 +01:00
dragonn 2b1e389495 move DynamicRenderElementMap and it's friends to elements.rs 2022-01-19 21:12:54 +01:00
Victoria Brekenfeld f18ebd6405 desktop.layer: Send output enter/leave events to popups 2022-01-19 20:51:03 +01:00
Victoria Brekenfeld 98da5fe467 desktop: Refactor output_{enter, leave} into utils 2022-01-19 20:51:03 +01:00
Victoria Brekenfeld 3b99a2c9dd desktop.layer: Send output enter/leave events 2022-01-19 20:51:03 +01:00
Victoria Brekenfeld a099ccbb2e desktop.layer: Use a proper logger 2022-01-19 20:51:03 +01:00
Victoria Brekenfeld 017146304e desktop.layer: Send frames to popups 2022-01-19 20:46:49 +01:00
dragonn 3ae387e991 DynamicRenderElementMap as a helper for iter on custom_elements 2022-01-19 17:35:30 +01:00
Mateusz 478fe62808
Move chain to upper chain in loop
Co-authored-by: Victoria Brekenfeld <4404502+Drakulix@users.noreply.github.com>
2022-01-19 16:49:15 +01:00
Mateusz d7dfe2e3b6
Move chain to upper chain in render loop
Co-authored-by: Victoria Brekenfeld <4404502+Drakulix@users.noreply.github.com>
2022-01-19 16:49:03 +01:00
Victoria Brekenfeld a5efee5c21
Merge pull request #472 from chrisduerr/exclusive_zone_eq
Add PartialEq/Eq implementation for ExclusiveZone
2022-01-19 10:52:16 +01:00
dragonn b9ecc3c2d4 add layer definition to RenderElement 2022-01-18 22:15:47 +01:00
Christian Duerr 8e1263ce9c
Add PartialEq/Eq implementation for ExclusiveZone 2022-01-18 19:04:34 +01:00
Victoria Brekenfeld 92d04ba8fe
Merge pull request #471 from Smithay/fix/revert_output_transform 2022-01-17 22:02:10 +01:00
Victoria Brekenfeld 0ffc9db923
Merge pull request #470 from PolyMeilex/fix/desktop-output-damage 2022-01-17 21:41:50 +01:00
Victoria Brekenfeld 21a78f9858 gles: Don't apply output transformations to buffer damage 2022-01-17 21:26:06 +01:00
Poly d5bfc6f613 desktop.space: Fix multioutput rendering 2022-01-17 20:33:56 +01:00
Victoria Brekenfeld 37693f31d9
Merge pull request #466 from Smithay/fix/damage_output_transform
Apply transformations correctly
2022-01-17 16:04:13 +01:00
Victoria Brekenfeld 3c7b84ff88
Merge pull request #464 from Smithay/fix/multi_overlap_damage
space: Handle multiple overlapping rects when merging damage
2022-01-17 14:19:22 +01:00
Victoria Brekenfeld 4161bc30ec wlcs_anvil: Use buffer transformations 2022-01-17 13:52:07 +01:00
Victoria Brekenfeld 4b22624e74 anvil: Use buffer transformations 2022-01-17 11:20:57 +01:00