Changeset 124336 in webkit
- Timestamp:
- Aug 1, 2012 8:45:28 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r124326 r124336 1 2012-08-01 Zeno Albisser <zeno@webkit.org> 2 3 [Qt]REGRESSION(r123786): It made 3 fast/animation tests fail. 4 https://bugs.webkit.org/show_bug.cgi?id=92490 5 6 Reviewed by Noam Rosenthal. 7 8 * platform/qt/Skipped: Unskipping the tests listed below. 9 fast/animation/request-animation-frame-cancel2.html 10 fast/animation/request-animation-frame-detach-element.html 11 fast/animation/request-animation-frame-during-modal.html 12 fast/animation/request-animation-frame-timestamps.html 13 fast/dom/Window/post-message-crash.html 14 1 15 2012-08-01 Keishi Hattori <keishi@webkit.org> 2 16 -
trunk/LayoutTests/platform/qt/Skipped
r124295 r124336 1969 1969 fast/repaint/line-flow-with-floats-in-regions.html 1970 1970 1971 # [Qt]REGRESSION(r123786) It made 3 fast/animation tests fail1972 # https://bugs.webkit.org/show_bug.cgi?id=924901973 fast/animation/request-animation-frame-cancel2.html1974 fast/animation/request-animation-frame-detach-element.html1975 fast/animation/request-animation-frame-during-modal.html1976 fast/animation/request-animation-frame-timestamps.html1977 fast/dom/Window/post-message-crash.html1978 1979 1971 # [Qt] fast/block/positioning/offsetLeft-offsetTop-multicolumn.html is failing 1980 1972 # https://bugs.webkit.org/show_bug.cgi?id=86130 -
trunk/Source/WebKit/qt/ChangeLog
r123841 r124336 1 2012-08-01 Zeno Albisser <zeno@webkit.org> 2 3 [Qt]REGRESSION(r123786): It made 3 fast/animation tests fail. 4 https://bugs.webkit.org/show_bug.cgi?id=92490 5 6 QAbstractAnimation:start() is implicitly calling updateTime 7 without going through the event loop. This resulted in executing 8 scripted animation callbacks right when registering a first callback. 9 10 Reviewed by Noam Rosenthal. 11 12 * WebCoreSupport/ChromeClientQt.cpp: 13 (WebCore::RefreshAnimation::scheduleAnimation): 14 Invoke QAbstractAnimation::start() method through the event loop. 15 1 16 2012-07-27 Csaba Osztrogonác <ossy@webkit.org> 2 17 -
trunk/Source/WebKit/qt/WebCoreSupport/ChromeClientQt.cpp
r123796 r124336 105 105 m_animationScheduled = true; 106 106 if (state() != QAbstractAnimation::Running) 107 start();107 QMetaObject::invokeMethod(this, "start", Qt::QueuedConnection); 108 108 } 109 109 -
trunk/Source/WebKit2/ChangeLog
r124318 r124336 1 2012-08-01 Zeno Albisser <zeno@webkit.org> 2 3 [Qt]REGRESSION(r123786): It made 3 fast/animation tests fail. 4 https://bugs.webkit.org/show_bug.cgi?id=92490 5 6 Make sure that scripted animations are also serviced when 7 forceRepaint is being executed. As this is what is being used for 8 running layout tests. 9 Move servicing of scripted animations and layoutIfNeeded call 10 into a separate function syncDisplayState. 11 This function can then be called from forceRepaint as well as from 12 performScheduledLayerFlush. 13 14 Reviewed by Noam Rosenthal. 15 16 * WebProcess/WebPage/LayerTreeCoordinator/LayerTreeCoordinator.cpp: 17 (WebKit::LayerTreeCoordinator::forceRepaint): 18 (WebKit::LayerTreeCoordinator::performScheduledLayerFlush): 19 (WebKit): 20 (WebKit::LayerTreeCoordinator::syncDisplayState): 21 * WebProcess/WebPage/LayerTreeCoordinator/LayerTreeCoordinator.h: 22 (LayerTreeCoordinator): 23 1 24 2012-08-01 Carlos Garcia Campos <cgarcia@igalia.com> 2 25 -
trunk/Source/WebKit2/WebProcess/WebPage/LayerTreeCoordinator/LayerTreeCoordinator.cpp
r124200 r124336 175 175 void LayerTreeCoordinator::forceRepaint() 176 176 { 177 // This is necessary for running layout tests. Since in this case we are not waiting for a UIProcess to reply nicely. 178 // Instead we are just triggering forceRepaint. But we still want to have the scripted animation callbacks being executed. 179 syncDisplayState(); 180 177 181 // We need to schedule another flush, otherwise the forced paint might cancel a later expected flush. 178 182 // This is aligned with LayerTreeHostCA. … … 357 361 if (m_isSuspended || m_waitingForUIProcess) 358 362 return; 363 364 syncDisplayState(); 365 366 if (!m_isValid) 367 return; 368 369 if (flushPendingLayerChanges()) 370 didPerformScheduledLayerFlush(); 371 } 372 373 void LayerTreeCoordinator::syncDisplayState() 374 { 359 375 #if ENABLE(REQUEST_ANIMATION_FRAME) && !USE(REQUEST_ANIMATION_FRAME_TIMER) && !USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR) 360 376 // Make sure that any previously registered animation callbacks are being executed before we flush the layers. … … 363 379 364 380 m_webPage->layoutIfNeeded(); 365 366 if (!m_isValid)367 return;368 369 if (flushPendingLayerChanges())370 didPerformScheduledLayerFlush();371 381 } 372 382 -
trunk/Source/WebKit2/WebProcess/WebPage/LayerTreeCoordinator/LayerTreeCoordinator.h
r123796 r124336 109 109 void performScheduledLayerFlush(); 110 110 void didPerformScheduledLayerFlush(); 111 void syncDisplayState(); 111 112 112 113 OwnPtr<WebCore::GraphicsLayer> m_rootLayer;
Note: See TracChangeset
for help on using the changeset viewer.