Hello,
I'm using OpenGLES v2.0 and EGL v1.4 to draw graphics on i.MX6 board.
After I finish drawing something on EGL window surface, I call eglSwapBuffers() to display the content and the screen remain blank.
The content could be displayed on screen only after eglSwapBuffers() was called the second time.
Could anyone help me to resolve this issue?
Thanks,
Solved! Go to Solution.
Any of the GLES2.0 samples in the Sample folder will do. To use double or triple buffer you need to export FB_MULTI_BUFFER with the number of buffers you need.
Michel
What is the size of your frame buffer, are you using double or triple buffer?
I wonder if the buffers are swapped and your back buffer is still empty.
Do you see the sane behavior with the samples in the GPU SDK?
Michel
The size of my frame buffer is 480 x 272, and I don't know how to use double or triple buffer.
I didn't run any applications in GPU SDK, could you tell me which samples I should run to check this behavior?
Thanks,
Any of the GLES2.0 samples in the Sample folder will do. To use double or triple buffer you need to export FB_MULTI_BUFFER with the number of buffers you need.
Michel