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.
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.