glTexDirectVIV return NULL texture pointer

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

glTexDirectVIV return NULL texture pointer

1,668 次查看
selvakumarv
Contributor I

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

标签 (3)
标记 (3)
0 项奖励
回复
2 回复数

1,210 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

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

https://www.nxp.com/webapp/Download?colCode=IMX6_GPU_SDK&location=null&Parent_nodeId=133772389165473...

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

0 项奖励
回复

1,210 次查看
selvakumarv
Contributor I

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

0 项奖励
回复