catacombing / kumo

A Wayland Mobile Browser
GNU General Public License v3.0
8 stars 1 forks source link

Glitches with pending browser engine resize #16

Closed chrisduerr closed 1 month ago

chrisduerr commented 1 month ago

When the window size is increased, the UI redraws immediately while waiting for a new buffer to arrive from the browser engine. Since this can take a while, there's a certain time where a region of the window is empty, causing old graphic content to be rendered.

To ensure the window can be resized quickly, while still never exposing improperly sized surfaces, the background surface should be rendered behind the browser engine's buffer if the engine's width or height is too small. If both width and height are bigger, then there shouldn't be an issue.

Without single-pixel buffer support, a couple small glitches are fine.