| |
|
|
![iF: 10/30/07](.././../../i/a/1.gif) | Please test and around the indicated the values in the cover (fps & slp) after itself the slp beruhigt has. i want too gladly know with whom itself the demonstration with of/ one Messagebox exits has and as Message lautete. (exe in the attachment) Prozessortyp and strength would so did i gladly know. (unless already in Signatur indicated) CompileMarkSeparation {$cleq}
{$res noversioninfo,nomanifest,icon if.ico}
const framesPerSecond=60
#include oglhelper.inc
#include fps.class
set(Decimals,0)
ogl.window(ogltest7,false,maxx,maxy,$00FFFFFF,1,false,true,framesPerSecond)
ifnot ogl.vsync(true) {
messagebox cant init vsync,,0
ogl.done
}
float realFps=framesPerSecond
var myFPS=new(FPS,realFps)
long sleeper
do {
realFps=myFPS::frame()
case realFPS>framesPerSecond : sleeper=sleeper+realFps
settext hwnd,str$(realFPS)+ FPS, +str$(sleeper)+ SLP
if (realFPS<framesPerSecond) and (sleeper<1000) {
messagebox machine to slow,,0
break
}
whileloop sleeper{}
ogl.2dnow
ogl.color(rnd($00FFFFFF),$40)
ogl.2drotate(maxx/2,maxy/2,gettickcount,0,0)
ogl.rectangle(rnd(maxx),rnd(maxy),rnd(maxx),rnd(maxy),true)
ogl.show
case umessage==wm_close:break
}
ogl.done
dispose myFPS
end
by me: ~56fps, ~22.000 SLP, P4 3.06GHz
The Lesson the Codes is it under Zuhilfenahme the VSync The FPS konstant small as framesPerSecond (60) To hold.
Download: [...] ![](.././../../i/lnk.gif) |
![](/intl/i/dw.gif) |
|
| |
|
|
|
![Jörg Sellmeyer: 10/30/07](.././../../i/a/8132362004294faafc5e8c.jpg) Jörg Sellmeyer | by me comes only one schwarzer screen with the MessageBox Cant init vsync and then row 227 ogl not initialized I Have The exe launched and the code yourself not yet tested. |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... ![](https://www.wuestensand.info/images/CoverFataMorganaklein.jpg) | 10/30/07 ▲ |
|
|
|
|
![Rolf Koch: 10/30/07](.././../../i/a/11.gif) Rolf Koch | under Vista runs it without Problems. Well, except if I the window verkleinere and again vergrössere then is instead of the bunte Kästchen flimmern just Black, but the values supra walk moreover. values so ca. 61 and 15000 |
|
|
| |
|
|
|
![iF: 10/30/07](.././../../i/a/1.gif) | Jörg Sellmeyer
by me comes only one schwarzer screen with the MessageBox Cant init vsync and then row 227 ogl not initialized I Have The exe launched and the code yourself not yet tested.
perfect - You forbid Applications over the VSync decide To can. the check I everything appearance to successful - Please change these attitude on VSync Anwendungsgesteuert. with NVidia with whom Grafikeinstellungen to find. |
|
|
| |
|
|
|
![iF: 10/30/07](.././../../i/a/1.gif) | Rolf Koch
values so ca. 61 and 15000
comic I if fps > 60 whom sleeper erhöhe, fps means if sleeper quiet become isn't higher as 60 his can.
can it his the the SLP-worth not yet resting? |
|
|
| |
|
|
|
![: 10/30/07](.././../../i/a/noavatar.gif) | by me beautiful motley ![](.././../../i/s/__upl_ext_1111498557.gif) values: 59 - 18802
I see: AMD Athlon 2600+ |
|
|
| |
|
|
|
![Dieter Zornow: 10/30/07](.././../../i/a/101212027948ca98cf1d74c.jpg) Dieter Zornow | have on my Notebook tested Intel Centrino 1,4 GHz and Ati Mobility Radeon 9700 comes The same Message as with Jörg.
greetings from Bangkok
Dieter |
|
|
| Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2 | 10/30/07 ▲ |
|
|
|
|
![Rolf Koch: 10/30/07](.././../../i/a/11.gif) Rolf Koch | @iF have right. After längerem Waiting pendelt it itself under 60 one. Have a blank virtual he had itself beruhigt ![](.././../../i/s/__upl_ext_1111498557.gif) |
|
|
| |
|
|
|
![Jörg Sellmeyer: 10/30/07](.././../../i/a/8132362004294faafc5e8c.jpg) Jörg Sellmeyer | iF
Jörg Sellmeyerby me comes only one schwarzer screen with the MessageBox Cant init vsync and then row 227 ogl not initialized I Have The exe launched and the code yourself not yet tested. perfect - You forbid Applications over the VSync decide To can. the check I everything appearance to successful - Please change these attitude on VSync Anwendungsgesteuert. with NVidia with whom Grafikeinstellungen to find.
Hm - I find nothing, what itself on VSync relating ![](.././../../i/s/gruebel.gif) |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... ![](https://www.wuestensand.info/images/CoverFataMorganaklein.jpg) | 10/30/07 ▲ |
|
|
|
|
![Manfred Barei: 10/30/07](.././../../i/a/61939461410cc5dc5821b.jpg) Manfred Barei | Hi,
with go following values displayed: 59 FPS, 27174 SLP
grus |
|
|
| Zu wenig Wissen ist gefärlich, zu viel auch.(XProfan X4) | Win 10 Pro 64 | Win7 Ultimate 32/64 | AMD FX-8320, 16GB, GeForce GT 630 | | 10/30/07 ▲ |
|
|
|
|
![ByteAttack: 10/30/07](.././../../i/a/285.gif) ByteAttack | 61FPS|30316SLP Getestet under Windows XP Prof (32bit), Direct X9c Aug, GeForce 7300GS 512, AMD Athlon 64X2 Dual Core 4600+, 2,4GHz. NVidia-Treiberversion: Forceware 6.14.10.9371, Schuhgröße 42, No MessageBox
with the Test missing another Warnhinweis: WARNUNG! Please this Test not run, if one what gekifft has, or on Epilepsie suffering! |
|
|
| |
|
|
|
![Klaus Müller: 10/30/07](.././../../i/a/5719242914ac8e0e0a323c.gif) Klaus Müller | fps having between 40 and 50 wiggled and SLP having itself on held 1587. Have with mama with P4 1,8GHz tested. Ne messagebox comb no. Greeting Thomas |
|
|
| XProfan X4; Win10 x64 Der Kuchen ist eine lüge! | 10/30/07 ▲ |
|
|
|