Chromium Code Reviews
DescriptionCreate a LayerDelegate for recreated layers to draw when their content is invalidated.
This is to mitigate the issue where the content of the layer has to be redrawn while dragging a window in another display. This can draw the display items recorded for different device scale factor which can have artifacts, but it's better than empty layer.
The same issue can happen during hiding/showing animation in theory, but I'm leaving them as is because that's very rare and most likely not noticeable.
BUG=604868
TEST=WindowUtilTest.RecreateLayersWithDelegate
TBR=sadrul@chromium.org
Review-Url: https://codereview.chromium.org/1992853002
Cr-Commit-Position: refs/heads/master@{#394993}
(cherry picked from commit e1dbe8e0ce560e5e2979e44b39268ac24bc3fc25)
Committed: https://chromium.googlesource.com/chromium/src/+/c81fdc9edfb72dd0826075e2f77478f53577aea8
Patch Set 1 #Messages
Total messages: 2 (1 generated)
|