Changeset 152165 in webkit
- Timestamp:
- Jun 28, 2013 7:49:24 AM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r152155 r152165 1 2013-06-28 Sergio Villar Senin <svillar@igalia.com> 2 3 [WK2][GTK] 100% CPU usage rendering a page with animations 4 https://bugs.webkit.org/show_bug.cgi?id=117703 5 6 Reviewed by Martin Robinson. 7 8 Unconditionally update the value of m_lastFlushTime in 9 ::flushAndRenderLayers. By doing that we avoid a neverending 10 sequence of layer flushes that happened when m_lastFlushTime==0 11 and flushPendingLayerChanges() was false. In that situation the 12 value m_lastFlushTime was never updated so a new flush was always 13 rescheduled. 14 15 * WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp: 16 (WebKit::LayerTreeHostGtk::flushAndRenderLayers): 17 1 18 2013-06-28 Andres Gomez <agomez@igalia.com> 2 19 -
trunk/Source/WebKit2/WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp
r149049 r152165 361 361 return; 362 362 363 m_lastFlushTime = currentTime(); 363 364 if (!flushPendingLayerChanges()) 364 365 return; 365 366 366 m_lastFlushTime = currentTime();367 367 // Our model is very simple. We always composite and render the tree immediately after updating it. 368 368 compositeLayersToContext();
Note: See TracChangeset
for help on using the changeset viewer.