Re: Problem in fullscreen under Vista

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I did too many of these ::GetSystemMetrics calls and I've had to go back and retrofit the
multimonitor support. Sorry I couldn't resolve the problem, but I've not tried high
performance graohics on Vista.
joe
On Mon, 5 May 2008 22:23:31 +0200, "Nord Pierre" <non> wrote:

You're right, i'll take care of multimon. Thanks for the tip (even if it
doesn't resolve my pb:)

Pierre

"Joseph M. Newcomer" <newcomer@xxxxxxxxxxxx> a écrit dans le message de
news: op5u14dae8ns55fo1lf4se44qcdiek4aq4@xxxxxxxxxx
No idea about the frame rate, but you should make sure you can run in a
multimonitor
environment; your calls give the size of the primary monitor, which may
not be the monitor
that is running the application.
joe

On Mon, 5 May 2008 10:37:34 +0200, "Nord Pierre" <non> wrote:


Hello,

A new problem appear only on vista (works under XP) - When i create a
popup window with an opengl context and when i set this window to full
screen, like that :


SetWindowPos(&wndTop,0,0,GetSystemMetrics(CX_SCREEN),GetSystemMetrics(CY_SCREEN),SWP_SHOWWINDOW);

It works under XP and totaly explode the frame rate under Vista (stats
fall down from 150 fps to 20 fps), i've made many test and found that this
problem does not appear when i :

- First get the work area with
SystemParametersInfo(SPI_GETWORKAREA,0,&rect,0)
- Set the windows position like that :
SetWindowPos(&wndTop,1,1,rect.Width()-2,rect.Heigth()-2,SWP_SHOWWINDOW).

Of course the window appear in full screen and the taskbar is not
cover
by anything, so the fps are again close to 150fps... I don't get it, each
time the taskbar is touched, there is a problem with the performances, is
it
a driver pb or is it soemthing else ?

Thanks

Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm

Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.



Relevant Pages

  • Re: Internt Explorer with unknown error
    ... You could try downloading and replacing this file again from ... Open Windows Explorer, click on Tools, click on "Folder Options...". ... in the "Folder Options" window, click on the "View" tab at the top. ... If the above does not resolve the issue, you might also try the following ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: [SLE] nVidia driver
    ... I have a PCI Express 16X card with the Geforce FX 5300 chipset. ... FPS in the small window. ... Someone please open a bug report and post the number of it here, ...
    (SuSE)
  • Re: Address Bar not working
    ... idle for twenty mins or so and I was prompted again for my password. ... Now if we can only resolve this Global Warming matter. ... Stretch that second window out to the desired size- don't use maximize. ... appears and opens the new page) and does not appear in IExpl tool ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: [SLE] Latest nVidia driver for Linux (just) released
    ... it gave only 700 FPS (same window size). ... This morning I ran sax2 again as root and selected another generic keyboard ...
    (SuSE)
  • Re: Length of signal vs. frequency resolution
    ... window it with some window and calculate ... In my spectrum I can now resolve frequencies up to .125/2 ... will govern the frequency resolution. ... frequency bins, but I do not change the limits of the ...
    (comp.dsp)