aboutsummaryrefslogtreecommitdiff
path: root/src/backend
AgeCommit message (Collapse)Author
2024-01-03Implement multi-GPU supportIvan Molodetskikh
Rendering always happens on the primary GPU.
2024-01-03Make rendering generic over rendererIvan Molodetskikh
2024-01-03Replace renderer() with with_primary_renderer()Ivan Molodetskikh
2024-01-03Rename RenderResult::Error to SkippedIvan Molodetskikh
2024-01-03Move Niri::render() invocation to backendsIvan Molodetskikh
2024-01-03Move import_dmabuf to backendsIvan Molodetskikh
2024-01-03Add disable-cursor-plane debug flagIvan Molodetskikh
2024-01-03tty: Extract config variableIvan Molodetskikh
2024-01-01tty: Don't store render formatsIvan Molodetskikh
Actually, how did it even fork before? Pretty sure it was storing render formats, not texture formats, but with render formats weston-simple-dmabuf-feedback doesn't work?
2024-01-01tty: Disable dmabuf global before destroyingIvan Molodetskikh
2024-01-01tty: Move dmabuf_global up into TtyIvan Molodetskikh
2024-01-01tty: Fix import sortingIvan Molodetskikh
One of the imports was too long so rustfmt bailed.
2023-12-31Move DmabufState to NiriIvan Molodetskikh
2023-12-31Enable EGL for the winit backendIvan Molodetskikh
More relevant now that mesa on Fedora is trying to force non-working Zink for some reason.
2023-12-18Add a config flag to disable an outputIvan Molodetskikh
2023-11-24tty: Fix clippy warningIvan Molodetskikh
2023-11-24tty: Rename vblank offset plot to time since presentationIvan Molodetskikh
Makes it clearer what this is.
2023-11-24tty: Rename presentation target offset plot to mispredictionIvan Molodetskikh
Makes it clearer what this is.
2023-10-29Add support for wl_compositor@v6Kirill Chibisov
2023-10-29Draw background with a solid color bufferIvan Molodetskikh
2023-10-27Drop `GbmDevice` in the endKirill Chibisov
The `GbmDevice` must be destroyed after destroying all the objects associated with it.
2023-10-24Update smithay to the latest gitKirill Chibisov
This fixes IME handling.
2023-10-24Update SmithayIvan Molodetskikh
2023-10-13Make clear color a constIvan Molodetskikh
The damage tracker doesn't understand clear color changes.
2023-10-13Return RenderResult from render()Ivan Molodetskikh
2023-10-13Send dmabuf feedbacks from the backendIvan Molodetskikh
2023-10-13Extract niri.clear_color()Ivan Molodetskikh
2023-10-11tty: Start new tracy frame only when queueing redrawIvan Molodetskikh
2023-10-10Make zbus optional under "dbus" featureIvan Molodetskikh
2023-10-09Add power-off-monitors bindIvan Molodetskikh
Implements https://github.com/YaLTeR/niri/issues/24
2023-10-03Make output modes configurableIvan Molodetskikh
2023-10-02tty: Remove assert on needs_syncIvan Molodetskikh
cosmic-comp doesn't do anything with it.
2023-10-01Avoid sending frame callbacks to invisible surfacesIvan Molodetskikh
2023-09-30Refactor frame schedulingIvan Molodetskikh
Combine the redraw state variables into one enum, and refactor to get rid of the requirement that a VBlank must queue a subsequent redraw. Also fix the bug where ongoing animations that produced no damage could stall the redrawing.
2023-09-30Make pipewire / xdp-gnome-screencast optionalIvan Molodetskikh
2023-09-29Throttle frame callbacks to once per monitor refreshIvan Molodetskikh
Under some circumstances, the compositor can get into a commit-frame callback busy loop with a client. For example, if a client redraws on frame callbacks, but the resulting frame has empty damage (e.g. the damaged part of the client is outside the monitor). Or if the client simply commits with empty damage (looking at you, Firefox). This behavior is compliant with the Wayland specification and with the intended idea of frame callbacks, but causes a lot of unnecessary CPU usage in the client and the compositor. To solve this problem, this commit introduces frame callback throttling. Every surface may only receive a single frame callback in one monitor refresh cycle. If a surface commits resulting in no KMS frame submission, a timer is created, that will fire at the predicted would- be-VBlank time, and send the accumulated frame callbacks. This way, a surface that redraws on frame callbacks will not notice any change in frame callback delivery, if its commits suddenly stop producing KMS updates.
2023-09-27shell: add support for kde server decorationsKirill Chibisov
This should provide server side decorations for the gtk3 applications, like firefox.
2023-09-26tty: Take metadata by valueIvan Molodetskikh
2023-09-26Skip rendering when backend is inactiveIvan Molodetskikh
2023-09-26Avoid unwraps in more placesIvan Molodetskikh
2023-09-26tty: Add more trace spansIvan Molodetskikh
2023-09-26tty: Extract other event handlers into functionsIvan Molodetskikh
2023-09-26tty: Avoid panicks in the vblank callbackIvan Molodetskikh
2023-09-26tty: Extract on_vblank()Ivan Molodetskikh
2023-09-26Use new tracy-client new_leak() methodsIvan Molodetskikh
I added them to avoid the use of internal module and leaks when tracing is disabled.
2023-09-26Remove LoopDataIvan Molodetskikh
The calloop Smithay update finally lets me do this.
2023-09-21Add output configuration & integer scaling supportIvan Molodetskikh
2023-09-20Plot target presentation time offsetIvan Molodetskikh
2023-09-19tty: Pass output name to tracy spanIvan Molodetskikh
2023-09-18tty: Try to create context with high priorityIvan Molodetskikh