Skip to content

Allow glyphs to overflow#136

Closed
dimitry-ishenko wants to merge 3 commits intoAetf:mainfrom
dimitry-ishenko:overflow
Closed

Allow glyphs to overflow#136
dimitry-ishenko wants to merge 3 commits intoAetf:mainfrom
dimitry-ishenko:overflow

Conversation

@dimitry-ishenko
Copy link

This is a proof of concept.

The idea is that we clear the surface before each render, and then blend glyph buffers with the existing surface (instead of overwriting). The current POC only works in DRM mode without hwaccel. By "works" I mean it does render over-spilling glyphs fully without chopping, but it's so slow it feels like a 1980s terminal.

Hopefully someone more familiar with the code can implement a proper solution. One idea I had was to keep a shadow buffer to prevent repeated read from the video memory, which cause the extreme slowness.

@kdj0c
Copy link
Collaborator

kdj0c commented Sep 28, 2025

I feel the last version of #135 is quite similar, and has less performance impact.

If you agree, you can close this one, and I will merge #135

Thanks.

@dimitry-ishenko
Copy link
Author

@kdj0c yeah sure. This was just a POC in case someone would be interested.

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.

2 participants