Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
92 user(s) are online (84 user(s) are browsing Forums)

Members: 1
Guests: 91

Georg, more...

Support us!

Headlines

 
  Register To Post  

« 1 2 (3)
Re: SDL3
Site Builder
Site Builder


See User information
@Capehill
Awesome news. Can you please give some extra context about SDL_PROP_IOSTREAM_AMIGAOS4_USE_BUFFERED and if this is something we have to enable in our apps?

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: SDL3
Just can't stay away
Just can't stay away


See User information
@walkero

According to dos.library documentation, "Buffered I/O is more efficient for small reads and writes". If you use SDL_IOStreams, you may need to test both to see.

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


See User information
@Capehill
Quote:
According to dos.library documentation, "Buffered I/O is more efficient for small reads and writes".
Compared to unbuffered dos.library (IDOS->Open(), IDOS->Read(), IDOS->Write(), IDOS->Close(), etc.) and unbuffered POSIX low level I/O (open64(), read(), write(), close(), etc.): Yes.
Compared to C library buffered I/O (fopen64(), fread(), fwrite(), fclose(), etc.): No, using buffered C library I/O is often faster than using buffered dos.library I/O (IDOS->FOpen(), IDOS->FRead(), IDOS->FWrite(), IDOS->FClose(), etc.). At least in case of newlib and ixemul, no idea about libnix, clib2, clib4 and vclib.

Go to top
Re: SDL3
Just popping in
Just popping in


See User information
Maybe a little off topic, I was asking myself to which SDL versions should the links point to in the SOBJs: folder after having freshly installed AmigaOS 4.1.9.1 (or whatever confusing name the latest available public version has).

e.g. should libSDL.so point to libSDL-1.2 or libSDL2-2.3.so or the even newer libSDL3-3.xx.so?

Same question about the other links ins SOBJs:

thanks.

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


See User information
@joerg

Thanks for information. SDL3 uses dos.library's (F)Read/(F)Write functions and this can be now selected by the developer.

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


See User information
@Tuvok

SDL1, 2 and 3 are different and incompatible libraries.

So,

libSDL.so should point to libSDL-1.2.so.
libSDL2.so should point to libSDL2-2.x.y.so.
libSDL3.so should point to libSDL3-3.x.y.so.

If you have the AmigaOS 4 SDK installed, you can check which shared objects some binary is using by:

readelf -d binary_name

Go to top
Re: SDL3
Just popping in
Just popping in


See User information
@Capehill

Thank you very much!!

Go to top

  Register To Post
« 1 2 (3)

 




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




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project