Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
39 user(s) are online (25 user(s) are browsing Forums)

Members: 0
Guests: 39

more...

Headlines

 
  Register To Post  

« 1 ... 59 60 61 (62) 63 64 »
Re: SDL2
Just can't stay away
Just can't stay away


See User information
@jabirulo

Please take a look at testnative example. You need to open a native window yourself and pass window pointer to SDL2.

Go to top
Re: SDL2
Quite a regular
Quite a regular


See User information
@Capehill

ok, just compiled testnative and will look what it does. THX

Go to top
Re: SDL2
Home away from home
Home away from home


See User information
@Capehill
Have you any idea of how to deal correctly with the situation when we play the video on 8 bit screens ? As we do use all those renderers/surfaces of 16-32 bits , when we try to play it on 8bit screens we have broken colors instead. Maybe SDL2 have some funtions/tags/helpers to help handle 8bit screenmodes ?

Go to top
Re: SDL2
Just can't stay away
Just can't stay away


See User information
@kas1e

Maybe SDL_Renderer should be skipped in that kind of scenario. Perhaps (8-bit?) source surface can be blitted to window directly:

https://wiki.libsdl.org/SDL_GetWindowSurface

Not sure about how palette will behave. I'm guessing application is setting up the palette itself?

Go to top
Re: SDL2
Home away from home
Home away from home


See User information
@Capehill
Btw, will it make sense to change a bit functional of that simple prefs:SDL tool, when "save" is clicked ? I.e. now when you click "save" nothing visually happens. Instead, maybe it will be better to auto-close prefs window once use hit "save" ? So it will give necessary feadback, and anyway when one click "save" it offten (or all the time?) mean exit as well.

Go to top
Re: SDL2
Just can't stay away
Just can't stay away


See User information
@kas1e

Maybe, or some status label.

Go to top
Re: SDL2
Quite a regular
Quite a regular


See User information
Hi, changed to SAVE&QUIT (included sources)

http://jabirulo.byethost13.com/temp/sdl2/SDL2prefs.7zip

Go to top
Re: SDL2
Quite a regular
Quite a regular


See User information
Uploaded/updated SDL2prefs:
-Added localization.

http://jabirulo.byethost13.com/temp/sdl2/SDL2prefs_V1.5.7z

Go to top
Re: SDL2
Just can't stay away
Just can't stay away


See User information
@jabirulo

Thank you for your contributions. It seems this patch is based on some older version of prefs code (radiobuttons were removed, some things changed) and I need to resolve conflicts + make coding style consistent before locale support can be merged.

Go to top
Re: SDL2
Just can't stay away
Just can't stay away


See User information
2.24.0 RC1 is available: https://github.com/AmigaPorts/SDL-2.0/ ... /tag/v2.24.0-rc1-amigaos4

Please give it some testing and be aware of the version jump from 2.0.22 to 2.24.0 which affects especially shared object users. 2.24.0 should be backwards compatible so you could make a link from libSDL2-2.0.so to libSDL2-2.24.so or keep both shared object versions installed.

Go to top
Re: SDL2
Home away from home
Home away from home


See User information
@Capehill

SDLbenchmark crash on Sam440 after completing the test

Function --> OS4_CloseWindow.isra.0

Probably because i have MiniGL by default and not opengles?

Go to top
Re: SDL2
Just can't stay away
Just can't stay away


See User information
@samo79

Do you have a complete crashlog? Are you using the official minigl.library? I cannot test MiniGL apps at the moment due to RadeonRX card. Sdl2benchmark works otherwise for me.

Go to top
Re: SDL2
Home away from home
Home away from home


See User information
@Capehill

Yes i saved somewhere, i'm using latest MiniGL 2.24 from OS4Depot

Go to top
Re: SDL2
Home away from home
Home away from home


See User information
@Capehill

Why do you always time your releases to when I'm at work???



Thank you very much for the ongoing development.

Any pointers for the newly added Screenblanker hint?

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: SDL2
Just can't stay away
Just can't stay away


See User information
@Raziel

Bad luck I guess :)

Anyway, ideally you shouldn't need to do anything if it's OK to disable blanker by default.

I wrote in readme this:

Quote:

Screensaver control:

setenv SDL_VIDEO_ALLOW_SCREENSAVER 1 # Enable
setenv SDL_VIDEO_ALLOW_SCREENSAVER 0 # Disable

Please check also SDL2 preferences program.

Go to top
Re: SDL2
Home away from home
Home away from home


See User information
@Capehill

Here the crashlog: https://files.fm/u/6k2aa32k7

Btw, by versioning the latest controllermap binary test present in latest archive, it ask for the availibility of the old libSDL2-2.0.so ?

"Failed to find canonical name for libSDL2-2.0.so"

I was cancelled It by thinking it was unnecessary ..

Edit: ops just read better :-p


Edited by samo79 on 2022/8/28 17:10:18
Go to top
Re: SDL2
Home away from home
Home away from home


See User information
@Capehill

Woohoo, controlled by an envvar...even better, thanks a lot

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: SDL2
Quite a regular
Quite a regular


See User information
@Capehill

ok (fixed) and reuploaded
http://jabirulo.byethost13.com/temp/sdl2/SDL2prefs_V1.5.7z

-Removed radionbutton stuff
-Added images to menu option
-Added MenuImageSize envvar to resize menu images

OK, tried to "follow" coding style, sorry for the hassle.

Go to top
Re: SDL2
Just can't stay away
Just can't stay away


See User information
@samo79

Thanks for the log. Unfortunately line numbers don't seem to be correct. For example this

[src/video/amigaos4/SDL_os4window.c:674] AmigaOS4:SObjs/libSDL2-2.24.so:OS4_CloseWindow.isra.0()+0x1c (section 11 @ 0xC4ED4)

points just to the beginning of the function. I don't know what isra means.

If you are able to reproduce issue, maybe you can use libSDL2-2.24_debug.so instead of libSDL2-2.24.so to get some more serial logs?

controllermap: I forgot to replace this binary for RC1.

Go to top
Re: SDL2
Quite a regular
Quite a regular


See User information
@Capehill

yep noticed by downloading your latest sdl2, sorry :-/

Trying to update/fix to lastest sdlPrefs now, will upload updated ASAP.

EDIT: updated to latest version sdl2prefs, same link as previous (http://jabirulo.byethost13.com/temp/sdl2/SDL2prefs_V1.5.7z)


Edited by jabirulo on 2022/8/28 18:51:08
Go to top

  Register To Post
« 1 ... 59 60 61 (62) 63 64 »

 




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




Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project