OpenGL performance in 2.0

I am trying to use .NET 2.0 with an application that draws and object with ~70.000 triangles. It is ok in the VS2003, it renders immediately, but now with the VS2005 I have to wait 7 seconds to have the object rendered!

I am still using CSGL.dll, .NET1.1 version. Is there any performance problem I read it should run correctly in the loaded 2.0 Framework.



Answer this question

OpenGL performance in 2.0

  • Can-Ann

    CSGL is no longer supported on its own. It has been moved to the Tao Framework which is quite active. Perhaps migrating to the framework will solve the problem.
  • DLdfrd

    The problem was only inside VS (using debugger). It didn't happen with the VS2003.


  • Ghia

    I suspect that somewhere in then OpenGL wrapper there is some interop going on that causes huge slowdowns just like the Texture.FromBitmap in Managed DirectX.

    See http://www.thezbuffer.com/articles/401.aspx

    There are some workarounds in the bug, and hopefully this will be fixed in an upcoming VS service pack (no idea on any release date sorry)



  • OpenGL performance in 2.0