jpeg pushed a commit to branch master.

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

commit a3eb8d2e9d42a83c633d19196d28f3c621522dc5
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Fri Nov 1 14:44:07 2013 +0900

    evas/x11: Fix Xlib swapper buffer size
    
    Problem: Software engine fails to render on Tizen device.
---
 src/modules/evas/engines/software_x11/evas_xlib_swapper.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/modules/evas/engines/software_x11/evas_xlib_swapper.c 
b/src/modules/evas/engines/software_x11/evas_xlib_swapper.c
index 705f077..81383eb 100644
--- a/src/modules/evas/engines/software_x11/evas_xlib_swapper.c
+++ b/src/modules/evas/engines/software_x11/evas_xlib_swapper.c
@@ -698,6 +698,8 @@ evas_xlib_swapper_buffer_map(X_Swapper *swp, int *bpl, int 
*w, int *h)
              if ((swp->buf) && (swp->buf->pitch > 0)) *bpl = swp->buf->pitch;
              else *bpl = swp->w * 4;
           }
+        if (w) *w = swp->w;
+        if (h) *h = swp->h;
         return swp->buf_data;
      }
    swp->buf = sym_DRI2GetBuffers(swp->disp, swp->draw, 

-- 


Reply via email to