Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
90 user(s) are online (80 user(s) are browsing Forums)

Members: 0
Guests: 90

more...

Support us!

Headlines

 
  Register To Post  

« 1 ... 10 11 12 (13) 14 15 16 ... 18 »
Re: SDL1 open issues
Just can't stay away
Just can't stay away


See User information
@kas1e

ENTER/LEAVE are about mouse focus. FOCUS_LOST/GAINED are about keyboard focus. Which one is happening a lot?

Go to top
Re: SDL1 open issues
Home away from home
Home away from home


See User information
@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 ?

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: SDL1 open issues
Home away from home
Home away from home


See User information
@Capehill
Found some simple test case in the network, which just create 3 sdl2 windows and do check for keyboard/mouse focuses.

There is:
https://lazyfoo.net/tutorials/SDL/36_m ... s/36_multiple_windows.zip

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.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: SDL1 open issues
Just can't stay away
Just can't stay away


See User information
@kas1e

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.

Go to top
Re: SDL1 open issues
Home away from home
Home away from home


See User information
@Capehill
Quote:

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 ?)

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: SDL1 open issues
Home away from home
Home away from home


See User information
@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.

and that "iswindowactive" are:

Quote:

bool CIrrDeviceSDL::isWindowActive() const
{
return (WindowHasFocus && !WindowMinimized);
}


So again that WindowHasFocus, which are in SDL1 version go like this:

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;


Need to find out some SDL1 test case and check how it should reacts.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: SDL1 open issues
Home away from home
Home away from home


See User information
@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.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: SDL1 open issues
Home away from home
Home away from home


See User information
@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):

#include <SDL/SDL.h>
#include <stdbool.h>

SDL_Surface *screen;
SDL_Event event;

int main(int argcchar *argv[]) {
    
    
SDL_Init(SDL_INIT_VIDEO);
    
screen SDL_SetVideoMode(64048016SDL_SWSURFACE);

    
SDL_WarpMouse(640/2480/2);
    
    
SDL_WM_SetCaption("Simple Window""Simple Window");

    
bool done=false;

    while(!
done) {
        while(
SDL_PollEvent(&event)) {
                if (
event.type == SDL_QUIT) {
                    
done=true;
                }
        }
    }
    
    
SDL_Quit();

    return 
0;
}


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.

Is there needs to create a ticket ?


Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: SDL1 open issues
Just can't stay away
Just can't stay away


See User information
@kas1e

WarpMouse has been designed like that https://github.com/AmigaPorts/SDL/blob ... amigaos4/SDL_os4wm.c#L268

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.

If Irrlicht wants to take over the mouse, why not capture it? Does Win32 backend capture mouse inside the window?

Go to top
Re: SDL1 open issues
Home away from home
Home away from home


See User information
@Capehill
Quote:

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.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: SDL1 open issues
Just can't stay away
Just can't stay away


See User information
@kas1e

Quote:

Do you mean when irrlicht compiled with win32 device usage instead of sdl1 ?


Irrlicht-Win32 backend.

SDL allows capturing/trapping (not only warping) the mouse pointer inside the window frame.

Quote:

if we think that SDL_WarpMouse should stay as it, then not big deal, let it be like this of course.


It can be changed. Let's say if both Windows and Linux allows this then it seems to be the desired way.

Go to top
Re: SDL1 open issues
Home away from home
Home away from home


See User information
@Capehill
Quote:

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).

Check this out what i mean:

https://youtu.be/rNg2Sge-ygo


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.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: SDL1 open issues
Home away from home
Home away from home


See User information
@Capehill

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:

https://youtu.be/dX1roh8Blhc


And now, next commit when PREALLOC fix was implemented, that how it start to be:


https://youtu.be/PODy01iUGtM

As you can see there is 2 issues:

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_initializeSDL 1.2.15
[os4timer_initializetimer=0x6FF51050
[os4timer_initializeITimer=0x6FF9D400
[os4timer_InitInitializing timer for process 0x68CA1AD0
[os4timer_InitDone
[os4thread_initializePrimary process 0x68CA1AD0
[os4video_initializeDevice opened
[SDL_CreateSemaphoreSemaphore 0x640CF150 created
[SDL_SYS_CreateThreadCreating child thread 0x63EF41F0 with args 0x640CF138
[SDL_SYS_CreateThreadChild process 0x649E97B0 (SDL thread 0x63ef41f0)
[
RunThreadRunning process 0x649E97B0 (SDL thread 0x63EF41F0)
[
blockOnSemProcess 0x68CA1AD0 blocked on semaphore 0x640CF150 (signals 0x100)
[
os4timer_InitInitializing timer for process 0x649E97B0
[blockOnSemProcess 0x68CA1AD0 starts to wait for signals
[os4timer_InitDone
[SDL_SemPostProcess 0x649E97B0 incrementing semaphore 0x640CF150 (count 0)
[
blockOnSemProcess 0x68CA1AD0 wait over
[blockOnSemProcess 0x68CA1AD0 obtained semaphore
[blockOnSemProcess 0x68CA1AD0 decrementing semaphore 0x640CF150 (count 1)
[
SDL_DestroySemaphoreDestroying semaphore 0x640CF150
[SDL_DestroySemaphoreDone
[os4video_CreateDeviceCreating OS4 video device
[os4video_FindApplicationNameCurrent program name '09.Meshviewer_mgl_prealoc'
[os4video_FindApplicationNameApplication name'09.Meshviewer_mgl_prealoc'
[os4video_CreateDeviceDevice created
[os4video_VideoInitFree video memory 211519232
[SDL_DestroyMutexNULL mutex
[os4video_CreateWMCursorCreating cursor 16x16
[os4video_CreateWMCursorcursor 0x66275010
[os4video_ShowWMCursorSetting cursor 0x66275010
[enumerateJoysticksENUMJOYid=1678767720,type=1,axes=2,buttons=3
[enumerateJoysticksENUMJOYid=1678767720,type=3,axes=0,buttons=4
[enumerateJoysticksJoystick 'PCI_GamePort' (AI ID=3328has no axes/buttons ignoring.
[
enumerateJoysticksENUMJOYid=1678767720,type=3,axes=0,buttons=8
[enumerateJoysticksJoystick 'PCI_HornetGP' (AI ID=7936has no axes/buttons ignoring.
[
enumerateJoysticksENUMJOYid=1678767720,type=3,axes=0,buttons=4
[enumerateJoysticksJoystick 'PCI_sblive' (AI ID=3840has no axes/buttons ignoring.
[
enumerateJoysticksENUMJOYid=1678767720,type=3,axes=0,buttons=8
[enumerateJoysticksJoystick 'PCI_sblive_hornet' (AI ID=24320has no axes/buttons ignoring.
[
SDL_SYS_JoystickInitEnumDevices returned0
[SDL_SYS_JoystickInitFound 0 joysticks
[os4video_SetVideoModeRequesting new video mode 1280x960x16
[os4video_SetVideoModeRequested flagsANYFORMAT OPENGL 
[os4video_SetVideoModeCurrent mode 0x0x32
[os4video_SetVideoModeCurrent mode flags 
[os4video_SetVideoModeCurrent hwdata 0x00000000
[os4video_SetVideoModeCreating new display
[os4video_SetVideoModeDeleting old display
[os4video_SetVideoModeOpening new display
[os4video_CreateDisplayCreating a 1280x960x16 windowed display
[os4video_CreateDisplayScreen depth32 pixel format6
[os4video_GetBestWindowPositionVisible screen: (0,0)/(1920x1080)
[
os4video_OpenWindowTrying to open window at (315,44of size (1280x960)
[
os4video_CreateIconifyGadgetCalled
[os4video_GL_InitInitializing MiniGL (window 0x677D3140)...
[
os4video_GL_InitMiniGLBase 0x664B01F8
[os4video_GL_InitIMiniGL 0x664B02A0
[os4video_AllocateBitMapAllocating bitmap 1280*960*16
[os4video_AllocateBitMapAllocating bitmap 1280*960*16
[os4video_GL_InitMiniGL context 0x6375CF10 (0x6375CF10)
[
os4video_SetVideoMode] New display created
[os4video_SetVideoModeObtained flagsANYFORMAT OPENGL PREALLOC
[os4video_ShowWMCursorSetting cursor 0x66275010
[os4video_ResetCursorCursor 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_MakeCurrentContext 0x6375CF10
[os4video_GL_GetProcAddress] Function 'glActiveTextureARB' loaded at 0x7FA43600
[os4video_GL_GetProcAddress] Function 'glClientActiveTextureARB' loaded at 0x7FA435FC
[os4video_GL_GetProcAddressFailed to load function 'glGenProgramsARB'
[os4video_GL_GetProcAddressFailed to load function 'glGenProgramsNV'
[os4video_GL_GetProcAddressFailed to load function 'glBindProgramARB'
[os4video_GL_GetProcAddressFailed to load function 'glBindProgramNV'
[os4video_GL_GetProcAddressFailed to load function 'glProgramStringARB'
[os4video_GL_GetProcAddressFailed to load function 'glLoadProgramNV'
[os4video_GL_GetProcAddressFailed to load function 'glDeleteProgramsARB'
[os4video_GL_GetProcAddressFailed to load function 'glDeleteProgramsNV'
[os4video_GL_GetProcAddressFailed to load function 'glProgramLocalParameter4fvARB'
[os4video_GL_GetProcAddressFailed to load function 'glCreateShaderObjectARB'
[os4video_GL_GetProcAddressFailed to load function 'glCreateShader'
[os4video_GL_GetProcAddressFailed to load function 'glShaderSourceARB'
[os4video_GL_GetProcAddressFailed to load function 'glShaderSource'
[os4video_GL_GetProcAddressFailed to load function 'glCompileShaderARB'
[os4video_GL_GetProcAddressFailed to load function 'glCompileShader'
[os4video_GL_GetProcAddressFailed to load function 'glCreateProgramObjectARB'
[os4video_GL_GetProcAddressFailed to load function 'glCreateProgram'
[os4video_GL_GetProcAddressFailed to load function 'glAttachObjectARB'
[os4video_GL_GetProcAddressFailed to load function 'glAttachShader'
[os4video_GL_GetProcAddressFailed to load function 'glLinkProgramARB'
[os4video_GL_GetProcAddressFailed to load function 'glLinkProgram'
[os4video_GL_GetProcAddressFailed to load function 'glUseProgramObjectARB'
[os4video_GL_GetProcAddressFailed to load function 'glUseProgram'
[os4video_GL_GetProcAddressFailed to load function 'glDeleteObjectARB'
[os4video_GL_GetProcAddressFailed to load function 'glDeleteProgram'
[os4video_GL_GetProcAddressFailed to load function 'glDeleteShader'
[os4video_GL_GetProcAddressFailed to load function 'glGetAttachedShaders'
[os4video_GL_GetProcAddressFailed to load function 'glGetAttachedObjectsARB'
[os4video_GL_GetProcAddressFailed to load function 'glGetInfoLogARB'
[os4video_GL_GetProcAddressFailed to load function 'glGetShaderInfoLog'
[os4video_GL_GetProcAddressFailed to load function 'glGetProgramInfoLog'
[os4video_GL_GetProcAddressFailed to load function 'glGetObjectParameterivARB'
[os4video_GL_GetProcAddressFailed to load function 'glGetShaderiv'
[os4video_GL_GetProcAddressFailed to load function 'glGetProgramiv'
[os4video_GL_GetProcAddressFailed to load function 'glGetUniformLocationARB'
[os4video_GL_GetProcAddressFailed to load function 'glGetUniformLocation'
[os4video_GL_GetProcAddressFailed to load function 'glUniform1fvARB'
[os4video_GL_GetProcAddressFailed to load function 'glUniform2fvARB'
[os4video_GL_GetProcAddressFailed to load function 'glUniform3fvARB'
[os4video_GL_GetProcAddressFailed to load function 'glUniform4fvARB'
[os4video_GL_GetProcAddressFailed to load function 'glUniform1ivARB'
[os4video_GL_GetProcAddressFailed to load function 'glUniform2ivARB'
[os4video_GL_GetProcAddressFailed to load function 'glUniform3ivARB'
[os4video_GL_GetProcAddressFailed to load function 'glUniform4ivARB'
[os4video_GL_GetProcAddressFailed to load function 'glUniformMatrix2fvARB'
[os4video_GL_GetProcAddressFailed to load function 'glUniformMatrix3fvARB'
[os4video_GL_GetProcAddressFailed to load function 'glUniformMatrix4fvARB'
[os4video_GL_GetProcAddressFailed to load function 'glGetActiveUniformARB'
[os4video_GL_GetProcAddressFailed to load function 'glGetActiveUniform'
[os4video_GL_GetProcAddressFailed to load function 'glPointParameterfARB'
[os4video_GL_GetProcAddressFailed to load function 'glPointParameterfvARB'
[os4video_GL_GetProcAddressFailed to load function 'glStencilFuncSeparate'
[os4video_GL_GetProcAddressFailed to load function 'glStencilOpSeparate'
[os4video_GL_GetProcAddressFailed to load function 'glStencilFuncSeparateATI'
[os4video_GL_GetProcAddressFailed to load function 'glStencilOpSeparateATI'
[os4video_GL_GetProcAddressFailed to load function 'glCompressedTexImage2D'
[os4video_GL_GetProcAddressFailed to load function 'glBindFramebuffer'
[os4video_GL_GetProcAddressFailed to load function 'glDeleteFramebuffers'
[os4video_GL_GetProcAddressFailed to load function 'glGenFramebuffers'
[os4video_GL_GetProcAddressFailed to load function 'glCheckFramebufferStatus'
[os4video_GL_GetProcAddressFailed to load function 'glFramebufferTexture2D'
[os4video_GL_GetProcAddressFailed to load function 'glBindRenderbuffer'
[os4video_GL_GetProcAddressFailed to load function 'glDeleteRenderbuffers'
[os4video_GL_GetProcAddressFailed to load function 'glGenRenderbuffers'
[os4video_GL_GetProcAddressFailed to load function 'glRenderbufferStorage'
[os4video_GL_GetProcAddressFailed to load function 'glFramebufferRenderbuffer'
[os4video_GL_GetProcAddressFailed to load function 'glGenerateMipmap'
[os4video_GL_GetProcAddressFailed to load function 'glBindFramebufferEXT'
[os4video_GL_GetProcAddressFailed to load function 'glDeleteFramebuffersEXT'
[os4video_GL_GetProcAddressFailed to load function 'glGenFramebuffersEXT'
[os4video_GL_GetProcAddressFailed to load function 'glCheckFramebufferStatusEXT'
[os4video_GL_GetProcAddressFailed to load function 'glFramebufferTexture2DEXT'
[os4video_GL_GetProcAddressFailed to load function 'glBindRenderbufferEXT'
[os4video_GL_GetProcAddressFailed to load function 'glDeleteRenderbuffersEXT'
[os4video_GL_GetProcAddressFailed to load function 'glGenRenderbuffersEXT'
[os4video_GL_GetProcAddressFailed to load function 'glRenderbufferStorageEXT'
[os4video_GL_GetProcAddressFailed to load function 'glFramebufferRenderbufferEXT'
[os4video_GL_GetProcAddressFailed to load function 'glGenerateMipmapEXT'
[os4video_GL_GetProcAddressFailed to load function 'glDrawBuffersARB'
[os4video_GL_GetProcAddressFailed to load function 'glDrawBuffersATI'
[os4video_GL_GetProcAddressFailed to load function 'glGenBuffersARB'
[os4video_GL_GetProcAddressFailed to load function 'glBindBufferARB'
[os4video_GL_GetProcAddressFailed to load function 'glBufferDataARB'
[os4video_GL_GetProcAddressFailed to load function 'glDeleteBuffersARB'
[os4video_GL_GetProcAddressFailed to load function 'glBufferSubDataARB'
[os4video_GL_GetProcAddressFailed to load function 'glGetBufferSubDataARB'
[os4video_GL_GetProcAddressFailed to load function 'glMapBufferARB'
[os4video_GL_GetProcAddressFailed to load function 'glUnmapBufferARB'
[os4video_GL_GetProcAddressFailed to load function 'glIsBufferARB'
[os4video_GL_GetProcAddressFailed to load function 'glGetBufferParameterivARB'
[os4video_GL_GetProcAddressFailed to load function 'glGetBufferPointervARB'
[os4video_GL_GetProcAddressFailed to load function 'glProvokingVertex'
[os4video_GL_GetProcAddressFailed to load function 'glProvokingVertexEXT'
[os4video_GL_GetProcAddressFailed to load function 'glColorMaskIndexedEXT'
[os4video_GL_GetProcAddressFailed to load function 'glEnableIndexedEXT'
[os4video_GL_GetProcAddressFailed to load function 'glDisableIndexedEXT'
[os4video_GL_GetProcAddressFailed to load function 'glBlendFuncIndexedAMD'
[os4video_GL_GetProcAddressFailed to load function 'glBlendFunciARB'
[os4video_GL_GetProcAddressFailed to load function 'glBlendEquationIndexedAMD'
[os4video_GL_GetProcAddressFailed to load function 'glBlendEquationiARB'
[os4video_GL_GetProcAddressFailed to load function 'glProgramParameteriARB'
[os4video_GL_GetProcAddressFailed to load function 'glProgramParameteriEXT'
[os4video_GL_GetProcAddressFailed to load function 'glGenQueriesARB'
[os4video_GL_GetProcAddressFailed to load function 'glDeleteQueriesARB'
[os4video_GL_GetProcAddressFailed to load function 'glIsQueryARB'
[os4video_GL_GetProcAddressFailed to load function 'glBeginQueryARB'
[os4video_GL_GetProcAddressFailed to load function 'glEndQueryARB'
[os4video_GL_GetProcAddressFailed to load function 'glGetQueryivARB'
[os4video_GL_GetProcAddressFailed to load function 'glGetQueryObjectivARB'
[os4video_GL_GetProcAddressFailed to load function 'glGetQueryObjectuivARB'
[os4video_GL_GetProcAddressFailed to load function 'glGenOcclusionQueriesNV'
[os4video_GL_GetProcAddressFailed to load function 'glDeleteOcclusionQueriesNV'
[os4video_GL_GetProcAddressFailed to load function 'glIsOcclusionQueryNV'
[os4video_GL_GetProcAddressFailed to load function 'glBeginOcclusionQueryNV'
[os4video_GL_GetProcAddressFailed to load function 'glEndOcclusionQueryNV'
[os4video_GL_GetProcAddressFailed to load function 'glGetOcclusionQueryivNV'
[os4video_GL_GetProcAddressFailed to load function 'glGetOcclusionQueryuivNV'
[os4video_GL_GetProcAddress] Function 'glBlendEquationEXT' loaded at 0x7FA46BDC
[os4video_GL_GetProcAddressFailed to load function 'glBlendEquation'
[os4video_SetVideoModeRequesting new video mode 1280x960x16
[os4video_SetVideoModeRequested flagsANYFORMAT OPENGL RESIZEABLE 
[os4video_SetVideoModeCurrent mode 1280x960x16
[os4video_SetVideoModeCurrent mode flags ANYFORMAT OPENGL PREALLOC
[os4video_SetVideoModeCurrent hwdata 0x648F1074
[os4video_SetVideoModeSurface flags differ
[os4video_SetVideoModeCreating new display
[os4video_SetVideoModeDeleting old display
[os4video_GL_TermHere
[os4video_DeleteCurrentDisplayRemoving gadget
[os4video_DeleteCurrentDisplayDisposing image
[os4video_DeleteCurrentDisplayClosing window 0x677D3140
[os4video_SetVideoModeOpening new display
[os4video_CreateDisplayCreating a 1280x960x16 windowed display
[os4video_CreateDisplayScreen depth32 pixel format6
[os4video_GetBestWindowPositionVisible screen: (0,0)/(1920x1080)
[
os4video_OpenWindowTrying to open window at (315,44of size (1280x960)
[
os4video_CreateIconifyGadgetCalled
[os4video_GL_InitInitializing MiniGL (window 0x677D3140)...
[
os4video_GL_InitMiniGLBase 0x664B01F8
[os4video_GL_InitIMiniGL 0x664B02A0
[os4video_AllocateBitMapAllocating bitmap 1280*960*16
[os4video_AllocateBitMapAllocating bitmap 1280*960*16
[os4video_GL_InitMiniGL context 0x638A6F10 (0x638A6F10)
[
os4video_SetVideoMode] New display created
[os4video_SetVideoModeObtained flagsANYFORMAT OPENGL RESIZEABLE PREALLOC
[os4video_ShowWMCursorSetting cursor 0x66275010
[os4video_ResetCursorCursor 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_MakeCurrentContext 0x638A6F10
[os4video_SetCaptionSetting title to Irrlicht Engine Loading...
[
os4video_SetCaptionSetting icon caption to Irrlicht Engine Loading...
[
os4video_SetCaptionSetting title to Irrlicht Engine Mesh Viewer - [OpenGL 1.3]
[
os4video_SetCaptionSetting icon caption to Irrlicht Engine Mesh Viewer - [OpenGL 1.3]
[
os4video_EventHandlerWindow active
[os4video_CheckPointerInWindowPointer inside window
[os4video_HandleEnterLeaveWindowPointer entered window
[os4video_ResetCursorCursor image set
[os4video_HandleMouseMotionX:80 Y:82 buttonstate:0
[os4video_WarpWMCursorWarping mouse to 640480
[os4video_WarpWMCursorBuilding event structure
[os4video_WarpWMCursorSending fake event
[os4video_WarpWMCursorDone
[os4video_CheckPointerInWindowPointer inside window
[os4video_HandleMouseMotionX:1258 Y:952 buttonstate:0
[os4video_CheckPointerInWindowPointer inside window
[os4video_HandleMouseMotionX:1268 Y:957 buttonstate:0
[os4video_CheckPointerInWindowPointer inside window
[os4video_HandleMouseMotionX:1281 Y:960 buttonstate:0
[os4video_CheckPointerInWindowPointer outside of window
[os4video_HandleEnterLeaveWindowPointer left window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer inside window
[os4video_HandleEnterLeaveWindowPointer entered window
[os4video_ResetCursorCursor image set
[os4video_HandleMouseMotionX:1273 Y:948 buttonstate:0
[os4video_HandleMouseMotionX:1266 Y:938 buttonstate:0
[os4video_CheckPointerInWindowPointer inside window
[os4video_HandleMouseMotionX:1257 Y:924 buttonstate:0
[os4video_CheckPointerInWindowPointer inside window
[os4video_HandleMouseMotionX:1247 Y:903 buttonstate:0
[os4video_CheckPointerInWindowPointer inside window
[os4video_HandleMouseMotionX:1236 Y:873 buttonstate:0
[os4video_CheckPointerInWindowPointer inside window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer inside window
[os4video_HandleEnterLeaveWindowPointer entered window
[os4video_ResetCursorCursor image set
[os4video_HandleMouseMotionX:856 Y:1 buttonstate:0
[os4video_HandleMouseMotionX:834 Y:10 buttonstate:0
[os4video_CheckPointerInWindowPointer inside window
[os4video_HandleMouseMotionX:820 Y:13 buttonstate:0
[os4video_CheckPointerInWindowPointer inside window
[os4video_HandleMouseMotionX:805 Y:16 buttonstate:0
[os4video_CheckPointerInWindowPointer inside window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_SetVideoModeRequesting new video mode 744x535x16
[os4video_SetVideoModeRequested flagsANYFORMAT OPENGL RESIZEABLE 
[os4video_SetVideoModeCurrent mode 1280x960x16
[os4video_SetVideoModeCurrent mode flags ANYFORMAT OPENGL RESIZEABLE PREALLOC
[os4video_SetVideoModeCurrent hwdata 0x648F1074
[os4video_SetVideoModeRequesting window resize
[os4video_SetVideoModeSurface flags differ
[os4video_SetVideoModeCreating new display
[os4video_SetVideoModeDeleting old display
[os4video_GL_TermHere
[os4video_DeleteCurrentDisplayRemoving gadget
[os4video_DeleteCurrentDisplayDisposing image
[os4video_DeleteCurrentDisplayClosing window 0x677D3140
[os4video_SetVideoModeOpening new display
[os4video_CreateDisplayCreating a 744x535x16 windowed display
[os4video_CreateDisplayScreen depth32 pixel format6
[os4video_GetBestWindowPositionVisible screen: (0,0)/(1920x1080)
[
os4video_OpenWindowTrying to open window at (583,256of size (744x535)
[
os4video_CreateIconifyGadgetCalled
[os4video_GL_InitInitializing MiniGL (window 0x677D3140)...
[
os4video_GL_InitMiniGLBase 0x664B01F8
[os4video_GL_InitIMiniGL 0x664B02A0
[os4video_AllocateBitMapAllocating bitmap 744*535*16
[os4video_AllocateBitMapAllocating bitmap 744*535*16
[os4video_GL_InitMiniGL context 0x62A77F10 (0x62A77F10)
[
os4video_SetVideoMode] New display created
[os4video_SetVideoModeObtained flagsANYFORMAT OPENGL RESIZEABLE PREALLOC
[os4video_ShowWMCursorSetting cursor 0x66275010
[os4video_ResetCursorCursor 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_MakeCurrentContext 0x62A77F10
[os4video_EventHandlerWindow active
[os4video_CheckPointerInWindowPointer inside window
[os4video_HandleEnterLeaveWindowPointer entered window
[os4video_ResetCursorCursor image set
[os4video_HandleMouseMotionX:337 Y:186 buttonstate:0
[os4video_HandleMouseMotionX:337 Y:186 buttonstate:0
[os4video_CheckPointerInWindowPointer inside window
[os4video_HandleMouseMotionX:337 Y:186 buttonstate:0
[os4video_CheckPointerInWindowPointer inside window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_SetVideoModeRequesting new video mode 985x712x16
[os4video_SetVideoModeRequested flagsANYFORMAT OPENGL RESIZEABLE 
[os4video_SetVideoModeCurrent mode 744x535x16
[os4video_SetVideoModeCurrent mode flags ANYFORMAT OPENGL RESIZEABLE PREALLOC
[os4video_SetVideoModeCurrent hwdata 0x648F1074
[os4video_SetVideoModeRequesting window resize
[os4video_SetVideoModeSurface flags differ
[os4video_SetVideoModeCreating new display
[os4video_SetVideoModeDeleting old display
[os4video_GL_TermHere
[os4video_DeleteCurrentDisplayRemoving gadget
[os4video_DeleteCurrentDisplayDisposing image
[os4video_DeleteCurrentDisplayClosing window 0x677D3140
[os4video_SetVideoModeOpening new display
[os4video_CreateDisplayCreating a 985x712x16 windowed display
[os4video_CreateDisplayScreen depth32 pixel format6
[os4video_GetBestWindowPositionVisible screen: (0,0)/(1920x1080)
[
os4video_OpenWindowTrying to open window at (462,168of size (985x712)
[
os4video_CreateIconifyGadgetCalled
[os4video_GL_InitInitializing MiniGL (window 0x677D3140)...
[
os4video_GL_InitMiniGLBase 0x664B01F8
[os4video_GL_InitIMiniGL 0x664B02A0
[os4video_AllocateBitMapAllocating bitmap 985*712*16
[os4video_AllocateBitMapAllocating bitmap 985*712*16
[os4video_GL_InitMiniGL context 0x6381EF10 (0x6381EF10)
[
os4video_SetVideoMode] New display created
[os4video_SetVideoModeObtained flagsANYFORMAT OPENGL RESIZEABLE PREALLOC
[os4video_ShowWMCursorSetting cursor 0x66275010
[os4video_ResetCursorCursor 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_MakeCurrentContext 0x6381EF10
[os4video_EventHandlerWindow active
[os4video_CheckPointerInWindowPointer inside window
[os4video_HandleEnterLeaveWindowPointer entered window
[os4video_ResetCursorCursor image set
[os4video_HandleMouseMotionX:833 Y:418 buttonstate:0
[os4video_HandleMouseMotionX:844 Y:451 buttonstate:0
[os4video_CheckPointerInWindowPointer inside window
[os4video_HandleMouseMotionX:848 Y:469 buttonstate:0
[os4video_CheckPointerInWindowPointer inside window
[os4video_HandleMouseMotionX:853 Y:487 buttonstate:0
[os4video_CheckPointerInWindowPointer inside window
[os4video_HandleMouseMotionX:856 Y:506 buttonstate:0
[os4video_CheckPointerInWindowPointer inside window
[os4video_HandleMouseMotionX:862 Y:538 buttonstate:0
[os4video_CheckPointerInWindowPointer inside window
[os4video_HandleMouseMotionX:868 Y:556 buttonstate:0
[os4video_CheckPointerInWindowPointer inside window
[os4video_HandleMouseMotionX:873 Y:573 buttonstate:0
[os4video_CheckPointerInWindowPointer inside window
[os4video_HandleMouseMotionX:878 Y:589 buttonstate:0
[os4video_CheckPointerInWindowPointer inside window
[os4video_HandleMouseMotionX:887 Y:605 buttonstate:0
[os4video_CheckPointerInWindowPointer inside window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer inside window
[os4video_HandleEnterLeaveWindowPointer entered window
[os4video_ResetCursorCursor image set
[os4video_HandleMouseMotionX:961 Y:708 buttonstate:0
[os4video_HandleMouseMotionX:954 Y:698 buttonstate:0
[os4video_CheckPointerInWindowPointer inside window
[os4video_HandleMouseMotionX:942 Y:684 buttonstate:0
[os4video_CheckPointerInWindowPointer inside window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer inside window
[os4video_HandleEnterLeaveWindowPointer entered window
[os4video_ResetCursorCursor image set
[os4video_HandleMouseMotionX:167 Y:277 buttonstate:0
[os4video_HandleMouseMotionX:165 Y:264 buttonstate:0
[os4video_CheckPointerInWindowPointer inside window
[os4video_HandleMouseMotionX:165 Y:260 buttonstate:0
[os4video_CheckPointerInWindowPointer inside window
[os4video_HandleMouseMotionX:163 Y:257 buttonstate:0
[os4video_CheckPointerInWindowPointer inside window
[os4video_HandleMouseMotionX:160 Y:252 buttonstate:0
[os4video_CheckPointerInWindowPointer inside window
[os4video_HandleMouseMotionX:159 Y:246 buttonstate:0
[os4video_CheckPointerInWindowPointer inside window
[os4video_CheckPointerInWindowPointer inside window
[os4video_HandleMouseMotionX:105 Y:8 buttonstate:0
[os4video_CheckPointerInWindowPointer inside window
[os4video_HandleMouseMotionX:100 Y:-5 buttonstate:0
[os4video_CheckPointerInWindowPointer outside of window
[os4video_HandleEnterLeaveWindowPointer left window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_SetVideoModeRequesting new video mode 172x281x16
[os4video_SetVideoModeRequested flagsANYFORMAT OPENGL RESIZEABLE 
[os4video_SetVideoModeCurrent mode 985x712x16
[os4video_SetVideoModeCurrent mode flags ANYFORMAT OPENGL RESIZEABLE PREALLOC
[os4video_SetVideoModeCurrent hwdata 0x648F1074
[os4video_SetVideoModeRequesting window resize
[os4video_SetVideoModeSurface flags differ
[os4video_SetVideoModeCreating new display
[os4video_SetVideoModeDeleting old display
[os4video_GL_TermHere
[os4video_DeleteCurrentDisplayRemoving gadget
[os4video_DeleteCurrentDisplayDisposing image
[os4video_DeleteCurrentDisplayClosing window 0x677D3140
[os4video_SetVideoModeOpening new display
[os4video_CreateDisplayCreating a 172x281x16 windowed display
[os4video_CreateDisplayScreen depth32 pixel format6
[os4video_GetBestWindowPositionVisible screen: (0,0)/(1920x1080)
[
os4video_OpenWindowTrying to open window at (869,383of size (172x281)
[
os4video_CreateIconifyGadgetCalled
[os4video_GL_InitInitializing MiniGL (window 0x677D3140)...
[
os4video_GL_InitMiniGLBase 0x664B01F8
[os4video_GL_InitIMiniGL 0x664B02A0
[os4video_AllocateBitMapAllocating bitmap 172*281*16
[os4video_AllocateBitMapAllocating bitmap 172*281*16
[os4video_GL_InitMiniGL context 0x64058F10 (0x64058F10)
[
os4video_SetVideoMode] New display created
[os4video_SetVideoModeObtained flagsANYFORMAT OPENGL RESIZEABLE PREALLOC
[os4video_ShowWMCursorSetting cursor 0x66275010
[os4video_ResetCursorCursor 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_MakeCurrentContext 0x64058F10
[os4video_EventHandlerWindow active
[os4video_CheckPointerInWindowPointer outside of window
[os4video_HandleEnterLeaveWindowPointer left window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer inside window
[os4video_HandleEnterLeaveWindowPointer entered window
[os4video_ResetCursorCursor image set
[os4video_HandleMouseMotionX:7 Y:99 buttonstate:0
[os4video_HandleMouseMotionX:17 Y:102 buttonstate:0
[os4video_CheckPointerInWindowPointer inside window
[os4video_HandleMouseMotionX:25 Y:105 buttonstate:0
[os4video_CheckPointerInWindowPointer inside window
[os4video_HandleMouseMotionX:34 Y:108 buttonstate:0
[os4video_CheckPointerInWindowPointer inside window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_CheckPointerInWindowPointer outside of window
[os4video_FreeWMCursorFreeing 0x66275010
[os4video_VideoQuitIn VideoQuitthis 0x68656BC0
[os4video_VideoQuitDeleteCurrentDisplay
[os4video_GL_TermHere
[os4video_DeleteCurrentDisplayRemoving gadget
[os4video_DeleteCurrentDisplayDisposing image
[os4video_DeleteCurrentDisplayClosing window 0x677D3140
[os4video_VideoQuitChecking pubscreen
[os4video_FreeHWSurfaceFreeing HW surface 0x640CF258
[SDL_SYS_WaitThreadWaiting on thread 0x63EF41F0 to terminate (current signals 536871170)
[
SDL_SYS_WaitThreadThread 0x63EF41F0 joining...
[
ExitThreadExiting process 0x649E97B0 (SDL thread 0x63EF41F0with return value 0
[os4timer_DestroyFreeing timer for process 0x649E97B0
[SDL_SYS_WaitThreadSome thread has exited
[ExitThreadFarewell from process 0x649E97B0
[SDL_SYS_WaitThreadThread 0x63EF41F0 exited
[os4video_quitDeleting input device
[os4video_quitDeleting IORequest
[os4video_quitDeleting MsgPort
[os4video_quitDone
[os4thread_quitKilling all remaining processes
[os4thread_quitTerminating lists
[os4timer_DestroyFreeing timer for process 0x68CA1AD0
[os4thread_quitDone
[os4timer_quitCalled
[os4_quitSDL 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 ?

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: SDL1 open issues
Just can't stay away
Just can't stay away


See User information
@kas1e

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.

Maybe you could try to remove it from flagMask and at the same time ANDing flags with flagMask, too. https://github.com/AmigaPorts/SDL/comm ... 88da14f545133e9038aeR1572

Go to top
Re: SDL1 open issues
Home away from home
Home away from home


See User information
@Capehill
Quote:

and at the same time ANDing flags with flagMask, too


You mean instead of one & just &&, i.e. :
if ((current->flags && flagMask) ^ flags) ?

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: SDL1 open issues
Just can't stay away
Just can't stay away


See User information
@kas1e

Something like:

if ((current->flags flagMask) ^ (flags flagMask))


That way PREALLOC would be ignored for both sets if it wasn't included in flagMask.

Go to top
Re: SDL1 open issues
Home away from home
Home away from home


See User information
@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)


Edited by kas1e on 2019/8/30 21:22:01
Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: SDL1 open issues
Just can't stay away
Just can't stay away


See User information
@kas1e

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.

Go to top
Re: SDL1 open issues
Home away from home
Home away from home


See User information
@capehill
Quote:

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.


Yep, sounds right indeed.

ps. sended you some code in glsnoop ticket

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: SDL1 open issues
Home away from home
Home away from home


See User information
@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.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top

  Register To Post
« 1 ... 10 11 12 (13) 14 15 16 ... 18 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project