I am having a iMX6Q platform. In that weston uses framebuffer back end. Weston's framebuffer back end does not support double buffering or vsync.
I have 2 questions in this case:
Thanks in advance for the help.
For framebuffer backend you can enable double buffering with:
export FB_MULTI_BUFFER=2
Change to 3 for triple buffering.
Thanks for the info. Weston calls FBIO_WAITFORVSYNC and FBIOPAN_DISPLAY ioctls.
I guess weston is modified to support double buffering as upstream wayland / weston does not support double buffering with framebuffer backend. Is it so?
This done by using eglSwapBuffers in the weston code base (possibly gl-renderer.c). The vivante library libGAL-wl.so contains the string FB_MULTI_BUFFER and therefore must contain the code to switch between front & back buffers.
Makes sense.
Thanks for the reply. It helps a lot :smileyhappy:.