slint/internal/backends/linuxkms
Simon Hausmann 2b2afaf7d8 Work around gbm display not working on Vivante gbm drivers
gbm.rs' lock_front_buffer calls has_free_buffers before calling the underling C lock_front_buffer function on the gbm surface. This has_free_buffers() check succeeds the first time but always fails after that.

However apart from this check, everything else appears to be working perfectly fine. Projects like weston, ksmcube, Qt, or mutter don't do this check beforehand either, so this patch works around gbm.rs by skipping this.

Unfortunately this requires going to gbm-sys directly and implementing the drm traits that require calling the various gbm_bo_get_* functions to retrieve the buffer details for posting to DRM.
2024-02-29 15:18:14 +01:00
..
calloop_backend linuxkms: decouple event loop from window adapter (#4144) 2023-12-12 13:06:36 +01:00
display Work around gbm display not working on Vivante gbm drivers 2024-02-29 15:18:14 +01:00
LICENSES Update license symlinks 2023-08-16 11:46:15 +02:00
renderer Minor cleanup 2024-01-08 09:56:14 +01:00
calloop_backend.rs LinuxKMS: Fix animations using the wrong start time when invoked from invoke_from_event_loop 2024-01-15 18:30:49 +01:00
Cargo.toml Work around gbm display not working on Vivante gbm drivers 2024-02-29 15:18:14 +01:00
display.rs Align rotation between software renderer and LinuxKMS backend 2024-02-07 11:21:59 +01:00
drmoutput.rs LinuxKMS: Tweak the output shown after SLINT_{DRM,VULKAN}_{MODE,OUTPUT,DISPLAY}=list to mention the environment variable in question 2024-01-12 17:32:56 +01:00
fullscreenwindowadapter.rs LinuxKMS: Not only print the name of the renderer, also print the resolution 2024-01-12 16:07:29 +01:00
lib.rs Fix linuxkms compilation and warnings when no features are enabled 2024-01-26 13:47:14 +01:00
mouse-pointer.svg Fix reuse compliance check 2024-01-18 15:11:43 +01:00
noop_backend.rs Add basic support for libseat 2023-07-28 13:40:37 +02:00
README.md Janitor: linuxkms: slint-ui.com -> slint.dev 2023-10-11 08:28:31 +02:00

NOTE: This library is an internal crate of the Slint project. This crate should not be used directly by applications using Slint. You should use the slint crate instead.

WARNING: This crate does not follow the semver convention for versioning and can only be used with version = "=x.y.z" in Cargo.toml.