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.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61463
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
{
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