Using fence sync objects in OpenGL
问题 I am trying to look for scenarios where Sync Objects can be used in OpenGL. My understanding is that a sync object once put in GL command stream ( using glFenceSync() ) will be signaled after all the GL commands are executed and realized. If the sync objects are synchronization primitives why can't we MANUALLY signal them ? Where exactly this functionality can help GL programmer ? Is the following scenario a correct one ? Thread 1 : Load model Draw() glFenceSync() Thread 2 : glWaitSync();