PDA

View Full Version : Manipulating memory buffers.



amit aides
06-30-2005, 07:45 AM
Hello,

I have no experience in openGL. I am writing an application that involves heavy image processing. My application recieves images in the form of bitmap buffers, manipulates them and then returns a bitmap buffer. My application doesn't display the image on the screen.
My question is: Can I use openGL to harness the power of the user's graphics card, to manipulate the buffers, even though I don't send them to the screen?

Thanks in advance,
Amit

Aeluned
06-30-2005, 10:43 AM
What do you mean by "manipulate"?

The answer is probably no. Generally, when some processing has to be done on image data it is downloaded from the card (if it's stored as a texture) and worked with in system memory.

You can't really do anything with image data that's been uploaded to the graphics board.

ZbuffeR
06-30-2005, 01:03 PM
>> You can't really do anything with image data that's been uploaded to the graphics board.

Of course you can !
Blend textures on a FBO with fancy GLSL shaders then readPixels to get back results.

Search for GPGPU for even more generic computations done with a graphic card.
http://developers.slashdot.org/article.pl?sid=05/06/29/0021256&tid=231&tid=8