Skip to content

Comments

Bbulk damage#185

Merged
kdj0c merged 2 commits intokmscon:mainfrom
kdj0c:bbulk_damage
Jan 6, 2026
Merged

Bbulk damage#185
kdj0c merged 2 commits intokmscon:mainfrom
kdj0c:bbulk_damage

Conversation

@kdj0c
Copy link
Contributor

@kdj0c kdj0c commented Dec 19, 2025

bbulk: Add damage support

Only redraw the part of the frame that changed.
Instead of repainting the whole buffer.
This improve performances, particularly when moving the mouse cursor.

To be really efficient, it needs to send the damage rectangle to the
drm device, but this will be done in a later patch.

Jocelyn Falempe added 2 commits January 5, 2026 14:11
Only redraw the part of the frame that changed.
Instead of repainting the whole buffer.
This improve performances, particularly when moving the mouse cursor.

To be really efficient, it needs to send the damage rectangle to the
drm device, but this will be done in a later patch.
The initial damage support doesn't work for glyphes that overflow to
the next character.
Move overflow handling to each text renderer, as the generic
algorithm can't work with damage.

Signed-off-by: Jocelyn Falempe <[email protected]>
@kdj0c kdj0c merged commit ac74c0e into kmscon:main Jan 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant