Results 1 to 3 of 3

Thread: conformes-1.1r1-2005-07-08 memory leak problem.

  1. #1
    Junior Member
    Join Date
    Oct 2007
    Posts
    2

    conformes-1.1r1-2005-07-08 memory leak problem.

    I got the conformes test code and execute it with my implementation.
    Then, I have found an memory leak.

    I check the conformes test codes.
    finally, I found out that the conformese test code do not call the eglDestroySurface function.
    The conformese test code act as like the followings.
    -----------------------------------------------------------------
    eglCreateContext
    eglCreateWindowSurface
    eglMakeCurrent
    ...
    eglDestroyContext
    ...
    eglCreateWindowSurface
    eglMakeCurrent
    eglMakeCurrent
    ...
    eglDestroyContext
    -----------------------------------------------------------------

    If eglDestroyContext destory the surface internally, there is the other problem.
    -----------------------------------------------------------------
    ctx = eglCreateContext
    srf = eglCreateWindowSurface
    eglMakeCurrent
    ...
    eglDestroyContext( ctx ) //
    ...
    ... // srf is removed
    ...
    eglDestroySurface( srf ) // !!! srf is dangling !
    -----------------------------------------------------------------

    Is there surface leak on the confirmes test code, really ?
    If it doesn't, please let me know how do I implement eglDestroyContext ?

    thank you.

  2. #2
    Hi.

    Where did you get the conformance test code from? AFAIK, conformance test is only available for adopters. When signing the adopter agreement you should have received also instructions on how to report bugs/issues with the conformance tests.

    --jani;

  3. #3
    Junior Member
    Join Date
    Oct 2007
    Posts
    2
    My company is an adopter. I downloaded the conformes code in khronos web page after adopter logon. but as far as I know, we cannot have any instructions. please let me know how can I report about this to khronos officially.

Similar Threads

  1. Memory leak problem in nVidia driver
    By Aki in forum OpenCL
    Replies: 4
    Last Post: 01-18-2013, 08:18 PM
  2. opencl ! too much leak memory problem
    By Belkacem in forum OpenCL
    Replies: 6
    Last Post: 02-02-2012, 06:55 AM

Posting Permissions

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