Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
260 user(s) are online (156 user(s) are browsing Forums)

Members: 1
Guests: 259

Rob, more...

Headlines

Forum Index


Board index » All Posts (Capehill)




Re: SDL2
Just can't stay away
Just can't stay away


@Maijestro

Quote:

Is the fact that the mouse cursor is hidden after a while in the SDL output also new?


Hmmm, shouldn't be. My first guess is application is hiding it.

Go to top


Re: SDL2
Just can't stay away
Just can't stay away


@Maijestro

Render driver is just a hint. End result depends on the application so it should be checked from application code, case by case.

https://wiki.libsdl.org/SDL2/SDL_CreateRenderer

If application passes -1 as the index, then SDL2 will take a look at the hint if it's set.

Go to top


Re: SDL2
Just can't stay away
Just can't stay away


SDL 2.30.0 RC1 is available: https://github.com/AmigaPorts/SDL-2.0/ ... /tag/v2.30.0-rc1-amigaos4

Changes:

Quote:

Improve UTF-8 text input support.
Update install script.
Reset mouse pointer when it leaves its window.
Improve audio recording.

Go to top


Re: ScummVM and AmigaOS4.1 F.E.
Just can't stay away
Just can't stay away


@Raziel

Quote:

SDL2 prefs defaults to the best/fastest target available (I guess someone who doesn't have the enhancer pack installed will probably default to MiniGL/OpenGL)


Default 2D renderer is compositing.

@Skateman

Do you have minigl.library + required Warp3D driver installed and functional? I don't see it in your crashlog.

Go to top


Re: ScummVM and AmigaOS4.1 F.E.
Just can't stay away
Just can't stay away


@Raziel

Quote:

And not even trying to switch modes, just setting the mode and apllying will end up in a crash


Silly me, I forgot upstream fixed it in November and there hasn't been an updated release including the correction yet. So let's wait.

Go to top


Re: ScummVM and AmigaOS4.1 F.E.
Just can't stay away
Just can't stay away


@khayoz

arexx.class opening code was using a wrong path. However, I don't think it caused any ISI exception, but a C++ exception.

I don't know if ScummVM is explicitly opening any classes, but if it does, it can be checked with Snoopy.

Stack trace should show something, in any case.

Go to top


Re: ScummVM and AmigaOS4.1 F.E.
Just can't stay away
Just can't stay away


@Raziel

I hope this one can be closed? https://bugs.scummvm.org/ticket/14530

Go to top


Re: SDL2
Just can't stay away
Just can't stay away


@MickJT

I don't know about Windows but SDL_MOUSEMOTION seems to work as documented on both Linux and AmigaOS.

SDL_ShowCursor is not documented in details. Its behavior could be OS-specific. Of course we can try to ask SDL folks to specify its behavior.

On Linux disabled cursor and special cursors behave consistently: they are only active when mouse is hovering on the window surface, but cursor resets when moved outside.

On AmigaOS side, (for example) busy pointer is active anywhere on the screen as long as its window is active. I'm not sure if this should be changed in context of SDL. It would then be maybe inconsistent from AmigaOS point of view.

Go to top


Re: SDL2
Just can't stay away
Just can't stay away


@MickJT

I have tested on Linux that SDL_MOUSEMOTION behaves similarly: event is reported only when mouse pointer is hovering on the window surface.

But SDL_ShowCursor() behavior is different. On AmigaOS, window area doesn't matter, only window activation / focus. On Linux, mouse pointer seems to reset when it leaves the window boundaries.

Maybe this can be changed by using Intuition tick events and checking mouse X/Y against window boundary. Have to investigate more.

Go to top


Re: SDL2
Just can't stay away
Just can't stay away


@MickJT

Have you tested the behavior on Linux side?

It seems that ffplay relies on mouse motion events to reactivate the mouse pointer: https://git.ffmpeg.org/gitweb/ffmpeg.g ... r:/fftools/ffplay.c#l3453

https://wiki.libsdl.org/SDL2/SDL_MouseMotionEvent : An SDL_MOUSEMOTION event occurs whenever a user moves the mouse within the application window or when SDL_WarpMouseInWindow() is called.

So at first look it seems normal, or how do interpret the above?

Go to top


Re: ProTracker clone
Just can't stay away
Just can't stay away


@trixie

I meant if you could test AHI (device API) recording example, it should part of the SDK. I can put a binary online too, if needed, it gave some compiling error out-of-box.

Go to top


Re: Do we have fast, accelerated, bug-free, supporting scaling SNES emulator ?
Just can't stay away
Just can't stay away


@TheMagicSN

If it's a user-private bitmap, then this should be fine.

Go to top


Re: ProTracker clone
Just can't stay away
Just can't stay away


@trixie

I have the same issue with AHI's Device API RecordTest. DoIO gets stuck, unless 16-bit recording is forced.

Could you please check it?

Go to top


Re: ProTracker clone
Just can't stay away
Just can't stay away


@smarkusg

Those of you who had problems with recording, which audio card / driver you are using?

I'm using HD Audio and noticed that I have to choose 16-bit recording from HDMixer, otherwise DoIO() gets stuck. Not sure how to deal with this on SDL side when using the AHI device API.

Go to top


Re: Adding an Amiga menu to an SDL1 window?
Just can't stay away
Just can't stay away


@jabirulo

Your example is ignoring the return value of SDL_GetWMInfo function and it has a superfluous cast to struct Window *.

Go to top


Re: Running my OS4 games on QEmu
Just can't stay away
Just can't stay away



Go to top


Re: ProTracker clone
Just can't stay away
Just can't stay away


@smarkusg

Maybe some issue in SDL2 audio capture code. Testaudiocapture binary doesn't seem to work properly anymore either.

Go to top


Re: Running my OS4 games on QEmu
Just can't stay away
Just can't stay away


@balaton

Quote:

I wonder if SDL1 has some code to detect it running on amigaone that does not work on pegasos2


No, it shouldn't have code like that.

Go to top


Re: Adding an Amiga menu to an SDL1 window?
Just can't stay away
Just can't stay away



Go to top


Re: SDL2
Just can't stay away
Just can't stay away


@davec555

SDL2 doesn't use window.class.

What kind of functionality you are looking for?

Go to top



TopTop
« 1 (2) 3 4 5 ... 83 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project