sw_engine: grow cell memory buffer up to allow larger shapes 85/235685/1
authorHermet Park <chuneon.park@samsung.com>
Tue, 9 Jun 2020 02:02:51 +0000 (11:02 +0900)
committerHermet Park <chuneon.park@samsung.com>
Tue, 9 Jun 2020 02:03:18 +0000 (11:03 +0900)
Change-Id: I7a8feaa11d3dad81dd1004782e07a8ac4a768d91

src/lib/sw_engine/tvgSwRle.cpp

index 2757c0d..cab5463 100644 (file)
@@ -633,7 +633,7 @@ static bool _genRle(RleWorker& rw)
         ret = _decomposeOutline(rw);
         if (!rw.invalid) _recordCell(rw);
     } else {
-        cout <<  "Memory Overflow" << endl;
+        cout <<  "Lack of Cell Memory" << endl;
     }
     return ret;
 }
@@ -647,7 +647,7 @@ static bool _genRle(RleWorker& rw)
 SwRleData* rleRender(const SwOutline* outline, const SwBBox& bbox, const SwSize& clip)
 {
     //Please adjust when you out of cell memory (default: 16384L)
-    constexpr auto RENDER_POOL_SIZE = 166641L;
+    constexpr auto RENDER_POOL_SIZE = 163840L * 2;
     constexpr auto BAND_SIZE = 40;
 
     assert(outline);