Victor Brekenfeld
0c19a461b6
anvil: use fallback-device for gbm/nvidia
2020-05-23 00:29:32 +02:00
Victor Brekenfeld
38d3db565a
anvil: do not double initialize surfaces with multiple matching encoders
2020-05-23 00:29:32 +02:00
Victor Brekenfeld
64a57a4cc8
downgrade some recoverable errors to warnings
2020-05-12 20:03:03 +02:00
Victor Brekenfeld
f1c40f7306
lint: fmt & clippy
2020-05-12 20:03:03 +02:00
Victor Brekenfeld
7518f8c0f7
anvil: retry initial renderings
2020-05-12 19:47:10 +02:00
Victor Berger
b708f88da6
anvil: Fuse InputHandler into AnvilState
2020-05-12 08:46:34 +02:00
Victor Berger
8f543eb597
backend.input: rework libinput as a calloop source
2020-05-12 08:46:34 +02:00
Victor Berger
5552c81a32
anvil: Introduce InputInitData to simplify function prototypes
2020-05-02 13:27:35 +02:00
Victor Berger
35d8cea547
anvil: Introduce RenderTextureSpec to simplify render_texture
2020-05-02 13:27:35 +02:00
Victor Berger
64aedce01f
anvil: Introduce ShellHandle type to simply return values
2020-05-02 13:27:35 +02:00
Victor Berger
743a80c004
anvil: remove unused imports
2020-05-02 13:27:35 +02:00
Victor Brekenfeld
28166ce002
Merge pull request #206 from Smithay/fix/drm_connector
...
Fix drm mode and connector handling
2020-05-01 16:46:36 +02:00
Victor Brekenfeld
9300e35093
lint: fmt
2020-04-30 19:03:02 +02:00
Victor Brekenfeld
31b6d84442
WIP: Rework egl and glium errors
2020-04-30 00:24:35 +02:00
Victor Berger
31f1f4f9e0
backend.udev: rework as an event source
2020-04-28 11:13:25 +02:00
Victor Berger
104774eeb0
Minor clippy fixed
2020-04-28 11:13:25 +02:00
Victor Berger
b3aae074e4
Update calloop to 0.6
2020-04-28 11:13:25 +02:00
Victor Berger
eddbe3c708
Update wayland-rs to 0.26
2020-04-28 11:13:25 +02:00
Victor Berger
d2e77dca31
Alphabetically sort dependencies
2020-04-28 11:13:25 +02:00
Victor Brekenfeld
d6fa2e96cf
drm: Require all surfaces to always have a mode set
2020-04-27 00:45:58 +02:00
Victor Brekenfeld
a4203bd216
examples/anvil: add disable_connectors for device creation
2020-04-27 00:45:58 +02:00
Victor Berger
d48c04fd7b
anvil: Implement subsurface state caching
2020-04-22 12:12:57 +02:00
Victor Berger
315797ff43
anvil: bulk-send frame events after each page flip
2020-04-22 12:12:57 +02:00
Victor Berger
59f7167702
anvil: move common logic into AnvilState
2020-04-22 12:12:57 +02:00
Victor Berger
cd6e148143
anvil: restore correct dispatching of wayland clients
2020-04-22 12:12:57 +02:00
Victor Berger
548a929d1c
wayland.compositor: Correct frame callback handling
2020-04-22 12:12:57 +02:00
Victor Berger
1736db27b4
anvil: set saner values for key repeat rate
2020-04-21 23:04:23 +02:00
Victor Brekenfeld
24a51f721d
anvil: use fallback-device for atomic/legacy
2020-04-21 20:18:35 +02:00
Victor Brekenfeld
d30bd4555e
anvil: use atomic modesetting
2020-04-21 20:18:34 +02:00
Victor Brekenfeld
8ba33f2473
anvil: Report errors of failed device initializations
2020-04-21 20:18:34 +02:00
Victor Berger
61fecb44cf
anvil: disable clippy lint for glium macros
2020-04-21 15:00:00 +02:00
Victor Brekenfeld
bcb2aa3864
Fix egl_to_texture check
2020-04-18 15:03:20 +02:00
Chandler Newman
f7c05fa064
Rename WaylandEGLDisplay to EGLBufferReader
2020-04-15 21:19:20 +01:00
Chandler Newman
a684f5d8d6
Refactor EGL backend
2020-04-15 12:01:01 +01:00
Victor Berger
8ab34f0081
Update dependencies.
2020-04-15 11:24:50 +02:00
Victor Berger
b54d95c15d
Fix most clippy warnings ( #185 )
...
* Add missing documentation
* Fix most clippy warnings
2020-04-15 09:28:22 +02:00
Victor Brekenfeld
b43c0db115
Update to udev 0.4
2020-04-13 17:07:08 +02:00
Victor Brekenfeld
2b5c0448eb
anvil: Fix udev build without egl
2020-04-11 13:47:01 +02:00
Victor Brekenfeld
f6b3d630ce
rustfmt
2020-04-10 19:18:58 +02:00
Victor Brekenfeld
e8e8667d89
Upgrade to the upcoming drm-rs 0.4
2020-04-10 16:58:49 +02:00
Victor Berger
1b5537d537
Restore logind as a default feature
2020-04-05 20:03:09 +02:00
Jonas Platte
b8c20ebf30
Update wayland-rs to 0.25 ( #171 )
...
Update wayland-rs to 0.25 and calloop to 0.5
Co-authored-by: Victor Berger <victor.berger@m4x.org>
2020-04-05 19:01:08 +02:00
Victor Berger
a60e1cd7fd
Merge pull request #156 from YaLTeR/resize
...
anvil: implement the Resize request
2020-02-12 22:57:32 +01:00
Ivan Molodetskikh
e1396d2e1a
anvil.shell: add our own ResizeEdge
...
It mirrors the one in wl_shell_surface and lets us not depend on it.
2020-02-11 11:06:36 +03:00
Ivan Molodetskikh
c0d0d0d2b8
anvil.shell: respect min and max size in resize
2020-02-08 18:36:09 +03:00
Ivan Molodetskikh
e76f9f14ed
anvil.shell: store min_size and max_size
2020-02-08 13:51:12 +03:00
Ivan Molodetskikh
adbab32bd8
anvil.shell: update location on top-left resizing
2020-02-08 13:51:11 +03:00
Ivan Molodetskikh
60ca2f9c88
anvil.shell: don't send first configure to WlShell
...
It doesn't need it, and it also takes the (0, 0) size literally, which
makes everything try to be the smallest size possible initially.
2020-02-08 09:53:50 +03:00
Ivan Molodetskikh
09d7f597d4
anvil.shell: refresh toplevels on commit
...
This updates the toplevel state in the WindowMap as soon as it's
committed. It will be used to update the toplevel location on top-left
resize, but this is a better approach in general than the current
update-every-drawn-frame. I think we should update the WindowMap state
as soon as possible, and only when necessary.
2020-02-08 08:47:14 +03:00
Ivan Molodetskikh
ab45cdecdc
anvil.window_map: add refresh_toplevel
2020-02-08 08:47:14 +03:00