devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=dedaf5550a316d8fca07c2f37ed759d353e39d21

commit dedaf5550a316d8fca07c2f37ed759d353e39d21
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Thu Oct 1 15:51:21 2015 -0400

    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.mich...@samsung.com>
---
 src/modules/evas/engines/wayland_shm/evas_shm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/evas/engines/wayland_shm/evas_shm.c 
b/src/modules/evas/engines/wayland_shm/evas_shm.c
index 1e730a4..593a8ae 100644
--- a/src/modules/evas/engines/wayland_shm/evas_shm.c
+++ b/src/modules/evas/engines/wayland_shm/evas_shm.c
@@ -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))

-- 


Reply via email to