Add FB_DAMAGE_CLIPS support to bbulk renderer#210
Merged
kdj0c merged 8 commits intokmscon:mainfrom Jan 15, 2026
Merged
Conversation
42a1931 to
b3cfc86
Compare
added 8 commits
January 14, 2026 13:39
So it can be re-used to compute the damage rectangles later Signed-off-by: Jocelyn Falempe <[email protected]>
To set damage rectangles with the FB_DAMAGE_CLIPS property. Signed-off-by: Jocelyn Falempe <[email protected]>
Returns true if the whole framebuffer needs to be redrawn. Signed-off-by: Jocelyn Falempe <[email protected]>
Signed-off-by: Jocelyn Falempe <[email protected]>
Signed-off-by: Jocelyn Falempe <[email protected]>
It's better to have all drawing code in the text renderer For the bbulk renderer, it allows to not redraw the margins on each update. For the gltex renderer, it allows to use glClear() with the background color. Signed-off-by: Jocelyn Falempe <[email protected]>
This mark the cell as damaged, and allows some simplifications. Signed-off-by: Jocelyn Falempe <[email protected]>
* damage the contiguous cell when an "overflow" cell changes. * reset the overflow flags of the contiguous cell. Signed-off-by: Jocelyn Falempe <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This allows to only redraw what is needed, for the bbulk renderer.
This makes it much faster on some old hardware, like mgag200, and also on some Virtual driver.