Commit Graph

1302 Commits

Author SHA1 Message Date
Christian Meissl 070dc78c11 add the keyboardgrab and rename GrabStartData
to PointerGrabStartData
2022-01-16 20:19:49 +01:00
Christian Meissl 8edcdf5cd0 add a window surface type 2022-01-16 20:19:49 +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 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
Victoria Brekenfeld 75c84796f6
space: documentation fixes
Co-authored-by: Victor Berger <vberger@users.noreply.github.com>
2022-01-06 00:26:14 +01:00
Victor Brekenfeld 811421cd19 ci: add new desktop feature to matrix 2022-01-05 22:08:16 +01:00
Victor Brekenfeld 66eb0562df wlcs_anvil: Update to new api 2022-01-05 22:08:16 +01:00
Victor Brekenfeld 165e889473 minimal-versions: Bumb thiserror 2022-01-05 21:59:14 +01:00
Victor Brekenfeld 36d910056c anvil: Update to new apis 2022-01-05 21:44:58 +01:00
Victor Brekenfeld fafbf300dc desktop: Add missing cfg directives 2022-01-05 21:44:58 +01:00
Victor Brekenfeld 58f20fb6c7 space: Make `RenderError` require Debug 2022-01-05 21:26:44 +01:00
Victor Brekenfeld 8059bdc5db desktop: docs 2022-01-05 20:48:07 +01:00
Victor Brekenfeld 8e34865acc space: Let downstream `RenderElements` hash `(&Space, &Output)` 2022-01-05 20:46:59 +01:00
Victor Brekenfeld a5f3c5c5d2 clippy fixes 2022-01-05 13:03:55 +01:00
Victor Brekenfeld d69d15630e space: make render error check more readable 2022-01-04 19:06:47 +01:00
Victor Brekenfeld 26e1576f87 space: make window activation optional 2022-01-04 19:06:47 +01:00
Victor Brekenfeld 537b34fe0b cleanup: imports 2022-01-04 19:06:47 +01:00
Victor Brekenfeld 3674daf083 utils: Add macro for global ids 2022-01-04 19:06:47 +01:00
Victor Brekenfeld 61b19e4198 renderer: fixup damage calculations for smaller buffer sizes 2022-01-04 18:06:00 +01:00
Victor Brekenfeld 5b6700c151 desktop: fix popup placement 2022-01-04 15:11:21 +01:00
Victor Brekenfeld 171456c7ba gbm: Support resetting buffers 2022-01-04 12:50:40 +01:00
Victor Brekenfeld 08ac5ba6d1 desktop: Make window damage public 2022-01-04 12:50:40 +01:00
Victor Brekenfeld ab21df1943 space: Return new damage on render 2022-01-04 12:50:40 +01:00
Victor Brekenfeld 7ae79fcba5 winit: Support damage-tracking 2022-01-04 12:50:40 +01:00
Victor Brekenfeld f423244864 egl: Optionally support buffer age and damage 2022-01-04 12:50:39 +01:00
Victor Brekenfeld 3530ac7335 egl: stop egl spamming nclassified messages 2022-01-04 12:50:39 +01:00
Victor Brekenfeld 359c060e0f space: apply transform for output_geometry 2022-01-04 12:50:39 +01:00
Victor Brekenfeld 64c535464a swapchain: Keep buffers on reset and wipe metadata
We make no guarantees about the buffer contents after a fresh allocation
in smithay anyway, so to avoid expensive recreation of a bunch of
resources, try to keep the buffers on reset and just wipe all its
metadata (most importantly the age).
2022-01-04 12:50:39 +01:00