* Evas: Increase number of Evas_Rectangle in the pool as we use them a lot.
SVN revision: 41047
This commit is contained in:
parent
14693fd070
commit
8cfa89c10f
|
@ -20,7 +20,7 @@ evas_init(void)
|
||||||
choice = "chained_mempool";
|
choice = "chained_mempool";
|
||||||
|
|
||||||
_evas_rectangle_mp = eina_mempool_new(choice, "evas_rectangle", NULL,
|
_evas_rectangle_mp = eina_mempool_new(choice, "evas_rectangle", NULL,
|
||||||
sizeof (Evas_Rectangle), 42);
|
sizeof (Evas_Rectangle), 256);
|
||||||
if (!_evas_rectangle_mp)
|
if (!_evas_rectangle_mp)
|
||||||
{
|
{
|
||||||
EINA_ERROR_PERR("ERROR: Mempool for rectangle cannot be allocated in list init.\n");
|
EINA_ERROR_PERR("ERROR: Mempool for rectangle cannot be allocated in list init.\n");
|
||||||
|
|
Loading…
Reference in New Issue