| |
|
|
 | 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: [...]  |
 |
|
| |
|
|
|
 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 ...  | 10/30/07 ▲ |
|
|
|
|
 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 |
|
|
| |
|
|
|
 | 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. |
|
|
| |
|
|
|
 | 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? |
|
|
| |
|
|
|
 | by me beautiful motley  values: 59 - 18802
I see: AMD Athlon 2600+ |
|
|
| |
|
|
|
 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 | @iF have right. After längerem Waiting pendelt it itself under 60 one. Have a blank virtual he had itself beruhigt  |
|
|
| |
|
|
|
 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  |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ...  | 10/30/07 ▲ |
|
|
|
|
 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 | 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 | 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 ▲ |
|
|
|