[WK2] Revert patch / set a limit of layer count and atlas size.
[framework/web/webkit-efl.git] / Source / WebKit2 / WebProcess / WebPage / efl / LayerTreeHostEfl.cpp
index 6b372ba..d7bccdd 100644 (file)
@@ -632,10 +632,6 @@ PassOwnPtr<WebCore::GraphicsContext> LayerTreeHostEfl::beginContentUpdate(const
         }
     }
 
-    // Allow upto 4 atlases (= 64MB)
-    if (m_updateAtlases.size() >= 4)
-        return PassOwnPtr<WebCore::GraphicsContext>();
-
     static const int ScratchBufferDimension = 2000;
     m_updateAtlases.append(UpdateAtlas(ScratchBufferDimension, flags));
     return m_updateAtlases.last().beginPaintingOnAvailableBuffer(handle, size, offset);