[WK2] Clear atlas buffer instead of swapping the buffers.
authorJungJik Lee <jungjik.lee@samsung.com>
Sun, 9 Sep 2012 08:24:13 +0000 (17:24 +0900)
committerJungJik Lee <jungjik.lee@samsung.com>
Sun, 9 Sep 2012 09:01:06 +0000 (18:01 +0900)
[Title] [WK2] Clear atlas buffer instead of swapping the buffers.
[Issue #] N_SE-9345
[Problem] Broken tiles are drawn in webapp and browser.
[Cause] broken atlas buffers returns.
[Solution] clear atlas buffer up instead of swapping the buffer.
           so that WebCore draws the tiles with new clean surface.
[Developer] jungjik.lee

Source/WebKit2/WebProcess/WebPage/efl/LayerTreeHostEfl.cpp

index 63198a5..d7bccdd 100644 (file)
@@ -582,8 +582,8 @@ void LayerTreeHostEfl::renderNextFrame()
 
     m_waitingForUIProcess = false;
     scheduleLayerFlush();
-    for (int i = 0; i < m_updateAtlases.size(); ++i)
-        m_updateAtlases[i].didSwapBuffers();
+
+    m_updateAtlases.clear();
 }
 
 #if ENABLE(TIZEN_WEBKIT2_ROTATION_WHILE_JAVASCRIPT_POPUP)