<div dir="ltr"><div><div><div>Hello,<br>eglSwapBuffers is a non blocking call. Normally, 3D GPU will be used both for content creation and composition, in that case everything will end up the GPU unit. So the end frame will be will be synchronized. (assuming 1 GPU unit).<br>

<br>I have a scenario, where 3D GPU being used for creating content and blit engine used for Weston composition. I'm getting frame completion from 3D engine in different thread (not in the same thread eglSwapBuffers calling thread). Currently eglSwapBuffers calling thread need to wait for the frame completion and then call wl_surface_commit to notify Wayland compositor. This takes out most of the performance since GPUs are not active all the time.<br>

<br></div>wl_surface_commit cannot be called from different thread AFAIK. Some advise, suggestions would be appreciated.<br><br></div>Thanks<br></div>Prabhu<br></div>