Hi Tugkan,

On Thu, Jan 14, 2010 at 12:31 PM, Tugkan Calapoglu <[email protected]> wrote:
> I know that getting data back from GPU is slow but 12ms for a 4x4
> texture seems extreme.

It's the flushing of the fifo that is the problem, that's why it's so
slow, not the data transfer itself.  Once you flush the fifo you loose
the parallelism between the CPU and GPU.

The only way to hide this is to use PBO's to do the read back and do
the actual read back on the next frame rather than in the current
frame.  In your case you might be able to get away with this, a frames
latency might not be a big issue if you can keep to a solid 60Hz and
the values you are reading back aren't changing drastically between
frames.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to