sync gpu with gles