summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2016-07-29 14:17:39 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2016-07-29 14:17:39 +0200
commit620d0031dec70f06a2bfa004583eae656bfd3c7c (patch)
treeb5510efa49af4f566903cd11fd7bcb400cb2f592
parent61edc877879d9d4684314f71dc4bd8199dc4ff96 (diff)
evas: xcb: fix build break of xcb engine
This was broken since commit ed2e78286b351cd8c3e85e1f6b92f25a54fab027 The variable is named differently in the xlib vs. xcb code
-rw-r--r--src/modules/evas/engines/software_x11/evas_xcb_outbuf.c8
1 files changed, 4 insertions, 4 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 70219828a1..b747f640a3 100644
--- a/src/modules/evas/engines/software_x11/evas_xcb_outbuf.c
+++ b/src/modules/evas/engines/software_x11/evas_xcb_outbuf.c
@@ -47,7 +47,7 @@ void
47evas_software_xcb_outbuf_free(Outbuf *buf) 47evas_software_xcb_outbuf_free(Outbuf *buf)
48{ 48{
49 SHMPOOL_LOCK(); 49 SHMPOOL_LOCK();
50 shmmemlimit -= ((buf->w * buf->h * (buf->depth / 8)) * 3) / 2; 50 _shmlimit -= ((buf->w * buf->h * (buf->depth / 8)) * 3) / 2;
51 SHMPOOL_UNLOCK(); 51 SHMPOOL_UNLOCK();
52 eina_spinlock_take(&(buf->priv.lock)); 52 eina_spinlock_take(&(buf->priv.lock));
53 while (buf->priv.pending_writes) 53 while (buf->priv.pending_writes)
@@ -267,7 +267,7 @@ evas_software_xcb_outbuf_setup(int w, int h, int rot, Outbuf_Depth depth, xcb_co
267 eina_spinlock_new(&(buf->priv.lock)); 267 eina_spinlock_new(&(buf->priv.lock));
268 268
269 SHMPOOL_LOCK(); 269 SHMPOOL_LOCK();
270 shmmemlimit += ((buf->w * buf->h * (buf->depth / 8)) * 3) / 2; 270 _shmlimit += ((buf->w * buf->h * (buf->depth / 8)) * 3) / 2;
271 SHMPOOL_UNLOCK(); 271 SHMPOOL_UNLOCK();
272 return buf; 272 return buf;
273} 273}
@@ -1019,11 +1019,11 @@ evas_software_xcb_outbuf_reconfigure(Outbuf *buf, int w, int h, int rot, Outbuf_
1019 if ((w == buf->w) && (h == buf->h) && (rot == buf->rot) && 1019 if ((w == buf->w) && (h == buf->h) && (rot == buf->rot) &&
1020 (depth == buf->depth)) return; 1020 (depth == buf->depth)) return;
1021 SHMPOOL_LOCK(); 1021 SHMPOOL_LOCK();
1022 shmmemlimit -= ((buf->w * buf->h * (buf->depth / 8)) * 3) / 2; 1022 _shmlimit -= ((buf->w * buf->h * (buf->depth / 8)) * 3) / 2;
1023 buf->w = w; 1023 buf->w = w;
1024 buf->h = h; 1024 buf->h = h;
1025 buf->rot = rot; 1025 buf->rot = rot;
1026 shmmemlimit += ((buf->w * buf->h * (buf->depth / 8)) * 3) / 2; 1026 _shmlimit += ((buf->w * buf->h * (buf->depth / 8)) * 3) / 2;
1027 SHMPOOL_UNLOCK(); 1027 SHMPOOL_UNLOCK();
1028 evas_software_xcb_outbuf_idle_flush(buf); 1028 evas_software_xcb_outbuf_idle_flush(buf);
1029} 1029}