Commit graph

176 commits

Author SHA1 Message Date
Victoria Brekenfeld
8b6ae7e136 Use wayland-rs 0.30 2022-06-12 21:00:26 +00:00
i509VCB
728dcbdae6 move smallvil to new crate 2022-06-12 20:50:51 +00:00
i509VCB
1da01a9304 reenable bind_wl_display
also upgrade to beta.2
2022-06-12 20:50:15 +00:00
i509VCB
dc430a181d smithay: upgrade to 0.30-beta.1 2022-06-12 20:50:13 +00:00
Poly
273fcd9444 Init smallvil 2022-06-12 20:47:19 +00:00
i509VCB
ce681f4ab4 WIP 0.30: dmabuf 2022-06-12 20:19:14 +00:00
i509VCB
8bef81412b 0.30: update to alpha9 2022-06-12 20:19:14 +00:00
i509VCB
1a8a42d83c 0.30: update to alpha8 2022-06-12 20:12:07 +00:00
i509VCB
f796850e49 specify required features for examples 2022-06-12 20:12:07 +00:00
i509VCB
1ffff4a571 EGLSurface should not require Sync
The Sync requirement is no longer needed since an EGLSurface may only be bound on one thread at a time.
2022-06-12 20:12:07 +00:00
Victor Berger
c5c0f91210 Update wayland-rs to 0.30.0-alpha5 2022-06-12 20:11:22 +00:00
Victor Berger
fb7a65ea68 compositor: pre/post_commit and destruction hooks 2022-06-12 20:09:15 +00:00
Poly
d6a4129366 Initial 0.30 port
This used to be more commits, but was squashed down

Port the compositor module

Use new compositor module inside of Seat module

Shm module ported

Reenable EGL in backend module.

Minimal winit example

Use Rc for Display in examples

Add GlobalId getters

Cleanup SHM

Remove unused imports in shm

Horrific solution for buffer release inside of comp

Fix display
deadlock

Bring alive checking to comp module

Remove unused

Partial XDG Shell impl

Simple XDG + SHM

XDG Positioner and Popup

Split XDG to modules

Explicit User Data init

TEMP: Comment out desktop related calls

Temporary build fix

Update dbus

Update wayland-rs

Make clippy happy

make keyboard::is_focused into a todo

For DisplayHandle: s/cx/dh/
2022-06-12 20:08:04 +00:00
i509VCB
284dc72725
update calloop to 0.10 2022-05-07 21:47:15 -05:00
Victoria Brekenfeld
882c9bfcc2 cargo: Add new renderer_multi feature 2022-03-14 16:13:22 +01:00
Ashley Wulber
fc011477fd feat: generate feature hints in docs 2022-02-18 12:32:29 -05:00
Victoria Brekenfeld
ac265a3d68 deps: Update drm-rs and gbm-rs 2022-01-26 20:30:06 +01:00
Victor Berger
dca52a9f1d update winit dependency 2022-01-07 21:00:26 +01:00
Victor Brekenfeld
165e889473 minimal-versions: Bumb thiserror 2022-01-05 21:59:14 +01:00
Victor Brekenfeld
98906555f5 desktop: Add new desktop abstractions module
Adds a new `Window` and `Space` abstraction to make it easier
to handle windows of various shells and their positions in a
compositor space.
2022-01-04 12:50:39 +01:00
Victoria Brekenfeld
6b3a00fc06
Merge pull request #420 from i509VCB/x11/egl-drm
Rework X11 backend to use EGL for finding gbm device and associated commits
2021-11-26 13:43:49 +01:00
Victor Brekenfeld
9584219ffa swapchain: Use UserDataMap instead of generic parameter 2021-11-24 18:57:49 +01:00
Victor Brekenfeld
42b646a152 x11: Initialize via egl instead of dri3 if possible 2021-11-24 18:11:26 +01:00
i509VCB
e4891b0c9e
egl: Introduce EGLDevice
More specifically, this introduces a way to query the available EGL devices on a system, `EGLDevices::enumerate`.
Also this introduces a way to get the `EGLDevice` used by an `EGLDisplay`, `EGLDevice::device_for_display`

Co-authored-by: Drakulix <github@drakulix.de>
2021-11-23 10:52:02 -06:00
Victor Brekenfeld
3dde8d70ef Update to input-rs 0.7 2021-10-23 22:49:32 +02:00
i509VCB
2e68cfda5a X11 backend 2021-10-17 13:46:15 -05:00
i509VCB
c8d56f1cf3 Move X11Source to smithay underx11rb_event_source feature 2021-10-17 13:46:07 -05:00
i509VCB
4d93805814 Add DrmNode to backend::drm. 2021-10-17 13:46:07 -05:00
Poly
8967a7eb1c Make libloading optional 2021-08-31 10:33:23 +02:00
Poly
f24332f4b4 wayland.xdg-activation: Initial implementaion 2021-07-31 21:16:39 +02:00
i509VCB
23a8af399d xdg-foreign
This is very much incomplete, but it implements the import and export of surfaces. However functions related to setting and imported surface the parent of another surface is not done.

importer destructor destroys all imports made from the same client 


Implement SetParentOf, no undoing yet


Add inner import type


Destroy child surface relationships when importing


A note


move init function upwards


use 0.29.0 crate


Move role string constants into the public


Use toplevel_like for surface checks in foreign


add methods to get the parent surface


Make sure ZXDG roles are public api


Consistent ordering of parameters on xdg_foreign impl methods


Let's update the changelog


Document how to use xdg_foreign


wl_shell_surface is likely invalid, so it cannot be imported or exported


Changelog suggestions


remove redundant inner ref cell


Remove all uses of the refcell like behavior


Allow compositor to export surfaces on server



Appease new clippy lints


then


Use string references and iterate in reverse to simplify removals


heed request for order
2021-07-31 11:40:24 +02:00
Victor Berger
963f742e74 Rework CI flow 2021-07-30 19:29:05 +02:00
Victor Berger
46209cfb38
v0.3.0 2021-07-25 11:46:06 +02:00
Victor Berger
07deba4c1b Documentation fixes in preparation for release 2021-07-25 11:19:09 +02:00
Victor Berger
bdb257474d Main structure of WLCS integration. 2021-07-25 09:39:49 +02:00
Victor Berger
782b21f363 Update dependencies 2021-07-25 09:09:12 +02:00
Victor Brekenfeld
56f5557f8c anvil: Move import_bitmap into anvil 2021-07-13 23:21:08 +02:00
Victor Berger
cb92938587 Update input dependency 2021-07-13 14:23:21 +02:00
Poly
1c9e3fe903 input: Add tablet events 2021-07-05 22:36:32 +02:00
Victor Berger
b1b025992f Update calloop to 0.9 2021-07-05 21:40:50 +02:00
Poly
7114111ba5 Add backend_session feature to backend_session_libseat 2021-07-01 23:51:50 +02:00
Victor Berger
ad55ab71c9 compositor: Introduce transaction state tracking
This changes the state handling logic of wl_surface to automatically
track subsurface pending in the form of transactions. The role enum
(and the associated type parameter) is no more, and replaced by a
general-purpose typemap-like container on surfaces.

The new logic is introduced in the files:

- `src/wayland/compositor/cache.rs`
- `src/wayland/compositor/transaction.rs`

The rest of the PR is the fallout of these changes, as well as a few
trivial clippy fixes.
2021-06-26 21:52:38 +02:00
Poly
f9f77288c8
libseat support (#292) 2021-06-15 23:35:16 +02:00
Victor Berger
41c7b22cc4 doc: fix ci upload & broken links 2021-06-11 17:46:32 +02:00
Victor Brekenfeld
969cdda85c renderer: Split Renderer trait into Import sub-traits 2021-06-08 21:47:05 +02:00
Victor Berger
4bf6bfa08d anvil: reorganize platform-specific values 2021-06-03 11:45:22 +02:00
Victor Berger
aaa6e625e9 Update to calloop 0.8, DrmDevice as an EventSource 2021-06-03 11:45:22 +02:00
Christian Meissl
3b387e52c7 disable default features in scan_fmt...
...removes regex dependency
2021-05-15 20:45:50 +02:00
Christian Meissl
3ceff8ec67 check for gl version in gles renderer...
...in case the version is greater or equal 3.0 the
check for GL_EXT_unpack_subimage is not needed
2021-05-15 20:41:44 +02:00
Victor Brekenfeld
e490116d9a Use newer drm-fourcc version 2021-05-15 16:12:12 +02:00