@Capehill It is SDL_WINDOWEVENT_ENTER/SDL_WINDOWEVENT_LEAVE which generates all the time when i just run app, and window active by default.
When i comment them out , flood stops, but still the same issue like i move mouse fast-fast in all directions (so issue didn't fixes, but just that "flood" stops). It looks like problem with any-focus based code.
What intesting is that only in window mode, in fullscreen all fine (but probabaly because for fullscreen there different code in sdl2 ?)
Is enter/leave and gain_focus/lost share some parts of same code because of which we can have the same issues when use any of them ?
Just build it, run, it will spawn 3 windowses (one under another, so regroup them manually).
Now, see static at title of windwoses. When window is active, keyboard should be : ON in one window, in other 2 windowses should be OFF - in that terms all seems fine.
But for window focus, it should be ON (and other two off), when you just move mouse over the any of window, does not matter if it active one, or inactive one. In our case (on amigaos4) , mouse focus never can be on in any non-active window, it tied to active window.
Not sure if it can be that problem which we have in irrlicht with sdl2 , but at least that can be starting point.
It's a good finding. It never occurred to me that SDL is interested in also inactive (non-clicked) window that has mouse over. Looking at SDL1 source there is some window Layer checking code that SDL2 doesn't have.
Looking at SDL1 source there is some window Layer checking code that SDL2 doesn't have.
Maybe that can be reassons of that strange bugs we have in irrlicht with sdl2, and didnt' with sdl1 (i hope)
Through that didn't explain why in fullscreen irrlicht/sdl2 didn't have those bugs (as probabaly fullscreen in sdl2 code are the same window, just on top of new screen, and it also the same doing idcmp/etc handling ?)
@Capehill And also back to the first SDL1 problem with focus: found that it the same with fullscreen. I.e. if i have check on "iswindowactive", then to make things works in fullscreen, i firstly need "amiga+m" to workbench screen, and then "amiga+m" back to the example-fullscreen, and only then it starts renders.
@Capehill After thinking a bit about that "sdl1" issue, i now not sure if it issue with SDL1 at all. I mean, SDL1 driver reacts the same and on win32 and on amigaos4 in terms of that problem with "iswindowactive()" check (and in both cases its 1.2.15).
That probabaly just Irrlicht's SDL-device bug, which is left unnoticed (or just it wasn't important for them), because on win32 they just usually use win32-device directly, without SDL.
Probabaly, in that CIrrDeviceSDL.cpp should be added something which will move cursor automatically to the opened window (to center?), and make it acitve. At least that how it done in win32device: https://github.com/okuoku/irrlicht-gen ... licht/CIrrDeviceWin32.cpp Once i compile irrlicht with win32 device instead of sdl1, and compile any example with it, i can see how cursor automaticaly jump to the center of opened window, so it start to be "irrlicht active", and not just window active.
@Capehill Tried to fix CIrrDeviceSDL.cpp , so to just made cursor on start be in the middle of the window always, via usage of SDL_WarpMouse(Width/2, Height/2);, just to find out, that it didn't works on amigaos4 (nothing happens, cursor stays where it was).
There is simple test case which works on win32 (cursor jump to the middle of the window), and didn't on amigaos4 (nothing happens):
That what i have in debug buffer when i build test case with debug verison of sdl1:
Quote:
[os4_initialize] SDL 1.2.15 [os4timer_initialize] timer=0x6FF51050 [os4timer_initialize] ITimer=0x6FF9D400 [os4timer_Init] Initializing timer for process 0x68C78AD0 [os4timer_Init] Done [os4thread_initialize] Primary process 0x68C78AD0 [os4video_initialize] Device opened [os4video_CreateDevice] Creating OS4 video device [os4video_FindApplicationName] Current program name './a.out' [os4video_FindApplicationName] Application name: './a.out' [os4video_CreateDevice] Device created [os4video_VideoInit] Free video memory 206449920 [SDL_DestroyMutex] NULL mutex [os4video_CreateWMCursor] Creating cursor 16x16 [os4video_CreateWMCursor] cursor = 0x6623F010 [os4video_ShowWMCursor] Setting cursor 0x6623F010 [os4video_SetVideoMode] Requesting new video mode 640x480x16 [os4video_SetVideoMode] Requested flags: [os4video_SetVideoMode] Current mode 0x0x32 [os4video_SetVideoMode] Current mode flags [os4video_SetVideoMode] Current hwdata 0x00000000 [os4video_SetVideoMode] Creating new display [os4video_SetVideoMode] Deleting old display [os4video_SetVideoMode] Opening new display [os4video_CreateDisplay] Creating a 640x480x16 windowed display [os4video_CreateDisplay] Screen depth: 32 pixel format: 6 [os4video_InitOffScreenBuffer] Allocating a 640x480x16 off-screen buffer with pixel format 10, SWSURFACE [os4video_InitOffScreenBuffer] Pixels 0x64273000, pitch 1280 [os4video_GetBestWindowPosition] Visible screen: (0,0)/(1920x1080) [os4video_OpenWindow] Trying to open window at (635,284) of size (640x480) [os4video_CreateIconifyGadget] Called [os4video_SetVideoMode] New display created [os4video_SetVideoMode] Obtained flags: PREALLOC [os4video_ShowWMCursor] Setting cursor 0x6623F010 [os4video_ResetCursor] Cursor image set [os4video_WarpWMCursor] Warping mouse to 320, 240 [os4video_WarpWMCursor] Done [os4video_SetCaption] Setting title to Simple Window [os4video_SetCaption] Setting icon caption to Simple Window [os4video_EventHandler] Window active [os4video_CheckPointerInWindow] Pointer outside of window [os4video_HandleEnterLeaveWindow] Pointer left window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_CheckPointerInWindow] Pointer outside of window [os4video_FreeWMCursor] Freeing 0x6623F010 [os4video_VideoQuit] In VideoQuit, this = 0x64CFF2F0 [os4video_VideoQuit] DeleteCurrentDisplay [os4video_DeleteCurrentDisplay] Removing gadget [os4video_DeleteCurrentDisplay] Disposing image [os4video_DeleteCurrentDisplay] Closing window 0x662F0018 [os4video_FreeOffScreenBuffer] Freeing off-screen buffer [os4video_VideoQuit] Checking pubscreen [os4video_FreeHWSurface] Freeing HW surface 0x63915DB0 [os4video_quit] Deleting input device [os4video_quit] Deleting IORequest [os4video_quit] Deleting MsgPort [os4video_quit] Done [os4thread_quit] Killing all remaining processes [os4thread_quit] Terminating lists [os4timer_Destroy] Freeing timer for process 0x68C78AD0 [os4thread_quit] Done [os4timer_quit] Called [os4_quit] SDL QUIT
I also check, how handle SDL_WarpMouse(), and it is done in SDL_Cursor.c, from which it call then WarpWMCursor() which is implemented in amigaos4/SDL_os4wm.c , but by some reassons SDL_WarpMouse() didn't do what should and as it do on win32: put cursor in the middle of the window.
I don't know should it be changed. SDL_WarpMouse documentation is quite thin. I wonder how x11 backend behaves?
Personally I would be annoyed if some SDL app would start to move my mouse around even if it's not near window.
Dunno as well if it should be changed or not.. I only test it on win32 and on amigaos4 , and found the differences. I.e. in win32 version it works, in our it skips. Maybe our realisation have reassons to behave like this becaue of some amigaos internals/UI style, etc.
Quote:
Personally I would be annoyed if some SDL app would start to move my mouse around even if it's not near window
I think that SDL_WarpMouse used everywhere to just "center mouse pointer" of spawned window, at least most of time.
Quote:
If Irrlicht wants to take over the mouse, why not capture it? Does Win32 backend capture mouse inside the window?
Its not that Irrlicht want to take over the mouse, its me before want hack-and-smack SDL1 issues of irrlicht by calling SDL_WarpMouse, and find out that it behave differently on win32 and amigaos4.
Quote:
Does Win32 backend capture mouse inside the window?
Not sure what you mean by "Capture", but i can say that irrlicht compiled with win32 device usage instead of sdl1 behave like that: when you run any example which use "iswindowactive()" , then mouse pointer centered to the center of spawned window and does not matter where it was when you run irrlicht's binaries.
I at moment tried to deal with SDL1 device in irrlicht with their own code, i think that code just wrongly have by default WindowHasFocus / WindowMinimized flags set.
In other words, if we think that SDL_WarpMouse should stay as it, then not big deal, let it be like this of course.
The most strange issue currently is with SDL2, where something definately wrong happens (as you say SDL1 have some window Layer checking code , maybe that reassons). But in meantime will try to fix SDL1 device without SDL_WarpMouse, etc.
It can be changed. Let's say if both Windows and Linux allows this then it seems to be the desired way.
Yep, need to check how it on x11.
In meanwhile, found how to fix irrlicht-sdl1 backend so it will behave exactly like with Irrlicht-Win32 backend: For first, after window creating i do "WindowHasFocus = true;". So, that deal with issue when example runs, and mouse inside of window. It all starts to render fine now.
And, for second, when mouse outside of window, i mimic the win32 way , but its _VERY_ hacky:
i made some "bool first_run = true", and then :
//! returns if window is active. if not, nothing need to be drawn
bool CIrrDeviceSDL::isWindowActive() const
{
#ifdef __amigaos4__
if(firstrun == true) {
amigaos4_setwindowpointer_center();
firstrun = false;
}
#endif
return (WindowHasFocus && !WindowMinimized);
}
(where amigaos4_setwindowpointer_center() it just settings of mouse cursor via input events)
By this hack when any irrlicht code compiled with iswindowactive() check, then , when app is running first time and check happens, it center the mouse pointer inside of window (as it on win32 ), and get rid of ourself so to never happens anymore (to allow mouse cursor stop rendering when you outside of window , or do iconification).
See there in 2 examples when i run them, cursor centered , and all renders fine. But also when i move mouse outside, rendering stop (that purpose of iswindowactive() check in those examples, to not waste cpu).
So at moment it behave like win32 with SDL1, but with that agly hack, and by ugly hack i didn't mean centering of mouse cursor, but that by some reassons when we run it, SDL1 on both amigaos4 and on win32, didn't return what expected probabaly in terms of focus.
Or just this part wrong:
case SDL_ACTIVEEVENT:
if ((SDL_event.active.state == SDL_APPMOUSEFOCUS) || (SDL_event.active.state == SDL_APPINPUTFOCUS)) {
WindowHasFocus = (SDL_event.active.gain==1);
}
else {
if (SDL_event.active.state == SDL_APPACTIVE) {
WindowMinimized = (SDL_event.active.gain!=1);
}
}
break;
But anyway it works as expected at moment and more important to deal with that SDL2 issues where everything just stops.
Seems that fixing of PREALLOC issue cause issues with opengl window resizing.
See how it looks like when i use commit before prealloc was done (that one from 01 may 2019, where "Sort video modes by pixel area" was added) , everything still fine:
1. it loose all colors when resize 2. window "jump" strangely and change x/y position
There is debug output with "prealoc" added and when resizing broken:
[os4_initialize] SDL 1.2.15
[os4timer_initialize] timer=0x6FF51050
[os4timer_initialize] ITimer=0x6FF9D400
[os4timer_Init] Initializing timer for process 0x68CA1AD0
[os4timer_Init] Done
[os4thread_initialize] Primary process 0x68CA1AD0
[os4video_initialize] Device opened
[SDL_CreateSemaphore] Semaphore 0x640CF150 created
[SDL_SYS_CreateThread] Creating child thread 0x63EF41F0 with args 0x640CF138
[SDL_SYS_CreateThread] Child process 0x649E97B0 (SDL thread 0x63ef41f0)
[RunThread] Running process 0x649E97B0 (SDL thread 0x63EF41F0)
[blockOnSem] Process 0x68CA1AD0 blocked on semaphore 0x640CF150 (signals 0x100)
[os4timer_Init] Initializing timer for process 0x649E97B0
[blockOnSem] Process 0x68CA1AD0 starts to wait for signals
[os4timer_Init] Done
[SDL_SemPost] Process 0x649E97B0 incrementing semaphore 0x640CF150 (count 0)
[blockOnSem] Process 0x68CA1AD0 wait over
[blockOnSem] Process 0x68CA1AD0 obtained semaphore
[blockOnSem] Process 0x68CA1AD0 decrementing semaphore 0x640CF150 (count 1)
[SDL_DestroySemaphore] Destroying semaphore 0x640CF150
[SDL_DestroySemaphore] Done
[os4video_CreateDevice] Creating OS4 video device
[os4video_FindApplicationName] Current program name '09.Meshviewer_mgl_prealoc'
[os4video_FindApplicationName] Application name: '09.Meshviewer_mgl_prealoc'
[os4video_CreateDevice] Device created
[os4video_VideoInit] Free video memory 211519232
[SDL_DestroyMutex] NULL mutex
[os4video_CreateWMCursor] Creating cursor 16x16
[os4video_CreateWMCursor] cursor = 0x66275010
[os4video_ShowWMCursor] Setting cursor 0x66275010
[enumerateJoysticks] ENUMJOY: id=1678767720,type=1,axes=2,buttons=3
[enumerateJoysticks] ENUMJOY: id=1678767720,type=3,axes=0,buttons=4
[enumerateJoysticks] Joystick 'PCI_GamePort' (AI ID=3328) has no axes/buttons - ignoring.
[enumerateJoysticks] ENUMJOY: id=1678767720,type=3,axes=0,buttons=8
[enumerateJoysticks] Joystick 'PCI_HornetGP' (AI ID=7936) has no axes/buttons - ignoring.
[enumerateJoysticks] ENUMJOY: id=1678767720,type=3,axes=0,buttons=4
[enumerateJoysticks] Joystick 'PCI_sblive' (AI ID=3840) has no axes/buttons - ignoring.
[enumerateJoysticks] ENUMJOY: id=1678767720,type=3,axes=0,buttons=8
[enumerateJoysticks] Joystick 'PCI_sblive_hornet' (AI ID=24320) has no axes/buttons - ignoring.
[SDL_SYS_JoystickInit] EnumDevices returned: 0
[SDL_SYS_JoystickInit] Found 0 joysticks
[os4video_SetVideoMode] Requesting new video mode 1280x960x16
[os4video_SetVideoMode] Requested flags: ANYFORMAT OPENGL
[os4video_SetVideoMode] Current mode 0x0x32
[os4video_SetVideoMode] Current mode flags
[os4video_SetVideoMode] Current hwdata 0x00000000
[os4video_SetVideoMode] Creating new display
[os4video_SetVideoMode] Deleting old display
[os4video_SetVideoMode] Opening new display
[os4video_CreateDisplay] Creating a 1280x960x16 windowed display
[os4video_CreateDisplay] Screen depth: 32 pixel format: 6
[os4video_GetBestWindowPosition] Visible screen: (0,0)/(1920x1080)
[os4video_OpenWindow] Trying to open window at (315,44) of size (1280x960)
[os4video_CreateIconifyGadget] Called
[os4video_GL_Init] Initializing MiniGL (window 0x677D3140)...
[os4video_GL_Init] MiniGLBase 0x664B01F8
[os4video_GL_Init] IMiniGL 0x664B02A0
[os4video_AllocateBitMap] Allocating bitmap 1280*960*16
[os4video_AllocateBitMap] Allocating bitmap 1280*960*16
[os4video_GL_Init] MiniGL context 0x6375CF10 (0x6375CF10)
[os4video_SetVideoMode] New display created
[os4video_SetVideoMode] Obtained flags: ANYFORMAT OPENGL PREALLOC
[os4video_ShowWMCursor] Setting cursor 0x66275010
[os4video_ResetCursor] Cursor image set
[os4video_GL_GetProcAddress] Function 'glBegin' loaded at 0x7FA41968
[os4video_GL_GetProcAddress] Function 'glBindTexture' loaded at 0x7FA44A6C
[os4video_GL_GetProcAddress] Function 'glBlendFunc' loaded at 0x7FA41318
[os4video_GL_GetProcAddress] Function 'glColor4f' loaded at 0x7FA428D4
[os4video_GL_GetProcAddress] Function 'glCopyTexImage1D' loaded at 0x7FA44B5C
[os4video_GL_GetProcAddress] Function 'glDisable' loaded at 0x7FA414CC
[os4video_GL_GetProcAddress] Function 'glEnable' loaded at 0x7FA414B0
[os4video_GL_GetProcAddress] Function 'glEnd' loaded at 0x7FA41980
[os4video_GL_GetProcAddress] Function 'glFlush' loaded at 0x7FA41660
[os4video_GL_GetProcAddress] Function 'glGenTextures' loaded at 0x7FA44A2C
[os4video_GL_GetProcAddress] Function 'glGetString' loaded at 0x7FA41634
[os4video_GL_GetProcAddress] Function 'glLoadIdentity' loaded at 0x7FA4177C
[os4video_GL_GetProcAddress] Function 'glMatrixMode' loaded at 0x7FA416EC
[os4video_GL_GetProcAddress] Function 'glOrtho' loaded at 0x7FA41704
[os4video_GL_GetProcAddress] Function 'glPixelStorei' loaded at 0x7FA44568
[os4video_GL_GetProcAddress] Function 'glPopAttrib' loaded at 0x7FA415C8
[os4video_GL_GetProcAddress] Function 'glPopClientAttrib' loaded at 0x7FA415F4
[os4video_GL_GetProcAddress] Function 'glPopMatrix' loaded at 0x7FA41768
[os4video_GL_GetProcAddress] Function 'glPushAttrib' loaded at 0x7FA415B0
[os4video_GL_GetProcAddress] Function 'glPushClientAttrib' loaded at 0x7FA415DC
[os4video_GL_GetProcAddress] Function 'glPushMatrix' loaded at 0x7FA41754
[os4video_GL_GetProcAddress] Function 'glTexCoord2f' loaded at 0x7FA434B8
[os4video_GL_GetProcAddress] Function 'glTexEnvf' loaded at 0x7FA44754
[os4video_GL_GetProcAddress] Function 'glTexImage2D' loaded at 0x7FA449A4
[os4video_GL_GetProcAddress] Function 'glTexParameteri' loaded at 0x7FA4484C
[os4video_GL_GetProcAddress] Function 'glTexSubImage2D' loaded at 0x7FA44B00
[os4video_GL_GetProcAddress] Function 'glVertex2i' loaded at 0x7FA419EC
[os4video_GL_GetProcAddress] Function 'glViewport' loaded at 0x7FA4172C
[os4video_GL_MakeCurrent] Context 0x6375CF10
[os4video_GL_GetProcAddress] Function 'glActiveTextureARB' loaded at 0x7FA43600
[os4video_GL_GetProcAddress] Function 'glClientActiveTextureARB' loaded at 0x7FA435FC
[os4video_GL_GetProcAddress] Failed to load function 'glGenProgramsARB'
[os4video_GL_GetProcAddress] Failed to load function 'glGenProgramsNV'
[os4video_GL_GetProcAddress] Failed to load function 'glBindProgramARB'
[os4video_GL_GetProcAddress] Failed to load function 'glBindProgramNV'
[os4video_GL_GetProcAddress] Failed to load function 'glProgramStringARB'
[os4video_GL_GetProcAddress] Failed to load function 'glLoadProgramNV'
[os4video_GL_GetProcAddress] Failed to load function 'glDeleteProgramsARB'
[os4video_GL_GetProcAddress] Failed to load function 'glDeleteProgramsNV'
[os4video_GL_GetProcAddress] Failed to load function 'glProgramLocalParameter4fvARB'
[os4video_GL_GetProcAddress] Failed to load function 'glCreateShaderObjectARB'
[os4video_GL_GetProcAddress] Failed to load function 'glCreateShader'
[os4video_GL_GetProcAddress] Failed to load function 'glShaderSourceARB'
[os4video_GL_GetProcAddress] Failed to load function 'glShaderSource'
[os4video_GL_GetProcAddress] Failed to load function 'glCompileShaderARB'
[os4video_GL_GetProcAddress] Failed to load function 'glCompileShader'
[os4video_GL_GetProcAddress] Failed to load function 'glCreateProgramObjectARB'
[os4video_GL_GetProcAddress] Failed to load function 'glCreateProgram'
[os4video_GL_GetProcAddress] Failed to load function 'glAttachObjectARB'
[os4video_GL_GetProcAddress] Failed to load function 'glAttachShader'
[os4video_GL_GetProcAddress] Failed to load function 'glLinkProgramARB'
[os4video_GL_GetProcAddress] Failed to load function 'glLinkProgram'
[os4video_GL_GetProcAddress] Failed to load function 'glUseProgramObjectARB'
[os4video_GL_GetProcAddress] Failed to load function 'glUseProgram'
[os4video_GL_GetProcAddress] Failed to load function 'glDeleteObjectARB'
[os4video_GL_GetProcAddress] Failed to load function 'glDeleteProgram'
[os4video_GL_GetProcAddress] Failed to load function 'glDeleteShader'
[os4video_GL_GetProcAddress] Failed to load function 'glGetAttachedShaders'
[os4video_GL_GetProcAddress] Failed to load function 'glGetAttachedObjectsARB'
[os4video_GL_GetProcAddress] Failed to load function 'glGetInfoLogARB'
[os4video_GL_GetProcAddress] Failed to load function 'glGetShaderInfoLog'
[os4video_GL_GetProcAddress] Failed to load function 'glGetProgramInfoLog'
[os4video_GL_GetProcAddress] Failed to load function 'glGetObjectParameterivARB'
[os4video_GL_GetProcAddress] Failed to load function 'glGetShaderiv'
[os4video_GL_GetProcAddress] Failed to load function 'glGetProgramiv'
[os4video_GL_GetProcAddress] Failed to load function 'glGetUniformLocationARB'
[os4video_GL_GetProcAddress] Failed to load function 'glGetUniformLocation'
[os4video_GL_GetProcAddress] Failed to load function 'glUniform1fvARB'
[os4video_GL_GetProcAddress] Failed to load function 'glUniform2fvARB'
[os4video_GL_GetProcAddress] Failed to load function 'glUniform3fvARB'
[os4video_GL_GetProcAddress] Failed to load function 'glUniform4fvARB'
[os4video_GL_GetProcAddress] Failed to load function 'glUniform1ivARB'
[os4video_GL_GetProcAddress] Failed to load function 'glUniform2ivARB'
[os4video_GL_GetProcAddress] Failed to load function 'glUniform3ivARB'
[os4video_GL_GetProcAddress] Failed to load function 'glUniform4ivARB'
[os4video_GL_GetProcAddress] Failed to load function 'glUniformMatrix2fvARB'
[os4video_GL_GetProcAddress] Failed to load function 'glUniformMatrix3fvARB'
[os4video_GL_GetProcAddress] Failed to load function 'glUniformMatrix4fvARB'
[os4video_GL_GetProcAddress] Failed to load function 'glGetActiveUniformARB'
[os4video_GL_GetProcAddress] Failed to load function 'glGetActiveUniform'
[os4video_GL_GetProcAddress] Failed to load function 'glPointParameterfARB'
[os4video_GL_GetProcAddress] Failed to load function 'glPointParameterfvARB'
[os4video_GL_GetProcAddress] Failed to load function 'glStencilFuncSeparate'
[os4video_GL_GetProcAddress] Failed to load function 'glStencilOpSeparate'
[os4video_GL_GetProcAddress] Failed to load function 'glStencilFuncSeparateATI'
[os4video_GL_GetProcAddress] Failed to load function 'glStencilOpSeparateATI'
[os4video_GL_GetProcAddress] Failed to load function 'glCompressedTexImage2D'
[os4video_GL_GetProcAddress] Failed to load function 'glBindFramebuffer'
[os4video_GL_GetProcAddress] Failed to load function 'glDeleteFramebuffers'
[os4video_GL_GetProcAddress] Failed to load function 'glGenFramebuffers'
[os4video_GL_GetProcAddress] Failed to load function 'glCheckFramebufferStatus'
[os4video_GL_GetProcAddress] Failed to load function 'glFramebufferTexture2D'
[os4video_GL_GetProcAddress] Failed to load function 'glBindRenderbuffer'
[os4video_GL_GetProcAddress] Failed to load function 'glDeleteRenderbuffers'
[os4video_GL_GetProcAddress] Failed to load function 'glGenRenderbuffers'
[os4video_GL_GetProcAddress] Failed to load function 'glRenderbufferStorage'
[os4video_GL_GetProcAddress] Failed to load function 'glFramebufferRenderbuffer'
[os4video_GL_GetProcAddress] Failed to load function 'glGenerateMipmap'
[os4video_GL_GetProcAddress] Failed to load function 'glBindFramebufferEXT'
[os4video_GL_GetProcAddress] Failed to load function 'glDeleteFramebuffersEXT'
[os4video_GL_GetProcAddress] Failed to load function 'glGenFramebuffersEXT'
[os4video_GL_GetProcAddress] Failed to load function 'glCheckFramebufferStatusEXT'
[os4video_GL_GetProcAddress] Failed to load function 'glFramebufferTexture2DEXT'
[os4video_GL_GetProcAddress] Failed to load function 'glBindRenderbufferEXT'
[os4video_GL_GetProcAddress] Failed to load function 'glDeleteRenderbuffersEXT'
[os4video_GL_GetProcAddress] Failed to load function 'glGenRenderbuffersEXT'
[os4video_GL_GetProcAddress] Failed to load function 'glRenderbufferStorageEXT'
[os4video_GL_GetProcAddress] Failed to load function 'glFramebufferRenderbufferEXT'
[os4video_GL_GetProcAddress] Failed to load function 'glGenerateMipmapEXT'
[os4video_GL_GetProcAddress] Failed to load function 'glDrawBuffersARB'
[os4video_GL_GetProcAddress] Failed to load function 'glDrawBuffersATI'
[os4video_GL_GetProcAddress] Failed to load function 'glGenBuffersARB'
[os4video_GL_GetProcAddress] Failed to load function 'glBindBufferARB'
[os4video_GL_GetProcAddress] Failed to load function 'glBufferDataARB'
[os4video_GL_GetProcAddress] Failed to load function 'glDeleteBuffersARB'
[os4video_GL_GetProcAddress] Failed to load function 'glBufferSubDataARB'
[os4video_GL_GetProcAddress] Failed to load function 'glGetBufferSubDataARB'
[os4video_GL_GetProcAddress] Failed to load function 'glMapBufferARB'
[os4video_GL_GetProcAddress] Failed to load function 'glUnmapBufferARB'
[os4video_GL_GetProcAddress] Failed to load function 'glIsBufferARB'
[os4video_GL_GetProcAddress] Failed to load function 'glGetBufferParameterivARB'
[os4video_GL_GetProcAddress] Failed to load function 'glGetBufferPointervARB'
[os4video_GL_GetProcAddress] Failed to load function 'glProvokingVertex'
[os4video_GL_GetProcAddress] Failed to load function 'glProvokingVertexEXT'
[os4video_GL_GetProcAddress] Failed to load function 'glColorMaskIndexedEXT'
[os4video_GL_GetProcAddress] Failed to load function 'glEnableIndexedEXT'
[os4video_GL_GetProcAddress] Failed to load function 'glDisableIndexedEXT'
[os4video_GL_GetProcAddress] Failed to load function 'glBlendFuncIndexedAMD'
[os4video_GL_GetProcAddress] Failed to load function 'glBlendFunciARB'
[os4video_GL_GetProcAddress] Failed to load function 'glBlendEquationIndexedAMD'
[os4video_GL_GetProcAddress] Failed to load function 'glBlendEquationiARB'
[os4video_GL_GetProcAddress] Failed to load function 'glProgramParameteriARB'
[os4video_GL_GetProcAddress] Failed to load function 'glProgramParameteriEXT'
[os4video_GL_GetProcAddress] Failed to load function 'glGenQueriesARB'
[os4video_GL_GetProcAddress] Failed to load function 'glDeleteQueriesARB'
[os4video_GL_GetProcAddress] Failed to load function 'glIsQueryARB'
[os4video_GL_GetProcAddress] Failed to load function 'glBeginQueryARB'
[os4video_GL_GetProcAddress] Failed to load function 'glEndQueryARB'
[os4video_GL_GetProcAddress] Failed to load function 'glGetQueryivARB'
[os4video_GL_GetProcAddress] Failed to load function 'glGetQueryObjectivARB'
[os4video_GL_GetProcAddress] Failed to load function 'glGetQueryObjectuivARB'
[os4video_GL_GetProcAddress] Failed to load function 'glGenOcclusionQueriesNV'
[os4video_GL_GetProcAddress] Failed to load function 'glDeleteOcclusionQueriesNV'
[os4video_GL_GetProcAddress] Failed to load function 'glIsOcclusionQueryNV'
[os4video_GL_GetProcAddress] Failed to load function 'glBeginOcclusionQueryNV'
[os4video_GL_GetProcAddress] Failed to load function 'glEndOcclusionQueryNV'
[os4video_GL_GetProcAddress] Failed to load function 'glGetOcclusionQueryivNV'
[os4video_GL_GetProcAddress] Failed to load function 'glGetOcclusionQueryuivNV'
[os4video_GL_GetProcAddress] Function 'glBlendEquationEXT' loaded at 0x7FA46BDC
[os4video_GL_GetProcAddress] Failed to load function 'glBlendEquation'
[os4video_SetVideoMode] Requesting new video mode 1280x960x16
[os4video_SetVideoMode] Requested flags: ANYFORMAT OPENGL RESIZEABLE
[os4video_SetVideoMode] Current mode 1280x960x16
[os4video_SetVideoMode] Current mode flags ANYFORMAT OPENGL PREALLOC
[os4video_SetVideoMode] Current hwdata 0x648F1074
[os4video_SetVideoMode] Surface flags differ
[os4video_SetVideoMode] Creating new display
[os4video_SetVideoMode] Deleting old display
[os4video_GL_Term] Here
[os4video_DeleteCurrentDisplay] Removing gadget
[os4video_DeleteCurrentDisplay] Disposing image
[os4video_DeleteCurrentDisplay] Closing window 0x677D3140
[os4video_SetVideoMode] Opening new display
[os4video_CreateDisplay] Creating a 1280x960x16 windowed display
[os4video_CreateDisplay] Screen depth: 32 pixel format: 6
[os4video_GetBestWindowPosition] Visible screen: (0,0)/(1920x1080)
[os4video_OpenWindow] Trying to open window at (315,44) of size (1280x960)
[os4video_CreateIconifyGadget] Called
[os4video_GL_Init] Initializing MiniGL (window 0x677D3140)...
[os4video_GL_Init] MiniGLBase 0x664B01F8
[os4video_GL_Init] IMiniGL 0x664B02A0
[os4video_AllocateBitMap] Allocating bitmap 1280*960*16
[os4video_AllocateBitMap] Allocating bitmap 1280*960*16
[os4video_GL_Init] MiniGL context 0x638A6F10 (0x638A6F10)
[os4video_SetVideoMode] New display created
[os4video_SetVideoMode] Obtained flags: ANYFORMAT OPENGL RESIZEABLE PREALLOC
[os4video_ShowWMCursor] Setting cursor 0x66275010
[os4video_ResetCursor] Cursor image set
[os4video_GL_GetProcAddress] Function 'glBegin' loaded at 0x7FA41968
[os4video_GL_GetProcAddress] Function 'glBindTexture' loaded at 0x7FA44A6C
[os4video_GL_GetProcAddress] Function 'glBlendFunc' loaded at 0x7FA41318
[os4video_GL_GetProcAddress] Function 'glColor4f' loaded at 0x7FA428D4
[os4video_GL_GetProcAddress] Function 'glCopyTexImage1D' loaded at 0x7FA44B5C
[os4video_GL_GetProcAddress] Function 'glDisable' loaded at 0x7FA414CC
[os4video_GL_GetProcAddress] Function 'glEnable' loaded at 0x7FA414B0
[os4video_GL_GetProcAddress] Function 'glEnd' loaded at 0x7FA41980
[os4video_GL_GetProcAddress] Function 'glFlush' loaded at 0x7FA41660
[os4video_GL_GetProcAddress] Function 'glGenTextures' loaded at 0x7FA44A2C
[os4video_GL_GetProcAddress] Function 'glGetString' loaded at 0x7FA41634
[os4video_GL_GetProcAddress] Function 'glLoadIdentity' loaded at 0x7FA4177C
[os4video_GL_GetProcAddress] Function 'glMatrixMode' loaded at 0x7FA416EC
[os4video_GL_GetProcAddress] Function 'glOrtho' loaded at 0x7FA41704
[os4video_GL_GetProcAddress] Function 'glPixelStorei' loaded at 0x7FA44568
[os4video_GL_GetProcAddress] Function 'glPopAttrib' loaded at 0x7FA415C8
[os4video_GL_GetProcAddress] Function 'glPopClientAttrib' loaded at 0x7FA415F4
[os4video_GL_GetProcAddress] Function 'glPopMatrix' loaded at 0x7FA41768
[os4video_GL_GetProcAddress] Function 'glPushAttrib' loaded at 0x7FA415B0
[os4video_GL_GetProcAddress] Function 'glPushClientAttrib' loaded at 0x7FA415DC
[os4video_GL_GetProcAddress] Function 'glPushMatrix' loaded at 0x7FA41754
[os4video_GL_GetProcAddress] Function 'glTexCoord2f' loaded at 0x7FA434B8
[os4video_GL_GetProcAddress] Function 'glTexEnvf' loaded at 0x7FA44754
[os4video_GL_GetProcAddress] Function 'glTexImage2D' loaded at 0x7FA449A4
[os4video_GL_GetProcAddress] Function 'glTexParameteri' loaded at 0x7FA4484C
[os4video_GL_GetProcAddress] Function 'glTexSubImage2D' loaded at 0x7FA44B00
[os4video_GL_GetProcAddress] Function 'glVertex2i' loaded at 0x7FA419EC
[os4video_GL_GetProcAddress] Function 'glViewport' loaded at 0x7FA4172C
[os4video_GL_MakeCurrent] Context 0x638A6F10
[os4video_SetCaption] Setting title to Irrlicht Engine - Loading...
[os4video_SetCaption] Setting icon caption to Irrlicht Engine - Loading...
[os4video_SetCaption] Setting title to Irrlicht Engine Mesh Viewer - [OpenGL 1.3]
[os4video_SetCaption] Setting icon caption to Irrlicht Engine Mesh Viewer - [OpenGL 1.3]
[os4video_EventHandler] Window active
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_HandleEnterLeaveWindow] Pointer entered window
[os4video_ResetCursor] Cursor image set
[os4video_HandleMouseMotion] X:80 Y:82 buttonstate:0
[os4video_WarpWMCursor] Warping mouse to 640, 480
[os4video_WarpWMCursor] Building event structure
[os4video_WarpWMCursor] Sending fake event
[os4video_WarpWMCursor] Done
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_HandleMouseMotion] X:1258 Y:952 buttonstate:0
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_HandleMouseMotion] X:1268 Y:957 buttonstate:0
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_HandleMouseMotion] X:1281 Y:960 buttonstate:0
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_HandleEnterLeaveWindow] Pointer left window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_HandleEnterLeaveWindow] Pointer entered window
[os4video_ResetCursor] Cursor image set
[os4video_HandleMouseMotion] X:1273 Y:948 buttonstate:0
[os4video_HandleMouseMotion] X:1266 Y:938 buttonstate:0
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_HandleMouseMotion] X:1257 Y:924 buttonstate:0
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_HandleMouseMotion] X:1247 Y:903 buttonstate:0
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_HandleMouseMotion] X:1236 Y:873 buttonstate:0
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_HandleEnterLeaveWindow] Pointer entered window
[os4video_ResetCursor] Cursor image set
[os4video_HandleMouseMotion] X:856 Y:1 buttonstate:0
[os4video_HandleMouseMotion] X:834 Y:10 buttonstate:0
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_HandleMouseMotion] X:820 Y:13 buttonstate:0
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_HandleMouseMotion] X:805 Y:16 buttonstate:0
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_SetVideoMode] Requesting new video mode 744x535x16
[os4video_SetVideoMode] Requested flags: ANYFORMAT OPENGL RESIZEABLE
[os4video_SetVideoMode] Current mode 1280x960x16
[os4video_SetVideoMode] Current mode flags ANYFORMAT OPENGL RESIZEABLE PREALLOC
[os4video_SetVideoMode] Current hwdata 0x648F1074
[os4video_SetVideoMode] Requesting window resize
[os4video_SetVideoMode] Surface flags differ
[os4video_SetVideoMode] Creating new display
[os4video_SetVideoMode] Deleting old display
[os4video_GL_Term] Here
[os4video_DeleteCurrentDisplay] Removing gadget
[os4video_DeleteCurrentDisplay] Disposing image
[os4video_DeleteCurrentDisplay] Closing window 0x677D3140
[os4video_SetVideoMode] Opening new display
[os4video_CreateDisplay] Creating a 744x535x16 windowed display
[os4video_CreateDisplay] Screen depth: 32 pixel format: 6
[os4video_GetBestWindowPosition] Visible screen: (0,0)/(1920x1080)
[os4video_OpenWindow] Trying to open window at (583,256) of size (744x535)
[os4video_CreateIconifyGadget] Called
[os4video_GL_Init] Initializing MiniGL (window 0x677D3140)...
[os4video_GL_Init] MiniGLBase 0x664B01F8
[os4video_GL_Init] IMiniGL 0x664B02A0
[os4video_AllocateBitMap] Allocating bitmap 744*535*16
[os4video_AllocateBitMap] Allocating bitmap 744*535*16
[os4video_GL_Init] MiniGL context 0x62A77F10 (0x62A77F10)
[os4video_SetVideoMode] New display created
[os4video_SetVideoMode] Obtained flags: ANYFORMAT OPENGL RESIZEABLE PREALLOC
[os4video_ShowWMCursor] Setting cursor 0x66275010
[os4video_ResetCursor] Cursor image set
[os4video_GL_GetProcAddress] Function 'glBegin' loaded at 0x7FA41968
[os4video_GL_GetProcAddress] Function 'glBindTexture' loaded at 0x7FA44A6C
[os4video_GL_GetProcAddress] Function 'glBlendFunc' loaded at 0x7FA41318
[os4video_GL_GetProcAddress] Function 'glColor4f' loaded at 0x7FA428D4
[os4video_GL_GetProcAddress] Function 'glCopyTexImage1D' loaded at 0x7FA44B5C
[os4video_GL_GetProcAddress] Function 'glDisable' loaded at 0x7FA414CC
[os4video_GL_GetProcAddress] Function 'glEnable' loaded at 0x7FA414B0
[os4video_GL_GetProcAddress] Function 'glEnd' loaded at 0x7FA41980
[os4video_GL_GetProcAddress] Function 'glFlush' loaded at 0x7FA41660
[os4video_GL_GetProcAddress] Function 'glGenTextures' loaded at 0x7FA44A2C
[os4video_GL_GetProcAddress] Function 'glGetString' loaded at 0x7FA41634
[os4video_GL_GetProcAddress] Function 'glLoadIdentity' loaded at 0x7FA4177C
[os4video_GL_GetProcAddress] Function 'glMatrixMode' loaded at 0x7FA416EC
[os4video_GL_GetProcAddress] Function 'glOrtho' loaded at 0x7FA41704
[os4video_GL_GetProcAddress] Function 'glPixelStorei' loaded at 0x7FA44568
[os4video_GL_GetProcAddress] Function 'glPopAttrib' loaded at 0x7FA415C8
[os4video_GL_GetProcAddress] Function 'glPopClientAttrib' loaded at 0x7FA415F4
[os4video_GL_GetProcAddress] Function 'glPopMatrix' loaded at 0x7FA41768
[os4video_GL_GetProcAddress] Function 'glPushAttrib' loaded at 0x7FA415B0
[os4video_GL_GetProcAddress] Function 'glPushClientAttrib' loaded at 0x7FA415DC
[os4video_GL_GetProcAddress] Function 'glPushMatrix' loaded at 0x7FA41754
[os4video_GL_GetProcAddress] Function 'glTexCoord2f' loaded at 0x7FA434B8
[os4video_GL_GetProcAddress] Function 'glTexEnvf' loaded at 0x7FA44754
[os4video_GL_GetProcAddress] Function 'glTexImage2D' loaded at 0x7FA449A4
[os4video_GL_GetProcAddress] Function 'glTexParameteri' loaded at 0x7FA4484C
[os4video_GL_GetProcAddress] Function 'glTexSubImage2D' loaded at 0x7FA44B00
[os4video_GL_GetProcAddress] Function 'glVertex2i' loaded at 0x7FA419EC
[os4video_GL_GetProcAddress] Function 'glViewport' loaded at 0x7FA4172C
[os4video_GL_MakeCurrent] Context 0x62A77F10
[os4video_EventHandler] Window active
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_HandleEnterLeaveWindow] Pointer entered window
[os4video_ResetCursor] Cursor image set
[os4video_HandleMouseMotion] X:337 Y:186 buttonstate:0
[os4video_HandleMouseMotion] X:337 Y:186 buttonstate:0
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_HandleMouseMotion] X:337 Y:186 buttonstate:0
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_SetVideoMode] Requesting new video mode 985x712x16
[os4video_SetVideoMode] Requested flags: ANYFORMAT OPENGL RESIZEABLE
[os4video_SetVideoMode] Current mode 744x535x16
[os4video_SetVideoMode] Current mode flags ANYFORMAT OPENGL RESIZEABLE PREALLOC
[os4video_SetVideoMode] Current hwdata 0x648F1074
[os4video_SetVideoMode] Requesting window resize
[os4video_SetVideoMode] Surface flags differ
[os4video_SetVideoMode] Creating new display
[os4video_SetVideoMode] Deleting old display
[os4video_GL_Term] Here
[os4video_DeleteCurrentDisplay] Removing gadget
[os4video_DeleteCurrentDisplay] Disposing image
[os4video_DeleteCurrentDisplay] Closing window 0x677D3140
[os4video_SetVideoMode] Opening new display
[os4video_CreateDisplay] Creating a 985x712x16 windowed display
[os4video_CreateDisplay] Screen depth: 32 pixel format: 6
[os4video_GetBestWindowPosition] Visible screen: (0,0)/(1920x1080)
[os4video_OpenWindow] Trying to open window at (462,168) of size (985x712)
[os4video_CreateIconifyGadget] Called
[os4video_GL_Init] Initializing MiniGL (window 0x677D3140)...
[os4video_GL_Init] MiniGLBase 0x664B01F8
[os4video_GL_Init] IMiniGL 0x664B02A0
[os4video_AllocateBitMap] Allocating bitmap 985*712*16
[os4video_AllocateBitMap] Allocating bitmap 985*712*16
[os4video_GL_Init] MiniGL context 0x6381EF10 (0x6381EF10)
[os4video_SetVideoMode] New display created
[os4video_SetVideoMode] Obtained flags: ANYFORMAT OPENGL RESIZEABLE PREALLOC
[os4video_ShowWMCursor] Setting cursor 0x66275010
[os4video_ResetCursor] Cursor image set
[os4video_GL_GetProcAddress] Function 'glBegin' loaded at 0x7FA41968
[os4video_GL_GetProcAddress] Function 'glBindTexture' loaded at 0x7FA44A6C
[os4video_GL_GetProcAddress] Function 'glBlendFunc' loaded at 0x7FA41318
[os4video_GL_GetProcAddress] Function 'glColor4f' loaded at 0x7FA428D4
[os4video_GL_GetProcAddress] Function 'glCopyTexImage1D' loaded at 0x7FA44B5C
[os4video_GL_GetProcAddress] Function 'glDisable' loaded at 0x7FA414CC
[os4video_GL_GetProcAddress] Function 'glEnable' loaded at 0x7FA414B0
[os4video_GL_GetProcAddress] Function 'glEnd' loaded at 0x7FA41980
[os4video_GL_GetProcAddress] Function 'glFlush' loaded at 0x7FA41660
[os4video_GL_GetProcAddress] Function 'glGenTextures' loaded at 0x7FA44A2C
[os4video_GL_GetProcAddress] Function 'glGetString' loaded at 0x7FA41634
[os4video_GL_GetProcAddress] Function 'glLoadIdentity' loaded at 0x7FA4177C
[os4video_GL_GetProcAddress] Function 'glMatrixMode' loaded at 0x7FA416EC
[os4video_GL_GetProcAddress] Function 'glOrtho' loaded at 0x7FA41704
[os4video_GL_GetProcAddress] Function 'glPixelStorei' loaded at 0x7FA44568
[os4video_GL_GetProcAddress] Function 'glPopAttrib' loaded at 0x7FA415C8
[os4video_GL_GetProcAddress] Function 'glPopClientAttrib' loaded at 0x7FA415F4
[os4video_GL_GetProcAddress] Function 'glPopMatrix' loaded at 0x7FA41768
[os4video_GL_GetProcAddress] Function 'glPushAttrib' loaded at 0x7FA415B0
[os4video_GL_GetProcAddress] Function 'glPushClientAttrib' loaded at 0x7FA415DC
[os4video_GL_GetProcAddress] Function 'glPushMatrix' loaded at 0x7FA41754
[os4video_GL_GetProcAddress] Function 'glTexCoord2f' loaded at 0x7FA434B8
[os4video_GL_GetProcAddress] Function 'glTexEnvf' loaded at 0x7FA44754
[os4video_GL_GetProcAddress] Function 'glTexImage2D' loaded at 0x7FA449A4
[os4video_GL_GetProcAddress] Function 'glTexParameteri' loaded at 0x7FA4484C
[os4video_GL_GetProcAddress] Function 'glTexSubImage2D' loaded at 0x7FA44B00
[os4video_GL_GetProcAddress] Function 'glVertex2i' loaded at 0x7FA419EC
[os4video_GL_GetProcAddress] Function 'glViewport' loaded at 0x7FA4172C
[os4video_GL_MakeCurrent] Context 0x6381EF10
[os4video_EventHandler] Window active
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_HandleEnterLeaveWindow] Pointer entered window
[os4video_ResetCursor] Cursor image set
[os4video_HandleMouseMotion] X:833 Y:418 buttonstate:0
[os4video_HandleMouseMotion] X:844 Y:451 buttonstate:0
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_HandleMouseMotion] X:848 Y:469 buttonstate:0
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_HandleMouseMotion] X:853 Y:487 buttonstate:0
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_HandleMouseMotion] X:856 Y:506 buttonstate:0
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_HandleMouseMotion] X:862 Y:538 buttonstate:0
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_HandleMouseMotion] X:868 Y:556 buttonstate:0
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_HandleMouseMotion] X:873 Y:573 buttonstate:0
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_HandleMouseMotion] X:878 Y:589 buttonstate:0
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_HandleMouseMotion] X:887 Y:605 buttonstate:0
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_HandleEnterLeaveWindow] Pointer entered window
[os4video_ResetCursor] Cursor image set
[os4video_HandleMouseMotion] X:961 Y:708 buttonstate:0
[os4video_HandleMouseMotion] X:954 Y:698 buttonstate:0
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_HandleMouseMotion] X:942 Y:684 buttonstate:0
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_HandleEnterLeaveWindow] Pointer entered window
[os4video_ResetCursor] Cursor image set
[os4video_HandleMouseMotion] X:167 Y:277 buttonstate:0
[os4video_HandleMouseMotion] X:165 Y:264 buttonstate:0
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_HandleMouseMotion] X:165 Y:260 buttonstate:0
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_HandleMouseMotion] X:163 Y:257 buttonstate:0
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_HandleMouseMotion] X:160 Y:252 buttonstate:0
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_HandleMouseMotion] X:159 Y:246 buttonstate:0
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_HandleMouseMotion] X:105 Y:8 buttonstate:0
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_HandleMouseMotion] X:100 Y:-5 buttonstate:0
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_HandleEnterLeaveWindow] Pointer left window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_SetVideoMode] Requesting new video mode 172x281x16
[os4video_SetVideoMode] Requested flags: ANYFORMAT OPENGL RESIZEABLE
[os4video_SetVideoMode] Current mode 985x712x16
[os4video_SetVideoMode] Current mode flags ANYFORMAT OPENGL RESIZEABLE PREALLOC
[os4video_SetVideoMode] Current hwdata 0x648F1074
[os4video_SetVideoMode] Requesting window resize
[os4video_SetVideoMode] Surface flags differ
[os4video_SetVideoMode] Creating new display
[os4video_SetVideoMode] Deleting old display
[os4video_GL_Term] Here
[os4video_DeleteCurrentDisplay] Removing gadget
[os4video_DeleteCurrentDisplay] Disposing image
[os4video_DeleteCurrentDisplay] Closing window 0x677D3140
[os4video_SetVideoMode] Opening new display
[os4video_CreateDisplay] Creating a 172x281x16 windowed display
[os4video_CreateDisplay] Screen depth: 32 pixel format: 6
[os4video_GetBestWindowPosition] Visible screen: (0,0)/(1920x1080)
[os4video_OpenWindow] Trying to open window at (869,383) of size (172x281)
[os4video_CreateIconifyGadget] Called
[os4video_GL_Init] Initializing MiniGL (window 0x677D3140)...
[os4video_GL_Init] MiniGLBase 0x664B01F8
[os4video_GL_Init] IMiniGL 0x664B02A0
[os4video_AllocateBitMap] Allocating bitmap 172*281*16
[os4video_AllocateBitMap] Allocating bitmap 172*281*16
[os4video_GL_Init] MiniGL context 0x64058F10 (0x64058F10)
[os4video_SetVideoMode] New display created
[os4video_SetVideoMode] Obtained flags: ANYFORMAT OPENGL RESIZEABLE PREALLOC
[os4video_ShowWMCursor] Setting cursor 0x66275010
[os4video_ResetCursor] Cursor image set
[os4video_GL_GetProcAddress] Function 'glBegin' loaded at 0x7FA41968
[os4video_GL_GetProcAddress] Function 'glBindTexture' loaded at 0x7FA44A6C
[os4video_GL_GetProcAddress] Function 'glBlendFunc' loaded at 0x7FA41318
[os4video_GL_GetProcAddress] Function 'glColor4f' loaded at 0x7FA428D4
[os4video_GL_GetProcAddress] Function 'glCopyTexImage1D' loaded at 0x7FA44B5C
[os4video_GL_GetProcAddress] Function 'glDisable' loaded at 0x7FA414CC
[os4video_GL_GetProcAddress] Function 'glEnable' loaded at 0x7FA414B0
[os4video_GL_GetProcAddress] Function 'glEnd' loaded at 0x7FA41980
[os4video_GL_GetProcAddress] Function 'glFlush' loaded at 0x7FA41660
[os4video_GL_GetProcAddress] Function 'glGenTextures' loaded at 0x7FA44A2C
[os4video_GL_GetProcAddress] Function 'glGetString' loaded at 0x7FA41634
[os4video_GL_GetProcAddress] Function 'glLoadIdentity' loaded at 0x7FA4177C
[os4video_GL_GetProcAddress] Function 'glMatrixMode' loaded at 0x7FA416EC
[os4video_GL_GetProcAddress] Function 'glOrtho' loaded at 0x7FA41704
[os4video_GL_GetProcAddress] Function 'glPixelStorei' loaded at 0x7FA44568
[os4video_GL_GetProcAddress] Function 'glPopAttrib' loaded at 0x7FA415C8
[os4video_GL_GetProcAddress] Function 'glPopClientAttrib' loaded at 0x7FA415F4
[os4video_GL_GetProcAddress] Function 'glPopMatrix' loaded at 0x7FA41768
[os4video_GL_GetProcAddress] Function 'glPushAttrib' loaded at 0x7FA415B0
[os4video_GL_GetProcAddress] Function 'glPushClientAttrib' loaded at 0x7FA415DC
[os4video_GL_GetProcAddress] Function 'glPushMatrix' loaded at 0x7FA41754
[os4video_GL_GetProcAddress] Function 'glTexCoord2f' loaded at 0x7FA434B8
[os4video_GL_GetProcAddress] Function 'glTexEnvf' loaded at 0x7FA44754
[os4video_GL_GetProcAddress] Function 'glTexImage2D' loaded at 0x7FA449A4
[os4video_GL_GetProcAddress] Function 'glTexParameteri' loaded at 0x7FA4484C
[os4video_GL_GetProcAddress] Function 'glTexSubImage2D' loaded at 0x7FA44B00
[os4video_GL_GetProcAddress] Function 'glVertex2i' loaded at 0x7FA419EC
[os4video_GL_GetProcAddress] Function 'glViewport' loaded at 0x7FA4172C
[os4video_GL_MakeCurrent] Context 0x64058F10
[os4video_EventHandler] Window active
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_HandleEnterLeaveWindow] Pointer left window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_HandleEnterLeaveWindow] Pointer entered window
[os4video_ResetCursor] Cursor image set
[os4video_HandleMouseMotion] X:7 Y:99 buttonstate:0
[os4video_HandleMouseMotion] X:17 Y:102 buttonstate:0
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_HandleMouseMotion] X:25 Y:105 buttonstate:0
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_HandleMouseMotion] X:34 Y:108 buttonstate:0
[os4video_CheckPointerInWindow] Pointer inside window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_CheckPointerInWindow] Pointer outside of window
[os4video_FreeWMCursor] Freeing 0x66275010
[os4video_VideoQuit] In VideoQuit, this = 0x68656BC0
[os4video_VideoQuit] DeleteCurrentDisplay
[os4video_GL_Term] Here
[os4video_DeleteCurrentDisplay] Removing gadget
[os4video_DeleteCurrentDisplay] Disposing image
[os4video_DeleteCurrentDisplay] Closing window 0x677D3140
[os4video_VideoQuit] Checking pubscreen
[os4video_FreeHWSurface] Freeing HW surface 0x640CF258
[SDL_SYS_WaitThread] Waiting on thread 0x63EF41F0 to terminate (current signals 536871170)
[SDL_SYS_WaitThread] Thread 0x63EF41F0 joining...
[ExitThread] Exiting process 0x649E97B0 (SDL thread 0x63EF41F0) with return value 0
[os4timer_Destroy] Freeing timer for process 0x649E97B0
[SDL_SYS_WaitThread] Some thread has exited
[ExitThread] Farewell from process 0x649E97B0
[SDL_SYS_WaitThread] Thread 0x63EF41F0 exited
[os4video_quit] Deleting input device
[os4video_quit] Deleting IORequest
[os4video_quit] Deleting MsgPort
[os4video_quit] Done
[os4thread_quit] Killing all remaining processes
[os4thread_quit] Terminating lists
[os4timer_Destroy] Freeing timer for process 0x68CA1AD0
[os4thread_quit] Done
[os4timer_quit] Called
[os4_quit] SDL QUIT
Have any ideas ?:) Sure we can rollback prealloc commit, but then old bug will return, so probabaly it need to be revisited ? Have any ideas what part of code can cause this, so i can fast-check it ?
Dunno, maybe SDL_PREALLOC should be ignored totally in both requested and current flags when comparing. Theoretically user shouldn't be ever providing it for SDL_SetVideoMode.
@Capehill Yeah ! That did the trick : it works now and for old game because of which we do that prealoc fix, and with irrlicht examples. Do we need to create a ticket about so it will be not forgotten ?
ps. Is their new generated "configure" for sdl1.2.16 stop working on our side and because of which pull-requests conflicts ? Maybe we can just remove that configure at all and forget about, as we anyway have "makefile.amigaos4" which we use. And SDL1 is probabaly not that thing which will have any major changes anymore, so maybe we even don't need that configure anymore (to avoid spending time on fixing it)
Create (or reopen?) a ticket for PREALLOC if you want, this one I try to fix this weekend. Generally tickets are better so that we don't have to worry about remembering everything.
Regarding configure script, I was thinking just applying "theirs" changes and maybe later trying to reapply "ours" changes but my motivation to work with 1 megabyte configure script is very low. Technically 1.2.16 hasn't been released so I haven't been looking into this much. As you say, makefile.amigaos4 works just fine.
Create (or reopen?) a ticket for PREALLOC if you want, this one I try to fix this weekend. Generally tickets are better so that we don't have to worry about remembering everything.
I see you already deal with it , thanks!
Quote:
Regarding configure script, I was thinking just applying "theirs" changes and maybe later trying to reapply "ours" changes but my motivation to work with 1 megabyte configure script is very low. Technically 1.2.16 hasn't been released so I haven't been looking into this much. As you say, makefile.amigaos4 works just fine.
@Capehill I just see warpmouse branch, are you trying to make SDL_WarpMouse behave as expected ? If so, i tested it, it still didn't work. I put some printfs inside of os4video_WarpWMCursor(), and it never come inside of actual sending to input device, i.e .that "if (warpHostPointer && (inputReq != NULL))" never pass.