aboutsummaryrefslogtreecommitdiff
path: root/src/backend
AgeCommit message (Collapse)Author
2024-09-01Change IdCounter to be backed by an AtomicU64Ivan Molodetskikh
Let's see if anyone complains.
2024-09-01Change OutputId::get() to return u64Ivan Molodetskikh
2024-08-23tty: Wait for sync on needs_sync()Ivan Molodetskikh
How did I never add this back?
2024-08-22feature: add on-demand vrr (#586)Michael Yang
* feature: add on-demand vrr * Don't require connector::Info in try_to_set_vrr * Improve VRR help message * Rename connector_handle => connector * Fix tracy span name * Move on demand vrr flag set higher * wiki: Mention on-demand VRR --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2024-07-27tty: Add check for vblank on idleIvan Molodetskikh
2024-07-27Upgrade dependenciesIvan Molodetskikh
2024-07-09Restore VRR on TTY switchIvan Molodetskikh
2024-07-08bump smithayChristian Meissl
2024-07-05Put Outputs config into a dedicated structIvan Molodetskikh
2024-07-05Add output ID trackingIvan Molodetskikh
2024-07-02Keep monitors powered off upon connecting a new one (#488)it-a-me
* Keep monitors powered off upon connecting a new one Update src/backend/tty.rs Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com> Update src/backend/tty.rs Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com> fix tests * Update --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2024-06-21Update dependenciesIvan Molodetskikh
2024-05-15Implement custom shader for window-openIvan Molodetskikh
2024-05-15tty: Relax device checks on removalIvan Molodetskikh
2024-05-15tty: Try harder to find a GBM deviceIvan Molodetskikh
2024-05-14tty: Relax primary render node checkIvan Molodetskikh
2024-05-12Implement custom shader for window-close animIvan Molodetskikh
2024-05-05Make output name matching case-insensitiveIvan Molodetskikh
2024-05-05Implement niri msg outputIvan Molodetskikh
2024-05-03shader_element: Store program type instead of shaderIvan Molodetskikh
2024-05-03Add a semi-working debug-toggle-damage bindingIvan Molodetskikh
2024-04-25Add disable-direct-scanout debug flagIvan Molodetskikh
2024-04-24Filter out the Intel CCS modifiersIvan Molodetskikh
2024-04-21Implement window-resize custom-shaderIvan Molodetskikh
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