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:
parent
bab9cb7bed
commit
dedaf5550a
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue