For vdpau I need the fence after render. The buffer must not be reused before processed by the gl. The texture is actually the video surface used by vdpau decoder.