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.
Solved! Go to Solution.
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
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!
-----------------------------------------------------------------------------------------------------------------------
But I found that there is no example about "GL_CLAMP_TO_BORDER_VIV" extension.
please look in GPU SDK/Samples/GLES2.0/06_Texturing/Texturing.c,
../GLES2.0/09_VIV_direct_texture/
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.
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