| |
|
|
- Page 1 - |
|
|
|
|
| |
|
|
| |
|
- Page 3 - |
|
|
Paul Glatz | |
|
| |
|
|
|
RGH | my Result:
Frames:536 FPS:109 Durat.:117 sec/.1 Fuse:0
... and a utterly unordentlicher screen!
Can whom change the Bildschirmauflösung not so hinbekommen, that hereafter the screen again so looks How before?
After the end the Program pasted any Window right supra in the corner in the of Program tuned Bildschirmauflösung as Size. I had to first everything (Firefox, Thunderbird, Windowscommander, etc.) zurechtzupfen, so my job again ordfentlich aussah! (others programs can the too!)
Greeting Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 03/19/09 ▲ |
|
|
|
|
| @Roland: it ought to garnichts derartiges changed his and is too imho erstmalig with you so aufgetreten. Weder Desktopsymbole yet Windows moved - I such the CodePiece out... |
|
|
| |
|
|
|
| statement from the Program: CompileMarkSeparationmem ogl.resolution.DevMode=148
mem ogl.resolution.oldDevMode=148
bool ogl.displayResolutionChanged
bool ogl.setDisplayResolution(long x,y,bpp,freq){
case pcount<4 : freq=70
case pcount<3 : bpp=32
case pcount<2 : y=0
case pcount<1 : x=0
case x==0 : return if(changeDisplaySettingsa(ogl.resolution.oldDevMode,4)==disp_change_successful,true,)
ogl.displayResolutionChanged=true
enumDisplaySettingsa(,-1,ogl.resolution.devMode)
ogl.resolution.oldDevmode=ogl.resolution.devMode
long ogl.resolution.devMode#,104=bpp
long ogl.resolution.devMode#,108=x
long ogl.resolution.devMode#,112=y
long ogl.resolution.devMode#,120=freq
return if(changeDisplaySettingsa(ogl.resolution.devmode,cds_fullScreen)==disp_change_successful,true,)
}
ogl.done{
ogl(done)
case ogl.displayResolutionChanged : ogl.setDisplayResolution(,)
dispose ogl.resolution.devmode
dispose ogl.resolution.oldDevmode
color=#0000FF>}
becomes called with CompileMarkSeparation is CompileMarkSeparation the trouble because of itself vlt. ändernder Adressen?
RGH
Can whom change the Bildschirmauflösung not so hinbekommen, that hereafter the screen again so looks How before?
the was imho to obigem term always possible, (I faith) To the developer the best Programming-Language whom Memory-Variables in XProfan itself ändernde Adressen zumutete. (If zutreffend then was sooner a (if too imho (not zulest wg. OCX) plenty To mild bemessene) Selbstbestrafung. ^^)
I werd The routine simply on adressfesten memory paraphrase and again rethinking. |
|
|
| |
|
|
|
| Abgeändert To CompileMarkSeparationlong ogl.resolution.oldDevmode=globalAlloc(gPtr,148),
ogl.resolution.devmode=globalAlloc(gPtr,148)
ogl.setDisplayResolution(long x,y,bpp,freq){
case pcount<4 : freq=70
case pcount<3 : bpp=32
case pcount<2 : y=0
case pcount<1 : x=0
case x==0 : return if(changedisplaysettingsa(ogl.resolution.oldDevmode,cds_fullScreen)==disp_change_successful,true,)
ogl.displayResolutionChanged=true
enumdisplaysettingsa(,-1,ogl.resolution.oldDevmode)
ogl.memcpy(ogl.resolution.devMode,ogl.resolution.oldDevMode,148)
long ogl.resolution.devmode&,104=bpp
long ogl.resolution.devmode&,108=x
long ogl.resolution.devmode&,112=y
long ogl.resolution.devmode&,120=freq
return if(changedisplaysettingsa(ogl.resolution.devmode,cds_fullScreen)==disp_change_successful,true,)
}
...
globalFree(ogl.resolution.devmode)
globalFree(ogl.resolution.oldDevmode class=s2>)
Perhaps functions the then rather in the next Update. |
|
|
| |
|
|
|
| here one pkg with of/ one Version with VSync and of/ one without: [...]
Ursprüngliche Version with VSync:
Frames:592 FPS:118 Durat.:75 sec/.1 Fuse:0
without on VSync Waiting:
Frames:625 FPS:137 Durat.:72 sec/.1 Fuse:0-noVSync
means plenty breeze has z.B. my system not.
@Thomas: functions The 2. Version in this new pkg with you? |
|
|
| |
|
|
|
GDL | Hi
demonstration 1 music Yes, otherwise schwarzer screen. Frames:545 FPS:109 Durat.:153 sec/.1 Fuse:0
demonstration2 music Yes, otherwise schwarzer screen Frames:739 FPS:147 Durat.:122 sec/.1 Fuse:0-noVSync
computer 3 years and Graphikkarte 5 years old. WinXP Prof.SP III
Hello Georg |
|
|
| |
|
|
|
Thomas Freier | Version 2 unfortunately neither. Gleiches behaviour and Error Message. I suspect, that at first create of/ one RAM-Disk anything schief run is. with On 1 BLICK of Horst comes it too to that discontinue (apparently only me - Image) if it attempts The RAM-data To detect. becomes because a Internetverbindung needed? having at Test of 2.verse. whom local, that Z-Alarm itself reported? was but in zero nothing again schwarzer screen. |
|
|
| Gruß Thomas Windows XP SP2, XProfan X2 | 03/19/09 ▲ |
|
|
|
|
Matthias Arlt | iF
@Roland: it ought to garnichts derartiges changed his and is too imho erstmalig with you so aufgetreten. Weder Desktopsymbole yet Windows moved - I such the CodePiece out...
still, a Änderung the Fenstergrößen (How of Roland described) exit sometimes (dependent upon the Bildschirmgröße/-dissolution) one. me was first of all not noticed. now, to usage one others Monitors but already... The Changes are of course marginal, but still noticeable...
Greeting Matthias |
|
|
| WinXP SP2, Win7 - XProfan 10/11/FreeProfan32 - Xpia | 03/20/09 ▲ |
|
|
|
|
| I mach nothing with others Windows, change The dissolution to obiger Formel and beget my own OpenGL-hWnd. o_O |
|
|
| |
|
|
|
Matthias Arlt | iF
I mach nothing with others Windows, change The dissolution to obiger Formel and beget my own OpenGL-hWnd. o_O
the likes already his. then is it evident one Nebeneffekt, the with the switch the dissolution einhergeht. and this apparently not always...
Greeting Matthias |
|
|
| WinXP SP2, Win7 - XProfan 10/11/FreeProfan32 - Xpia | 03/20/09 ▲ |
|
|
|
|
| |
|
| |
|
|