i want to use the anti-analising function of i.mx6. I set the attribute of EGL config SAMPLE_BUFFERS to 1, but when i get the value of the attribute using glGetIntegerv(GL_SAMPLE_BUFFERS, &val), the value is 0, so how can i enable the anti-analising function ?
I was looking for information on the i.MX6 GPU SDK but couldn’t find this specific scenario. However, I found some information on a Khronos forum (link below).
In this post it’s recommended to chose EGL_SAMPLE_BUFFERS == 1 and EGL_SAMPLES > 1. There is even some code included.
http://www.khronos.org/message_boards/showthread.php/5374-Opengl-es-and-antialiasing