Make it work with desktop gallium egl backend with texture sharing