sw_engine: grow cell memory buffer up to allow larger shapes

Change-Id: I7a8feaa11d3dad81dd1004782e07a8ac4a768d91
This commit is contained in:
Hermet Park 2020-06-09 11:02:51 +09:00
parent 9aa2566b45
commit 4e3f8284e8

View 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);