Hi,
I am developing OpenGL application on i.MX6 with L3.0.35_4.0.0 Linux BSP and its Vivante GPU lib. I have ported QT 4.8.5 with OpenGL enabled. Basically I can run the OpenGL QT application. But when I try to draw lines I found the line anti-aliasing doesn't work.
The code for anti-aliasing is as follows:
......
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glEnable(GL_BLEND);
glEnable(GL_POINT_SMOOTH);
glHint(GL_POINT_SMOOTH_HINT, GL_NICEST);
glEnable(GL_LINE_SMOOTH);
glHint(GL_LINE_SMOOTH_HINT, GL_NICEST);
......
The code worked if I test on Windows PC. But on i.MX6 it didn't take any effect for line anti-aliasing.
Any help apprecaited. Thanks!