Changeset 166768 in webkit
- Timestamp:
- Apr 3, 2014 11:26:54 PM (10 years ago)
- Location:
- trunk/Source/WebKit/efl
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/efl/ChangeLog
r166698 r166768 1 2014-04-03 Hyowon Kim <hw1008.kim@samsung.com> 2 3 [EFL] Should flush and render layers after the root layer is changed. 4 https://bugs.webkit.org/show_bug.cgi?id=131108 5 6 Reviewed by Gyuyoung Kim. 7 8 If there is no update event after root layer is changed, old webview can be shown. 9 Because the syncTimer is not being triggered by root layer change. 10 We should flush and render layers by starting syncTimer when the root layer is changed. 11 12 * WebCoreSupport/AcceleratedCompositingContextEfl.cpp: 13 (WebCore::AcceleratedCompositingContext::setRootGraphicsLayer): Add m_syncTimer.startOneShot(0); 14 * WebCoreSupport/AcceleratedCompositingContextEfl.h: 15 (WebCore::AcceleratedCompositingContext::setRootGraphicsLayer): Move implementation from header to source. 16 1 17 2014-04-02 Ryuan Choi <ryuan.choi@samsung.com> 2 18 -
trunk/Source/WebKit/efl/WebCoreSupport/AcceleratedCompositingContextEfl.cpp
r166637 r166768 182 182 } 183 183 184 void AcceleratedCompositingContext::setRootGraphicsLayer(GraphicsLayer* rootLayer) 185 { 186 m_rootLayer = rootLayer; 187 188 if (!m_syncTimer.isActive()) 189 m_syncTimer.startOneShot(0); 190 } 191 184 192 } // namespace WebCore 185 193 -
trunk/Source/WebKit/efl/WebCoreSupport/AcceleratedCompositingContextEfl.h
r166637 r166768 43 43 ~AcceleratedCompositingContext(); 44 44 45 void setRootGraphicsLayer(GraphicsLayer* rootLayer) { m_rootLayer = rootLayer; }45 void setRootGraphicsLayer(GraphicsLayer* rootLayer); 46 46 void resize(const IntSize&); 47 47 void flushAndRenderLayers();
Note: See TracChangeset
for help on using the changeset viewer.