Search:

Type: Posts; User: dmulvang

Search: Search took 0.00 seconds.

  1. Re: How to convert an OpenCL buffer to an OpenGl 3D texture

    A small update from myself:

    It seems from the "List of OpenGL and corresponding OpenCL Image Formats" in the OpenCL spec that the OpenCL 3d image created from my OpenGL texture with GL internal...
  2. Re: How to convert an OpenCL buffer to an OpenGl 3D texture

    Hi again. Today I have tried to use the clEnqueueCopyBufferToImage, but it fails (includes total PC crash) when trying to use an OpenCL image created from an OpenGL texture. (the same call seems to...
  3. Re: How to convert an OpenCL buffer to an OpenGl 3D texture

    Great! This was exactly what I was looking for, since I already have the OpenCL buffer and a 3D texture available :-)

    Thank you David, for your quick response and good answers!

    --
    Dag Magne
  4. Re: How to convert an OpenCL buffer to an OpenGl 3D texture

    It seems that my (most?) OpenCL implementation does not support image_write to image3d_t images. Is there an alternative way to transfer the values in the OpenCL buffer to an (existing) OpenGL...
  5. How to convert an OpenCL buffer to an OpenGl 3D texture

    Hi.

    I would like to create a OpenGL 3D texture from OpenCL 3D buffer. Can do this within the kernel that fills the 3D buffer?

    --
    Dag Magne
  6. Re: Buffer size for clCreateImage3D with CL_INTENSITY

    Why should it not be sizeof(cl_uchar)*image_slice_pitch*image_depth?

    While struggeling with this, I dropped the CL_MEM_COPY_HOST_PTR or CL_MEM_USE_HOST_PTR flags, and initialised the image using:...
  7. Buffer size for clCreateImage3D with CL_INTENSITY

    Hi.

    When creating a 3D image with the following image format:

    cl_image_format imgFormat;
    imgFormat.image_channel_data_type = CL_UNORM_INT8;
    imgFormat.image_channel_order = CL_INTENSITY;...
Results 1 to 7 of 7