aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/evas
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-10-06 14:47:08 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-10-06 14:47:08 +0900
commit785564f1056137127b63b61e02217d82766d03b2 (patch)
tree1750b13ed1b949d7284b4f71729276e49788d3b9 /src/modules/evas
parentevas engines - fix partial swap to not skip swaps if full mode used (diff)
downloadefl-785564f1056137127b63b61e02217d82766d03b2.tar.gz
evas sw x11 - xcb code has same changes as xlib with optimizations
Diffstat (limited to 'src/modules/evas')
-rw-r--r--src/modules/evas/engines/software_x11/evas_xcb_outbuf.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/modules/evas/engines/software_x11/evas_xcb_outbuf.c b/src/modules/evas/engines/software_x11/evas_xcb_outbuf.c
index e68a0928df..632d13cd64 100644
--- a/src/modules/evas/engines/software_x11/evas_xcb_outbuf.c
+++ b/src/modules/evas/engines/software_x11/evas_xcb_outbuf.c
@@ -30,8 +30,8 @@ static void _xcbob_sync(xcb_connection_t *conn);
/* local variables */
static Eina_List *_shmpool = NULL;
static int _shmsize = 0;
-static int _shmlimit = (10 * 1024 * 1024);
-static const unsigned int _shmcountlimit = 32;
+static int _shmlimit = (20 * 1024 * 1024);
+static const unsigned int _shmcountlimit = 128;
static Eina_Spinlock shmpool_lock;
#define SHMPOOL_LOCK() eina_spinlock_take(&shmpool_lock)
@@ -1158,7 +1158,10 @@ _find_xcbob(xcb_connection_t *conn, xcb_visualtype_t *vis, int depth, int w, int
fitness = szdif;
}
}
- if ((fitness > (100 * 100)) || (!xcbob))
+ if (
+ (fitness > (400 * 400)) ||
+ (!xcbob)
+ )
{
SHMPOOL_UNLOCK();
return evas_software_xcb_output_buffer_new(conn, vis, depth,