Who's Online
229 user(s) are online (
127 user(s) are browsing
Forums )
Members: 0
Guests: 229
more...
Headlines
mce.lha - game/utility
Apr 23, 2024
theme_list.lha - utility/misc
Apr 23, 2024
faac.lha - audio/convert
Apr 22, 2024
faad2.lha - audio/convert
Apr 22, 2024
seq.lha - audio/misc
Apr 22, 2024
libfaac.lha - development/library/audio
Apr 22, 2024
libfaad.lha - development/library/audio
Apr 22, 2024
image2pdf.lha - utility/text/convert
Apr 22, 2024
libharfbuzz.lha - development/library/graphics
Apr 20, 2024
libpng.lha - development/library/graphics
Apr 20, 2024
Topic options
View mode
Newest First
Re: SDL2
Posted on:
2016/2/7 19:57
#61
Just can't stay away
Joined: 2007/7/14 21:30Last Login
: Yesterday 18:21
From Lothric
Group:
Registered Users
OpenGL context seemed to work, well at least for one colourful triangle. Currently it's 16-bit similar to SDL1 but we can change that.
Re: SDL2
Posted on:
2016/2/7 20:58
#62
Quite a regular
Joined: 2006/11/22 17:57Last Login
: 2021/3/5 11:21
From Italy, Rome
Group:
Registered Users
Great!
Retired
Re: SDL2
Posted on:
2016/2/9 19:32
#63
Just can't stay away
Joined: 2007/7/14 21:30Last Login
: Yesterday 18:21
From Lothric
Group:
Registered Users
@AmigaBlitter I have fixed issue in framebuffer that caused stripes similar to picture in post #58. Please update your codebase and retest. There are also a couple of open tickets on project page.
Re: SDL2
Posted on:
2016/2/10 17:33
#64
Just can't stay away
Joined: 2007/7/14 21:30Last Login
: Yesterday 18:21
From Lothric
Group:
Registered Users
https://github.com/segrax/openfodder Open Fodder, it uses SDL2. Perhaps portable some day :)
Re: SDL2
Posted on:
2016/2/11 20:19
#65
Just can't stay away
Joined: 2007/7/14 21:30Last Login
: Yesterday 18:21
From Lothric
Group:
Registered Users
@AmigaBlitter Regarding "test" directory. I think sdl2-config has problem in native env - or I just can't use it properly. Anyway, after setting prefix as /sdk/local/newlib, as with sdl(1)-config, it was possible to configure tests. This assumes that you have SDK:local/newlib/include/SDL2 and libs in SDK:local/newlib/lib. Then, I had to hack sdl2-config to add -use-dynld -ldl, to make tests link in my own environment. Please note that you need to copy also build/SDL2_test.a into SDK:local/newlib/lib/. I believe there has to be some configure script modifications to fix sdl2-config for natives. Oh, and BMP loading is broken, image tests didn't work. I will open a ticket. Comments allowed...
Re: SDL2
Posted on:
2016/2/11 20:27
#66
Quite a regular
Joined: 2006/11/22 17:57Last Login
: 2021/3/5 11:21
From Italy, Rome
Group:
Registered Users
@Capehill thank you for this report. Downloading now new version to do some tests.
Retired
Re: SDL2
Posted on:
2016/2/13 10:58
#67
Just can't stay away
Joined: 2007/7/14 21:30Last Login
: Yesterday 18:21
From Lothric
Group:
Registered Users
@AmigaBlitter BMP loading should work now after two workarounds: 1) define byte order in SDL_endian.h 2) use fopen64 instead of fopen, to make fseeko64 work. Please try r49.
Re: SDL2
Posted on:
2016/2/13 13:15
#68
Quite a regular
Joined: 2006/11/22 17:57Last Login
: 2021/3/5 11:21
From Italy, Rome
Group:
Registered Users
@Capehill ok thank you reuild the r49 :)
Retired
Re: SDL2
Posted on:
2016/2/14 9:30
#69
Quite a regular
Joined: 2006/11/22 17:57Last Login
: 2021/3/5 11:21
From Italy, Rome
Group:
Registered Users
@AmigaBlitter Fixed a few lines in the configure files. Now the test's suite compile properly and the library is installed ok.
Retired
Re: SDL2
Posted on:
2016/2/15 20:13
#70
Just can't stay away
Joined: 2007/7/14 21:30Last Login
: Yesterday 18:21
From Lothric
Group:
Registered Users
@AmigaBlitter With r51 audio should work.
Re: SDL2
Posted on:
2016/2/16 21:56
#71
Quite a regular
Joined: 2006/11/22 17:57Last Login
: 2021/3/5 11:21
From Italy, Rome
Group:
Registered Users
@Capehill R51 seems ok. Strange ?bug? in configure? I can't disable the altivec by passing the parameter --disable-altivec, so a little hack is needed.
Retired
Re: SDL2
Posted on:
2016/2/17 10:13
#72
Quite a regular
Joined: 2006/11/22 17:57Last Login
: 2021/3/5 11:21
From Italy, Rome
Group:
Registered Users
@Capehill
Fixed the configure issue by forcing the --disable-altivec with a var.
Capehill pointed out that testsprite demo doesn't properly quit the SDL. This causes non freed signal that lead to crash.
Verified that many demo, actually, doesn't use the SDL_CommonQuit() and SDL_CommonState. This will be fixed asap.
host immagini image hosting image share
Retired
Re: SDL2
Posted on:
2016/2/17 19:08
#73
Just can't stay away
Joined: 2007/7/14 21:30Last Login
: Yesterday 18:21
From Lothric
Group:
Registered Users
@AmigaBlitter After configuring with --disable-altivec, "testrendercopyex" works with Sam440. If there is some AltiVec expert lurking, perhaps (s)he could help to understand why GCC generates some vector instructions for RenderCopyEx function, causing illegal instruction.
Re: SDL2
Posted on:
2016/2/17 19:54
#74
Just can't stay away
Joined: 2007/7/14 21:30Last Login
: Yesterday 18:21
From Lothric
Group:
Registered Users
@AmigaBlitter Fixed "testspriteminimal" and "testdrawchessboard". Neither did any attempt of cleaning up after test. There are probably more :(
Re: SDL2
Posted on:
2016/2/17 21:13
#75
Quite a regular
Joined: 2006/11/22 17:57Last Login
: 2021/3/5 11:21
From Italy, Rome
Group:
Registered Users
@Capehill Thank you. Will test new version tomorrow
Retired
Re: SDL2
Posted on:
2016/2/17 21:54
#76
Home away from home
Joined: 2006/11/20 16:26Last Login
: 4/22 19:33
From Norway
Group:
Registered Users
@Capehill Sound correct to me, you need AltiVec to use Altivec, CPU's without AltiVec like Sam440, will get a illegal instruction, the same thing if you use instructions that are only available on AMCC440, like ISEL this won't work on CPU's without ISEL opcode. This way there is two versions of Mplayer, one with AltiVec and one without. It’s a hazel but it might worth it.
(NutsAboutAmiga) Basilisk II for AmigaOS4 AmigaInputAnywhere Excalibur and other tools and apps.
Re: SDL2
Posted on:
2016/2/18 8:24
#77
Amigans Defender
Joined: 2006/12/2 13:27Last Login
: Today 10:32
From Taranto, Italy
Group:
Staff members Moderators Registered Users
be sure that no -maltivec switch is passed to GCC otherwise the compiler will generate optimized altivec function even if no altivec inline instructions are present into the code
i'm really tired...
Re: SDL2
Posted on:
2016/2/18 13:18
#78
Home away from home
Joined: 2006/12/4 23:15Last Login
: 12/10 15:02
Group:
Registered Users
@AmigaBlitter
Quote:
Verified that many demo, actually, doesn't use the SDL_CommonQuit() and SDL_CommonState. This will be fixed asap.This is quite common in SDL programming as far as I have experienced. makes me think that other SDL implmentations will clean up for the lazy prgrammer on exit().
Re: SDL2
Posted on:
2016/2/18 13:36
#79
Quite a regular
Joined: 2006/11/22 17:57Last Login
: 2021/3/5 11:21
From Italy, Rome
Group:
Registered Users
@thread Noticed that using the -mcpu=440 flag produces strange results.
Retired
Re: SDL2
Posted on:
2016/2/18 18:10
#80
Just can't stay away
Joined: 2007/7/14 21:30Last Login
: Yesterday 18:21
From Lothric
Group:
Registered Users
@afxgroup Has anybody tested AltiVec blitters? Are they worth dual-building? Or shall we just forget about it and use OpenGL (and compositing) where available?
Currently Active Users Viewing This Thread:
1
(
0 members
and 1 Anonymous Users
)