Archived

This topic is now archived and is closed to further replies.

pango99

the fastest way to get pixels from display card

Recommended Posts

my app need to read pixels from display card,I use "glReadPixels()" to do it,but the performance of the function is not satisfied me,so is there any OpenGL extenstions to do the same purpose and the speed is faster than "glReadPixels()"

Share this post


Link to post
Share on other sites
Reading pixels back from display memory is very slow.
I''m not an OpenGL expert, but could you render your scene to a system memory surface (or other system memory buffer)?
Also, AGP allocated memory is much faster to read than VRAM.

-Nik

Share this post


Link to post
Share on other sites