windows - OpenGL performance difference on Linux and WindowsXP -


I have noticed that the performance of a OpenGL app on Linux XP running on Windows XP, is.

Valid, there are many texture and shadow buffers but I guess the app runs about 10x slow on Windows XP

Any thoughts?

Any suggestions for sending codes to DirectX? Can it be done easily or can it be necessary to rewrite it?

To run different hardware I do not have the specs of the Linux box, but in my XP box there is Intel Duo Core2 with Nvidia Quadro FX1500. The Linux box video card was some kind of envideo geophage (it was a university computer).

Some initiation code:

  FlyWindo :: FlyWindo (): GlowDown ("Fly", 300, 100, // glowindo :: autoposition, glovindo :: autoposition, Glow :: dragEvents | glow :: dragEvents | / * sparkle :: menu events * / glow :: glow :: draggren :: glow :: rgbbuffer | glow :: doubleBuffer | glow :: depthBuffer | glow :: multisampleBuffer, glow :: keyboardEvents | glow :: mouseEvents | Speed ​​events | glow :: visibilityEvents | glow :: focusEvents / * set :: glutEntryFunc * /), W (700), H (500), swarm (10), last seconds (myclock.getSecondsSinceStart ()) {myfps = FPScounter ( ); GLdraw & LT; Float & gt; :: initGL (W, H); // Double bouncing checkerboard CB = Point 3D & Lt; (50, 2, 50); RegisterIdle (this): Brightness; BDebub = False; M_bLookAtCentroid = True; M_bLookAtGoal = false; }  

thanks

As Dr. Joakipu described in the comments , It is employing possible XP software rendering, which means the driver installation problem. You can verify it by querying GL_VENDOR and GL_RENDERER:

  printf ("% s \ n", (const char *) glGetString (GL_VENDOR)); Printf ("% s \ n", (const char *) glGetString (GL_RENDERER));  

The seller must be NVidia and should not be Microsoft and the renderer should be at least OpenGL 2.0.


Comments