Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: Manipulating memory buffers.

  1. #1
    Junior Member Newbie
    Join Date
    Jun 2005
    Posts
    1

    Manipulating memory buffers.

    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

  2. #2
    Advanced Member Frequent Contributor
    Join Date
    Feb 2004
    Location
    Long Island, New York
    Posts
    586

    Re: Manipulating memory buffers.

    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.

  3. #3
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,655

    Re: Manipulating memory buffers.

    >> 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/artic...&tid=231&tid=8

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •