I commited your patch. 
but changed codes slightly.
Thank you so much!
------------------------------------
Let's run together for the best moment!
 -Regards, Hermet-
 
-----Original Message-----
From: "Enlightenment SVN"<no-re...@enlightenment.org> 
To: enlightenment-...@lists.sourceforge.net
Cc: 
Sent: 11-07-18(월) 14:32:06
Subject: E SVN: hermet trunk/evas/src/modules/engines/gl_x11Log:
evas/evas_engine - patched by Seung-Soo Woo <om101....@samsung.com>
 
 Dear all,
 
 eng_image_stride_get() of gl backend get fault stride value.
 In case of using dynamic image, it get from dyn.w*4.
 But, dyn.stride was already got from secsym_eglGetImageAttribSEC() in 
_pool_tex_dynamic_new().
 dyn.stride can be changed according to DDK.
 So, the stride needs to get from dyn.stride.
 
 Please find enclosed file.
 
 Thanks.
 
 
Author: hermet
Date: 2011-07-17 22:32:06 -0700 (Sun, 17 Jul 2011)
New Revision: 61463
Trac: http://trac.enlightenment.org/e/changeset/61463
Modified:
 trunk/evas/src/modules/engines/gl_x11/evas_engine.c 
Modified: trunk/evas/src/modules/engines/gl_x11/evas_engine.c
===================================================================
--- trunk/evas/src/modules/engines/gl_x11/evas_engine.c 2011-07-18 05:07:36 UTC 
(rev 61462)
+++ trunk/evas/src/modules/engines/gl_x11/evas_engine.c 2011-07-18 05:32:06 UTC 
(rev 61463)
@@ -2051,12 +2051,10 @@
 {
 Evas_GL_Image *im = image;
 
- *stride = im->w * 4;
 if ((im->tex) && (im->tex->pt->dyn.img))
- {
- *stride = im->tex->pt->dyn.w * 4;
- // FIXME: for other image formats (yuv etc.) different stride needed
- }
+ *stride = im->tex->pt->dyn.stride;
+ else
+ *stride = im->w * 4;
 }
 
 static void
------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
enlightenment-svn mailing list
enlightenment-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to