DescriptionMacViews: Synchronize liveResize operations with the GPU process
Currently composited UI frames during a live-resize arrive out of sync,
and get queued up, resulting in wasted work and odd behavior where the
window contents lag behind the window size.
To fix, use ui::WindowResizeHelperMac to watch messages coming in from
the GPU process and block the UI thread until it's ready to display a
composited frame that matches the window.
For now, just fix resize, which hooks in via -[NSWindowDelegate
windowDidResize:]. In future, we may want to block for other cases (E.g.
showing a window-modal sheet should wait before starting the animation.)
BUG=531831
Committed: https://crrev.com/8ffc5c5a955fa1395f6476927b5fdbc59ee8b767
Cr-Commit-Position: refs/heads/master@{#351012}
Patch Set 1 #Patch Set 2 : Much simpler... #Patch Set 3 : Fewer changes - just fix resize for now #Patch Set 4 : More specific #Patch Set 5 : Visibility check #Patch Set 6 : inLiveResize #Patch Set 7 : rebase #Messages
Total messages: 9 (3 generated)
|