mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 05:33:36 +00:00
sw_engine: grow cell memory buffer up to allow larger shapes
Change-Id: I7a8feaa11d3dad81dd1004782e07a8ac4a768d91
This commit is contained in:
parent
9aa2566b45
commit
4e3f8284e8
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue