Commit Graph

1326 Commits

Author SHA1 Message Date
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
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
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
dragonn b9ecc3c2d4 add layer definition to RenderElement 2022-01-18 22:15:47 +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
Victor Brekenfeld 439d5a7820 Consistently use buffer coordinates
- Moves `Transform` into utils::geometry
- Changes conversion from and into buffer-coordinates to take
  `Transform` arguments.
- `Renderer` take `Buffer`-space damage now
- buffer_transform is taken into account everywhere
2022-01-16 20:32:17 +01:00
Victor Brekenfeld f76311227b gles2: Apply output transformations for damage 2022-01-16 20:15:38 +01:00
Victoria Brekenfeld 050c648bff
Merge pull request #465 from Smithay/fix/first_id_increment 2022-01-16 17:00:50 +01:00
Victoria Brekenfeld c9a2eb7ed2
Merge pull request #463 from Smithay/fix/popup_damage 2022-01-16 17:00:14 +01:00
Victor Brekenfeld a53d64053f space: Handle multiple overlapping rects when merging damage 2022-01-16 16:41:10 +01:00
Victor Brekenfeld 34667b791a utils: correctly increment ids on first call 2022-01-16 16:40:40 +01:00
Victor Brekenfeld 8f73a1e4f8 desktop: Fix damage for removed popups 2022-01-16 16:39:37 +01:00
Victoria Brekenfeld 8c126eeb80
Merge pull request #468 from cmeissl/workaround/clippy_non_send_fields_in_send_ty
disable clippy non-send-fields-in-send-ty
2022-01-16 16:30:09 +01:00
Christian Meissl f62079375a disable clippy non-send-fields-in-send-ty 2022-01-15 19:35:26 +01:00
Victoria Brekenfeld d554c7d2b9
Merge pull request #460 from Smithay/feature/egl_userdata 2022-01-14 11:03:14 +01:00
Victor Brekenfeld 5cbd4352b9 renderer: add `transform_rect` 2022-01-12 22:14:53 +01:00
Victor Brekenfeld 51ece28120 anvil: Fix winit resizing 2022-01-12 22:14:53 +01:00
Victor Brekenfeld fefb287fa8 gles2: Fixup texture filtering 2022-01-12 22:14:53 +01:00
Victor Brekenfeld bffae036f7 gles2: Expose transformation of a `Frame` 2022-01-12 22:14:53 +01:00
Victor Brekenfeld 74162a73b6 egl: Expose raw types for downstream integrations 2022-01-12 22:14:53 +01:00
Victor Brekenfeld 20d95c80c6 gles2: Expose `Gles2Frame`s projection matrix 2022-01-12 22:14:53 +01:00
Victor Brekenfeld f4811646be gles2: Expose underlying `EGLContext` 2022-01-12 22:14:53 +01:00
Victor Brekenfeld 6e1f6ab1f3 egl: Add `UserDataMap` to `EGLContext` 2022-01-10 19:31:31 +01:00
dragonn 6e0268f407 add function is_focused to KeyboardHandle 2022-01-09 10:58:13 +01:00
Victor Berger acf26bcaa9 ci: always build doc 2022-01-07 22:41:36 +01:00
Victor Berger dca52a9f1d update winit dependency 2022-01-07 21:00:26 +01:00
Victoria Brekenfeld 24b30e517d
Merge pull request #423 from Smithay/feature/desktop_abstractions
Desktop abstractions
2022-01-07 20:08:56 +01:00
Christian Meissl 9f5bf25b6b clamp the damage rect to the destination rect
this fixes issues when the damage rect is greater
than the destination rect, like providing i32::Max as
the damage size
2022-01-07 19:48:43 +01:00
Victor Brekenfeld 75929919ba space: Clarify state reset on `map_output` 2022-01-07 19:48:43 +01:00
Victor Brekenfeld 14d10e4863 space: `output_under` may return multiple outputs 2022-01-07 19:48:43 +01:00
Victor Brekenfeld ccec794af7 desktop: `draw_layer` -> `draw_layer_surface` 2022-01-07 19:48:43 +01:00
Victor Brekenfeld a779e6b5c0 docs: Always referr to layer surfaces as such 2022-01-07 19:48:43 +01:00