Search:

Type: Posts; User: Oskar XXL

Search: Search took 0.00 seconds.

  1. Replies
    12
    Views
    3,464

    Re: Problem with clCreateFromGLTexture2D

    The code is not working on a geforce gtx 560 ti on windows-7 64 bit.

    It is working on a geforce gtx 260 on windows-7 64 bit without any problems.

    => It is a driver or GPU bug


    Some...
  2. Replies
    12
    Views
    3,464

    Re: Problem with clCreateFromGLTexture2D

    But only on AMD gpu not on my Nvidia :evil:
  3. Replies
    12
    Views
    3,464

    Re: Problem with clCreateFromGLTexture2D

    GL_RGBA32F Works !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  4. Replies
    12
    Views
    3,464

    Re: Problem with clCreateFromGLTexture2D

    ...
  5. Replies
    12
    Views
    3,464

    Re: Problem with clCreateFromGLTexture2D

    Hi,

    It is difficult to use a java program to find the correct way to make a C program, so
    I have made my (not working) program as simpe as possible.




    #include <windows.h>
    #include...
  6. Replies
    12
    Views
    3,464

    Re: Problem with clCreateFromGLTexture2D

    Can you please post code of a (simple) working example for Windows?
    (My one and all I found do not work)
  7. Replies
    12
    Views
    3,464

    Re: Problem with clCreateFromGLTexture2D

    I tryed it with many code from the internet, which people say it will work.

    In every example I get from "clCreateFromGLTexture2D()" a cl_mem object with:
    Actual size of memobj in bytes: 0
    (But...
  8. Replies
    12
    Views
    3,464

    Re: Problem with clCreateFromGLTexture2D

    correction I did not copy all information:
  9. Replies
    12
    Views
    3,464

    Re: Problem with clCreateFromGLTexture2D

    Now I use this for making the texture.


    FREE_IMAGE_FORMAT format = FreeImage_GetFileType(pictureFile, 0);
    FIBITMAP* image = FreeImage_Load(format, pictureFile);

    FIBITMAP* temp = image;...
  10. Replies
    12
    Views
    3,464

    Problem with clCreateFromGLTexture2D

    I try it in this way: ( Here the most important code)

    Code for the texture


    ...
    glGenTextures(1, &textur);
    glBindTexture(GL_TEXTURE_2D, textur);
    glTexEnvi(GL_TEXTURE_ENV,...
Results 1 to 10 of 12