Hi,
I am using Linux kernel version 3.14.28 and corresponding OpenGL libraries.
I am calling glTexDirectVIV to get GPU memory pointer. But it fill with NULL value.
Let me know how the GPU memory pointer mapped to OpenGL texture buffer.
Regards,
Selva
Hi SELVAKUMAR,
glTexDirectVIVMap is similar to glTexDirectVIV. The only difference is that it has two inputs, “Logical” and
“Physical,” which support mapping a user space memory or a physical address into the texture surface
Output of glTexDirectVIV , If the function succeeds, it returns a pointer, or, for some YUV formats, it returns a set of pointers that directly point to the texture. The pointer(s) will be returned in the user-allocated array pointed to by the
Pixels parameter
You can find sample codes on the GPU SDK
and
http://imxcv.blogspot.de/2012/10/video-to-texture-streaming-part-3-imx6.html
More information, Please check your i.MX6 Graphics User guide document in your BSP documentation folder.
Regards
Hi,
Thanks for your reply.
I am using glTexDirectVIV to get a texture pointer.
It works fine with 3.10.17 Linux kernel version.
After upgrade to 3.14.28 Linux kernel version, the glTexDirectVIV is not return the texture buffer pointer and it fill NULL.
I tried with glTexDirectVIVMap function also. Both behaves same way.
Let me know is there any additional configuration need to be done for 3.14.28
Note:
Galcore version 5.0.11.25762
Regards,
Selva