Results 1 to 3 of 3

Thread: Copy/transfer buffer to image.

  1. #1

    Copy/transfer buffer to image.

    Hi,
    I have a buffer and an image2d allocated on the device.
    Is it possible to copy or transfer the data from the buffer to the image?
    I guess it is and it should be quite fast but I cannot find the correct function do to that.
    Thanks.

  2. #2

    Re: Copy/transfer buffer to image.

    The functions are named exactly as you would expect: clEnqueueCopyImageToBuffer and clEnqueueCopyBufferToImage.

  3. #3

    Re: Copy/transfer buffer to image.

    Thanks, you're right, that's what I was expecting.
    I'm just wondering why a search on google "opencl copy buffer to image" doesn't point to the correct function... Weird no?
    Anyway, thank you

Similar Threads

  1. eglCopyBuffers() issue. How to save a copy of the image disp
    By tantissimo in forum OpenGL ES general technical discussions
    Replies: 0
    Last Post: 05-29-2012, 04:00 AM
  2. How to copy pixel buffer to EGL pbuffer surface?
    By jerry.yang in forum OpenGL ES general technical discussions
    Replies: 3
    Last Post: 12-17-2008, 09:35 PM

Posting Permissions

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