Changeset 280696 in webkit
- Timestamp:
- Aug 5, 2021, 9:27:00 AM (5 years ago)
- Location:
- branches/safari-612.1.27.0-branch/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
WebProcess/GPU/graphics/RemoteImageBufferProxy.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-612.1.27.0-branch/Source/WebKit/ChangeLog
r280694 r280696 1 2021-08-05 Russell Epstein <repstein@apple.com> 2 3 Cherry-pick r280652. rdar://problem/81568994 4 5 [GPUProcess] REGRESSION: A noticeable slow down when browsing Live Photos album on iCloud.com 6 https://bugs.webkit.org/show_bug.cgi?id=228673 7 <rdar://81353138> 8 9 Reviewed by Wenson Hsieh. 10 11 RemoteImageBufferProxy::flushDrawingContext() assumes a FlushContext item 12 is always appended to its DisplayList when it calls flushDrawingContextAsync() 13 and this is why it waits up to 3 seconds for the DidFlush message. But this 14 does not happen if the DisplayList of RemoteImageBufferProxy is empty. 15 16 In addition to checking whether the DisplayList is empty, we can check also 17 whether we do not have pending a FlushContext item before appending a new 18 one. 19 20 * WebProcess/GPU/graphics/RemoteImageBufferProxy.h: 21 22 23 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@280652 268f45cc-cd09-0410-ab3c-d52691b4dbfc 24 25 2021-08-04 Said Abou-Hallawa <said@apple.com> 26 27 [GPUProcess] REGRESSION: A noticeable slow down when browsing Live Photos album on iCloud.com 28 https://bugs.webkit.org/show_bug.cgi?id=228673 29 <rdar://81353138> 30 31 Reviewed by Wenson Hsieh. 32 33 RemoteImageBufferProxy::flushDrawingContext() assumes a FlushContext item 34 is always appended to its DisplayList when it calls flushDrawingContextAsync() 35 and this is why it waits up to 3 seconds for the DidFlush message. But this 36 does not happen if the DisplayList of RemoteImageBufferProxy is empty. 37 38 In addition to checking whether the DisplayList is empty, we can check also 39 whether we do not have pending a FlushContext item before appending a new 40 one. 41 42 * WebProcess/GPU/graphics/RemoteImageBufferProxy.h: 43 1 44 2021-08-05 Russell Epstein <repstein@apple.com> 2 45 -
branches/safari-612.1.27.0-branch/Source/WebKit/WebProcess/GPU/graphics/RemoteImageBufferProxy.h
r280401 r280696 261 261 return; 262 262 263 if (!m_drawingContext.displayList().isEmpty() ) {263 if (!m_drawingContext.displayList().isEmpty() || !hasPendingFlush()) { 264 264 m_sentFlushIdentifier = WebCore::DisplayList::FlushIdentifier::generate(); 265 265 m_drawingContext.recorder().flushContext(m_sentFlushIdentifier);
Note:
See TracChangeset
for help on using the changeset viewer.