Victor Brekenfeld
d6e7fb591e
direct: fix udev feature name
2018-11-29 19:41:17 +01:00
Victor Brekenfeld
e7575d08b8
gbm: fix calling lock_front_buffer without eglSwapBuffers
2018-11-29 19:41:17 +01:00
Victor Brekenfeld
8824e49b82
build: finally fix all features naming
2018-11-29 19:41:17 +01:00
Victor Brekenfeld
9a82de6fae
graphics: Move PixelFormat out of gl module
2018-11-29 19:41:17 +01:00
Victor Brekenfeld
079ad953a4
build: fix wrongly named feature
2018-11-29 19:41:17 +01:00
Victor Brekenfeld
7e3217f96d
lib: fix feature names for crate imports
2018-11-29 19:41:17 +01:00
Victor Brekenfeld
d07c66985f
gbm: CursorBackend depends on backend_drm_legacy
2018-11-29 19:41:17 +01:00
Victor Brekenfeld
59e0ad87f9
gbm: do not expose egl support, if backend_egl is not enabled
2018-11-29 19:41:17 +01:00
Victor Brekenfeld
cea123cd0b
backend_winit: depends on renderer_gl
2018-11-29 19:41:17 +01:00
Victor Brekenfeld
10e74e2948
build: fix build without gl-features
2018-11-29 19:41:17 +01:00
Victor Brekenfeld
9428853ad6
anvil: fix for drm backend changes
2018-11-29 19:41:15 +01:00
Victor Brekenfeld
db495ce4dc
Add backend_session to default, as it is not implied by backend_udev anymore
2018-11-29 16:13:07 +01:00
Victor Brekenfeld
91e237f697
anvil: remove raw_tty backend
2018-11-29 16:13:07 +01:00
Victor Brekenfeld
de526f4b23
drm: Add functions to query device state
2018-11-29 16:13:07 +01:00
Victor Brekenfeld
2675cf94dc
egl_surface: fix CursorBackend implementation
2018-11-29 16:13:07 +01:00
Victor Brekenfeld
f17e37465b
drm: Remove associated Return type from Device
2018-11-29 16:13:07 +01:00
Victor Brekenfeld
f8499e533a
libinput: fix warning when not building backend_session
2018-11-29 16:13:07 +01:00
Victor Brekenfeld
9e5dad4c23
session: export OFlag
2018-11-29 16:13:07 +01:00
Victor Brekenfeld
f74af7ba18
udev: use same order for bind arguments
2018-11-29 16:13:07 +01:00
Victor Brekenfeld
e92044d213
Change travis to test new features
2018-11-29 16:13:07 +01:00
Victor Brekenfeld
9ee44672a0
cargo fmt
2018-11-29 16:13:07 +01:00
Victor Brekenfeld
bd5690bd77
Refactor drm backend
...
- Split `DrmDevice` into `LegacyDrmDevice`, `GbmDevice` and `EglDevice`
- Provide common `Device` and `RawDevice` traits
- Change `DrmBackend` into `Surface` (and `RawSurface`) implementations of each `Device` (or `RawDevice`)
2018-11-29 16:13:07 +01:00
Victor Brekenfeld
b537237a74
Refactor udev backend
...
- Do not open devices for `UdevHandler` anymore
- `UdevBackend` does not require `LoopHandle` or `Session` anymore
- Type of the created device can be choosed freely by the handler
- `UdevBackendObserver` is not needed anymore
2018-11-29 16:13:07 +01:00
Victor Brekenfeld
505791e336
Upgrade backends to calloop 0.4 and renamed gl-traits
2018-11-29 16:13:05 +01:00
Victor Brekenfeld
38ec44f70c
Hide SoftwareRenderer behind feature flag
...
- Don't let backend depend on `CursorBackend` (used to be `GraphicsBackend`) anymore
2018-11-29 16:12:11 +01:00
Victor Brekenfeld
ccc7abc94f
Create general SwapBuffersError
2018-11-29 16:12:11 +01:00
Victor Brekenfeld
bbf28655d1
Rename GraphicsBackend to CursorBackend
2018-11-29 16:12:11 +01:00
Victor Brekenfeld
09e589b23c
Generate (e)gl_bindings based on feature set
2018-11-29 16:12:11 +01:00
Victor Brekenfeld
ac0dc42e9e
Add seperate GL module
...
- Move parts of glium & egl module into own module
- Add raw GL loader as an alternative
2018-11-29 16:12:11 +01:00
Victor Brekenfeld
c9e67cdfef
Move egl module
...
- Remove gbm code
- rename EGLWaylandExtensions to EGLGraphicsBackend
- remove OpenGL specific code where possible
2018-11-29 16:12:11 +01:00
Victor Brekenfeld
96a57fcc5d
Merge pull request #118 from Smithay/fix/shell_leak
...
wayland.shell: Fix a leak of surfaces
2018-11-29 14:40:13 +01:00
Victor Berger
f80151d691
travis: increase ubuntu image version
2018-11-29 13:36:06 +01:00
Victor Berger
5c8e362a9e
wayland.shell: Fix a leak of surfaces
2018-11-28 23:34:30 +01:00
Victor Berger
6d83dff0ee
Merge pull request #115 from Smithay/data_device
...
Data device implementation
2018-11-23 16:11:08 +01:00
Victor Berger
ed00fb1d47
data_device: move default_action_chooser into smithay
2018-11-22 15:37:31 +01:00
Victor Berger
cc80233318
data_device: module-level docs
2018-11-22 15:02:01 +01:00
Victor Berger
41f1b37834
data_device: let the compositor generate DnD grabs
2018-11-22 00:29:23 +01:00
Victor Berger
d41517f85b
data_device: let the compositor interact with the selection
2018-11-21 22:24:18 +01:00
Victor Berger
35645596a8
data_device: let the compositor decide the action choice strategy
2018-11-21 16:01:34 +01:00
Victor Berger
81956c8fd0
data_device: basic DnD support
2018-11-21 15:28:41 +01:00
Victor Berger
3e28358668
seat: track pressed buttons for the grab
2018-11-20 23:27:12 +01:00
Victor Berger
0434cbb90d
data_device: basic selection support
2018-11-20 11:56:04 +01:00
Victor Berger
f1251a31e6
seat: user data mechanism for Seat
2018-11-18 23:04:50 +01:00
Victor Berger
5e9ad96b0f
seat: add a keyboard focus hook
2018-11-18 23:04:30 +01:00
Victor Berger
afd92d0a3d
seat: add utilities to Seat
2018-11-17 23:10:48 +01:00
Victor Berger
03cf6ed35f
seat: KeyboardHandle::has_focus
2018-11-17 19:08:47 +01:00
Pablo Stebler
630b659ae6
Upgrade calloop and winit ( #114 )
...
* Fix compilation with calloop 0.4
* Use `Into` instead of changing signatures
* Bump winit to 0.18
* Fix logind for calloop 0.4
* Cargo fmt
2018-11-17 18:01:04 +01:00
Colin Benner
734d2ce996
Fmt, spelling and capitalisation fixes ( #113 )
...
* Rename priviledged to privileged in backend/drm/mod.rs
* Fix a number of typos in comments
* Fix typos in string literals
* Wrap identifiers with backticks in doc comments
* Spelling and capitalisation in doc comments
* Use XWayland in comments
This seems to be the standard capitalisation, even though the executable
is called `Xwayland`.
* Use Glium instead of glium in comments
* Use DRM and API in comments
* Fix remaining occurrence of 'priviledged'
* Reformat code to appease Travis' rustfmt
2018-10-30 13:56:30 +01:00
Tim
214759aecf
Typo
2018-10-18 10:55:21 +01:00
Victor Berger
9f0a1fb244
backend.winit: remove the moved() event
...
This event poses issues regarding its semantic (what space are the
coordinates in?) and arguably won't be used anyway. So let's remove it
for now, it can still be added afterwards if it appears to be really
needed.
2018-10-15 11:15:10 +02:00