AhmedAli

Members
  • Content count

    8
  • Joined

  • Last visited

Community Reputation

100 Neutral

About AhmedAli

  • Rank
    Newbie
  1. [size="4"]Problem solved .. now generation made once and at resizing we don't delete the old texture and don't generate a new one and the same for FBO . The rest of command [glBindTexture , glTexImage2D , glBindFramebufferEXT , glFramebufferTexture2DEXT ,....] are called as normal I'd like to thank every one here spent his time and effort trying to help me , thanks all [/size]
  2. [size="4"]i made a new test today and this time i completed it to the end.The GPU ran out of memory and the program crashed. I think this result doesn't match the theory that says the GPU after deleting texture will free and use this memory when needed,is not it ?! [/size]
  3. [quote name='NicoG' timestamp='1310345689' post='4833541'] Use gDebugger and see if he reports a memory leak. It is a very good and free OpenGL Debugger. [url="http://www.gremedy.com/"]http://www.gremedy.com/[/url] [/quote] [size="4"]thank you very much for this great tool i'll use it to test my application and reevaluate the performance [/size]
  4. [size="4"]Yesterday i tested my application it continued for about 2 hours and the GPU memory usage increased until it reached about 75% without decay .. Although i'm deleting the old textures every about 10seconds. Do you think that the system didn't reached that point at which the memory should be reused? Is that safe ? [/size]
  5. [size="4"] OK , but do you find it reasonable that there is noway to free the the allocated GPU memory which is possible and a very simple operation in the system RAM !!![/size]
  6. [quote name='Aks9' timestamp='1310317394' post='4833389'] Do you expect the memory will be deallocated at the same moment you call glDeleteTextures()? It is a wrong assumption. Drivers allocate/deallocate memory at the most suitable moment. Try extensively to allocate/deallocate textures to see whether you will run out of memory. [/quote] [size="4"]The GPU memory usage is increasing by a fixed value for every recreated texture and it is increasing continuously without decay .. by this rate it just about time to run out of memory but this-based on my calculations- will happen [/size]
  7. [size="4"]i used GPUShark app (downloaded from www.geeks3d.com )to monitor the GPU resources at run-time .. it's really helpful but the graphics card driver should be updated to give accurate results [/size]
  8. [size="4"]hi every body, I'm using FBO in my application.. at some points My app rendering resize and i need to delete and recreate the FBO by the new dims and data .. it works fine but i noticed that the glDeleteTextures doesn't free the GPU memory that resulted in accumulated GPU memory leakage at run-time. this is my code to delete the FBO and its texture [code] glDeleteFramebuffersEXT( 1, TempFrameBuffer); glDeleteTextures( 1, Tempimage); [/code] can you find what i missed? are there any method to free the GPU memory after deleting texture? thanks in advance for your help [/size]