mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
06edecb7c5
Certain conditions would cause MultiTileLayer to incorrectly invalidate tiles, or to reuse tiles incorrectly, which would cause checkerboarding (sometimes permanent until a redraw occurs). This addresses said issues: - Removes manual invalidation on Document:Shown and Tab:Selected. This is unnecessary, as the entire buffer will be invalidated when this happens anyway. Sometimes Document:Shown happens *after* drawing has occurred, which caused the entire screen to checkerboard incorrectly. - Fix re-using off-screen tiles with the incorrect resolution. Tiles are stored in a hash-map based on their unscaled position. As only tiles that intersect with the update region in tile-space are invalidated, sometimes tiles that were off-screen, but whose unscaled tile origin appears on-screen would be incorrectly re-used. Fix this by checking that a tile's resolution matches the current resolution before reusing it. |
||
---|---|---|
.. | ||
android | ||
locales | ||
xul |