diff options
author | skyostil <skyostil@chromium.org> | 2016-01-26 07:41:22 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-26 15:42:38 +0000 |
commit | b4cb32a71a3b31c2ad7cbd2c289fa0ecc5d43c4a (patch) | |
tree | 56a8fe3f9116e0af235c02107f09413628a63ebc /content/browser | |
parent | 057026e9c41fb67cdd2998a4697b1764236c7cc5 (diff) | |
download | chromium_src-b4cb32a71a3b31c2ad7cbd2c289fa0ecc5d43c4a.zip chromium_src-b4cb32a71a3b31c2ad7cbd2c289fa0ecc5d43c4a.tar.gz chromium_src-b4cb32a71a3b31c2ad7cbd2c289fa0ecc5d43c4a.tar.bz2 |
Fix partial painting with render pipeline throttling
This patch fixes a problem with throttled FrameViews sometimes appearing partially painted.
This was because we generally paint some distance beyond the viewport, i.e., covering the
entire interest rect. FrameViews which are inside the interest rect but outside the viewport
are skipped during painting, so the recorded display list won't include their contents. If
the FrameView is then scrolled on-screen without causing any other paint invalidations, the
display list won't get updated and the FrameView contents will not be shown.
This patch fixes the problem by forcing a repaint of FrameViews when they become
unthrottled, discarding any previous display lists and tile textures for the area they
cover.
BUG=562343
Review URL: https://codereview.chromium.org/1603983002
Cr-Commit-Position: refs/heads/master@{#371517}
Diffstat (limited to 'content/browser')
0 files changed, 0 insertions, 0 deletions