evas-wayland-shm: Reduce size of resize pool during resize events

Summary: We really don't need to be allocating a shm pool this large
during resize, so reduce the size of the pool.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2015-10-01 15:51:21 -04:00
parent bab9cb7bed
commit dedaf5550a
1 changed files with 1 additions and 1 deletions

View File

@ -395,7 +395,7 @@ _evas_shm_surface_reconfigure(Shm_Surface *surface, int dx, int dy, int w, int h
if ((resize) && (!surface->leaf[i].resize_pool))
{
surface->leaf[i].resize_pool =
_shm_pool_create(surface->shm, 10 * 1024 * 1024);
_shm_pool_create(surface->shm, 6 * 1024 * 1024);
}
if (!_shm_leaf_create(surface, &surface->leaf[i], w, h))