imx6q opengl es extension GL_CLAMP_TO_BORDER_VIV doesn't work

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6q opengl es extension GL_CLAMP_TO_BORDER_VIV doesn't work

Jump to solution
1,059 Views
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 Kudos
1 Solution
847 Views
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

View solution in original post

0 Kudos
5 Replies
848 Views
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 Kudos
848 Views
leima
Contributor III

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

0 Kudos
848 Views
igorpadykov
NXP Employee
NXP Employee

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

0 Kudos
848 Views
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 Kudos
848 Views
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 Kudos