imx6q opengl es extension GL_CLAMP_TO_BORDER_VIV doesn't work

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

imx6q opengl es extension GL_CLAMP_TO_BORDER_VIV doesn't work

跳至解决方案
1,111 次查看
leima
Contributor III

Rencently I am writing some opengl es codes for imx6q board, I see the GL_CLAMP_TO_BORDER_VIV extension in 

" i.MX Graphics User’s Guide" , and wrote the codes:

glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_BORDER_VIV);

glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_BORDER_VIV);

But it does not work as expected.

0 项奖励
1 解答
899 次查看
igorpadykov
NXP Employee
NXP Employee

help for developing other examples (which can't be found in SDK) one can get with

using NXP Professional Services: NXP Professional Services|NXP 

Best regards
igor

在原帖中查看解决方案

0 项奖励
5 回复数
900 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Lei

please try examples provided in gpu sdk:

Snippets, Boot Code, Headers, Monitors, etc. (1)
i.MX6 Graphics SDK – Includes sample, demo code, and documentation for working
with the i.MX6X family graphics cores. Includes OpenVG, OpenGL ES, and GAL2D reference files

Software Development Kits (4)

i.MX6DQP/DQ/DL/SL/SX GPU Demo Framework SDK
i.MX 6Dual Processors|Advanced 3D Graphics|NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
900 次查看
leima
Contributor III

But I found that there is no example about "GL_CLAMP_TO_BORDER_VIV" extension.

0 项奖励
900 次查看
igorpadykov
NXP Employee
NXP Employee

please look in GPU SDK/Samples/GLES2.0/06_Texturing/Texturing.c,
../GLES2.0/09_VIV_direct_texture/

0 项奖励
900 次查看
leima
Contributor III

Thank you for your details, but this is about the direct texture extension, what I expect is GL_CLAMP_TO_BORDER_VIV extension, and this example use GL_CLAMP_TO_EDGE.

0 项奖励
900 次查看
igorpadykov
NXP Employee
NXP Employee

help for developing other examples (which can't be found in SDK) one can get with

using NXP Professional Services: NXP Professional Services|NXP 

Best regards
igor

0 项奖励