The destroy function that is passed to gdk.gltexture_builder.GLTextureBuilder.build
is responsible for freeing the sync object when it is no longer needed.
The texture builder does not destroy it and it is the callers
responsibility to make sure it doesn't leak.
Sets the GLSync object to use for the texture.
GTK will wait on this object before using the created gdk.texture.Texture.
The destroy function that is passed to gdk.gltexture_builder.GLTextureBuilder.build is responsible for freeing the sync object when it is no longer needed. The texture builder does not destroy it and it is the callers responsibility to make sure it doesn't leak.