Jump to content

Recommended Posts

Posted

I just noticed that FPS drop heavily when a window's client area is covered by the vista start orb.

Did anyone ever notice that?

 

(the number in the upper left corner of the following pictures is the UPS of the application)

Window placed normally (viewport not overlapped by vista start icon):

post-150-12652252043335_thumb.jpg

Window placed in such a way that the round part of the start orb covers it

post-150-12652252105469_thumb.jpg

(If a viewport is being covered by the taskbar only, fps stay normal, so it's really the round, transparent start icon that causes this)

 

It looks to me as if the application has to wait for the os to render that small round part of the start button over the viewport. What a waste! Why didn't they stay with the simple rectangular taskbar with a start button that fits in it? Why does it have to overlap???

 

This is nothing le or opengl specific, but obviously happens with any engine and graphics api (tested).

 

So if you make windowed applications: make sure your realtime viewport NEVER covers the vista start button!

---

Use this code if you want to see for yourself:

#include "engine.h"
#include "mathlib.h"

int main(void)
{
   // Init
   Initialize();
   Graphics(640,480);
   TEntity world = CreateWorld();


   // Main Loop
   while(!KeyHit(KEY_ESCAPE) && !AppTerminate())
   {
       UpdateWorld();
       UpdateAppTime();

       RenderWorld();

       DrawText(0,0,"%f",UPS());

       Flip(0);
   }

   // Terminate
   return Terminate();
}

 

I'd appreciate if some people could try that out and report if the experience the same slowdown.

Maybe there's just something bad going on with my vista/opengl/graphics driver/graphics card/computer...

Posted

You could write in the game manual that when using Windows 2000 theme under Vista, your game will run 6 times faster in certain circumstances.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Posted

I can vouch what Lumooja said, I had this same issue he helped me solve it. Never knew win eye candy was that intensive I was getting .5fps just booting it up until set windows for win 2k visual.

C2D 1.8 o/c 2.8, 4GB DDR2, 8800 GTS, Win7 64bit Pro

 

76561197968495396.png

Posted

Wow, that's interesting. In Windows 7, they made the bar thick enough to contain the whole button.

My job is to make tools you love, with the features you want, and performance you can't live without.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...