the fastest way to get pixels from display card

Started by
2 comments, last by pango99 20 years, 6 months ago
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()"
fsdf
Advertisement
How much do you need to read? Like the whole screen, or only a few pixels?

Height Map Editor | Eternal Lands | Fast User Directory
bitmap of 720x576x24bit
fsdf
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

Niko Suni

This topic is closed to new replies.

Advertisement