On iMX53 my program creates an image with eglCreateImageKHR(...). The required size is 720x576. Getting the stride parameter of the image with eglQueryImageFSL(...) I've noticed that stride is 736. It looks like eglCreateImageKHR(...) creates images with a width of integer multiple of 32. This is not appropriate to me.
Is there any way to make eglCreateImageKHR(...) create exactly the requested image size for me? If it's impossible, can I force it to work e.g. work multiple of 16?
已解决! 转到解答。
You are right, eglCreateImageKHR only works with multiples of 32, any other value will not work, and there is no way to force it.
regards,
Andre
As far as I know, multiples of 16 can not be forced, since YUV textures does not render when using eglQueryImageFSL, but maybe AndreSilva can clarify this situation.
Regards