i am working on a video application.
To decode video and stream it into
a texture with the best performance,
i use pixel buffer objects.
Basically to code is:
Thread 1: ( main, has GL context )
- have two pbos
- use one for displaying texture
- use other for mapping and passing pointer to second thread
- decode video, memcopy into mapped memory
This works under
Apple using NV
Apple using ATI
XP using NV
Vista using NV
All of the above have fences, and
i use them to check for a finished transfer.
It does not work under XP using ATI.
Symptoms are with Driver 8.9 and 9.4
flickering video, and video data
i spread among different videos. It
looks like the video is copied to
the wrong locations.
Is anyone out there successful using PBOs