Original Post
Howdy, fellas.
Assuming that I do everything fixed pipeline here:
(I remember that I have read about this subject, but can't find it again *grumbles*)
Say I rendered some stuff in an FBO, and want to read back its texture's pixels from the GPU, with eg. glReadPixels(..).
Assume further, I don't need the full resolution, but some down-sampled version, like a mipmap from 256² to 32² or so, would do.
Can I do that (downsampling), using fixed function commands only, completely GPU internal without much overhead, to gain speed for the readback?
It would be extra sweet if, using a floating point texture, this could go down to the point that I read back only 1 pixel, since I'm interested in the RGB value sum of all pixels.
Have a nice day,
unshaven
[Edited by - UnshavenBastard on June 20, 2010 11:41:39 AM]
Assuming that I do everything fixed pipeline here:
(I remember that I have read about this subject, but can't find it again *grumbles*)
Say I rendered some stuff in an FBO, and want to read back its texture's pixels from the GPU, with eg. glReadPixels(..).
Assume further, I don't need the full resolution, but some down-sampled version, like a mipmap from 256² to 32² or so, would do.
Can I do that (downsampling), using fixed function commands only, completely GPU internal without much overhead, to gain speed for the readback?
It would be extra sweet if, using a floating point texture, this could go down to the point that I read back only 1 pixel, since I'm interested in the RGB value sum of all pixels.
Have a nice day,
unshaven
[Edited by - UnshavenBastard on June 20, 2010 11:41:39 AM]