aboutsummaryrefslogtreecommitdiff
path: root/src/backend
AgeCommit message (Collapse)Author
2024-04-15Add vrr_supported/enabled to output IPCIvan Molodetskikh
2024-04-14Add variable-refresh-rate flagIvan Molodetskikh
2024-04-14tty: Shorten non-desktop checkIvan Molodetskikh
2024-04-13Implement window resize animationsIvan Molodetskikh
2024-04-09Update SmithayIvan Molodetskikh
2024-04-01Fix and add missing calls to DRM leasingIvan Molodetskikh
2024-03-29tty: Try to proceed when can't get render nodeIvan Molodetskikh
This is a workaround that should make split display/render devices work.
2024-03-28tty: Add check for zero gamma sizeIvan Molodetskikh
2024-03-27Add logical output info and preferred modes to IPCIvan Molodetskikh
2024-03-27Expose more info in DisplayConfig implIvan Molodetskikh
Needed for the new xdp-gnome.
2024-03-27Make ipc_outputs Arc MutexIvan Molodetskikh
2024-03-24Implement block-out-from window rule, fix alpha on window screenshotsIvan Molodetskikh
2024-03-23Lift output clones from queue_redraw()Ivan Molodetskikh
2024-03-23Don't use an idle for queued redraw trackingIvan Molodetskikh
This way we can order the redraw after all the refreshing, where it should be.
2024-03-19tty: Generalize DRM property helpersIvan Molodetskikh
2024-03-15Restore gamma on TTY switch backIvan Molodetskikh
2024-03-15Store gamma changes to apply on session resumeIvan Molodetskikh
2024-03-15Implement gamma adjustment via GAMMA_LUT propertyIvan Molodetskikh
2024-03-15gamma-control: Misc. clean ups and fixesIvan Molodetskikh
2024-03-15Adds support for wlr_gamma_control_unstable_v1 protocolphuhl
2024-03-14tty: Make binding EGL wl-display optionalIvan Molodetskikh
2024-03-13tty: Set max bpc to 8Ivan Molodetskikh
2024-03-08Pass through subpixel layoutIvan Molodetskikh
2024-03-03Catch panics from edid-rsIvan Molodetskikh
Work around an integer overflow. See: https://github.com/YaLTeR/niri/issues/239
2024-03-02Disentangle frame callback sequence from real DRM sequenceIvan Molodetskikh
It can currently happen that the estimated VBlank timer fires right before a real VBlank, which can cause some sequence collisions, which might cause frame callbacks to never be sent. To prevent this, just track the frame callback sequence fully separately. There isn't really any harm in this, and if we accidentally increment it more frequently than necessary then nothing terrible will happen.
2024-03-01tty: Bump sequence on successful queue_frame()Ivan Molodetskikh
Before this commit: - niri queues frame - successful VBlank happens, sequence is bumped, frame callbacks are sent - niri receives commit, redraws, queues next frame, tries to send frame callbacks, but there wasn't a new VBlank yet, so the sequence is old, and frame callbacks aren't sent - frame callbacks are sent only next VBlank
2024-03-01tty: Avoid zero estimated vblank timerIvan Molodetskikh
2024-03-01Fix presentation feedback panic with zero presentation timeIvan Molodetskikh
2024-03-01Add emulate-zero-presentation-time debug flagIvan Molodetskikh
2024-02-21Implement gradient bordersIvan Molodetskikh
2024-02-21Change non-bug error! to warn!Ivan Molodetskikh
Be consistent with our usage.
2024-02-21Fix debug tint desync for new outputsIvan Molodetskikh
2024-02-18Update for Smithay MultiGpu shadow copiesIvan Molodetskikh
2024-02-14tty: Filter out interlaced modesIvan Molodetskikh
They don't seem to work. wlroots also filters them: https://gitlab.freedesktop.org/wlroots/wlroots/-/blob/feb54979c0940655e36119c63e18a9ee72cc03b0/backend/drm/drm.c#L1461
2024-02-14tty: Truncate Edid strings to nulIvan Molodetskikh
Otherwise they crash in wayland-rs when converting to CString.
2024-02-12Implement DRM leasingShawn Wallace
Closes #178
2024-02-12tty: Activate monitors on session resumeIvan Molodetskikh
2024-02-12tty: Notify idle activity on session resumeIvan Molodetskikh
2024-02-10Remove logind-zbus dependencyIvan Molodetskikh
It isn't updated and we don't really need it anyway.
2024-02-06Split render_helpers.rsIvan Molodetskikh
2024-02-05Fix Clippy warningsIvan Molodetskikh
2024-02-05Add lib.rs, become a mixed lib-bin crateIvan Molodetskikh
Will be used for visual tests.
2024-02-01Add error messages to backend initializationIvan Molodetskikh
2024-01-31Hardcode winit transform for nowIvan Molodetskikh
2024-01-30tty: reset surface state after changing monitor stateChristian Meissl
changing the "ACTIVE" property of a surface requires to re-evaluate the surface state.
2024-01-28winit: Don't remove output on CloseRequestedIvan Molodetskikh
More winit events can process after CloseRequested, which will cause a panic if trying to access the now-removed output.
2024-01-25Remove hack for fixed EGLDisplay issueChristian Meissl
2024-01-25Update smithayChristian Meissl
2024-01-23screencast: Emit MonitorsChangedIvan Molodetskikh
2024-01-22Update Smithay, use device changed session resume codeIvan Molodetskikh
Should fix most cases of monitors failing to light up after a TTY switch.