AnsweredAssumed Answered

Anti-aliasing doesn't work on i.MX6 OpenGL

Question asked by Frank Chen on Jan 31, 2019
Latest reply on Feb 13, 2019 by Frank Chen


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);
            glHint(GL_POINT_SMOOTH_HINT, GL_NICEST);
            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!