Who's Online |
78 user(s) are online ( 64 user(s) are browsing Forums)
Members: 0
Guests: 78
more...
|
|
Headlines |
-
arabic_console_devicepro2.lha - driver/input
May 15, 2022
-
seq.lha - audio/misc
May 12, 2022
-
oo.lha - development/library
May 12, 2022
-
hwplayer.lha - development/misc
May 9, 2022
-
amiarcadia.lha - emulation/gamesystem
May 9, 2022
-
sdl.lha - library/misc
May 9, 2022
-
sdl2.lha - library/misc
May 9, 2022
-
cubicide.lha - development/misc
May 8, 2022
-
hollywood_sdk.zip - development/misc
May 8, 2022
-
ultraedit.zip - development/misc
May 8, 2022
|
|
|
|
Re: SDL2
|
Posted on: 4/21 7:28
#1181
|
Just can't stay away 
Joined: 2007/7/14 21:30 Last Login
: 5/14 18:36
From Lothric
Group:
Registered Users
|
@kas1e
It doesn't work 100%, at least for me. Debug prints cause some delay which means user has more likely released ALT key during period when old window is gone and new one opened, meaning that ALT modifier state will not be reported (so it cannot "stick").
I didn't try yesterday, but my guess is that if user keeps ALT pressed until new window is opened, this will trigger issue always.
|
|
|
|
Re: SDL2
|
Posted on: 4/23 11:49
#1182
|
Not too shy to talk 
Joined: 2015/6/11 9:51 Last Login
: 5/3 9:30
From Cologne
Group:
Registered Users
|
Regarding Grim Fandango returning 0 for red, green, blue, alpha bits when using FBO: if there's no valid color-attachment when querying those infos then you'll get 0. This seems to be the case here because you get the same result on Win32. However, there was a bug in ogles2.lib which resulted in also returning 0 if there was a valid texture color-attachment (for non-texture attachments it worked correctly). This has been fixed in upcoming ogles2 3.3.
|
|
|
|
Re: SDL2
|
Posted on: 4/24 9:54
#1183
|
Home away from home 
Joined: 2007/9/11 12:31 Last Login
: Yesterday 19:58
From Russia
Group:
Registered Users
|
@Capehill Tested your yesterday's commit to SDL2 : seems alt+enter bug gone in scummvm. Thanks!
@Daniel Yep, tested 3.3 all ok, thanks!
|
|
|
|
Re: SDL2
|
Posted on: 4/24 10:48
#1184
|
Just can't stay away 
Joined: 2007/7/14 21:30 Last Login
: 5/14 18:36
From Lothric
Group:
Registered Users
|
@kas1e
Good. I'm waiting for upstream to release 2.0.22 before releasing RC1. Hopefully Raziel can also verify that fullscreen toggling works OK.
@Daytona675x
Thanks for the OGLES2 corrections!
Edited by Capehill on 2022/4/24 12:35:54
|
|
|
|
Re: SDL2
|
Posted on: 4/24 12:28
#1185
|
Home away from home 
Joined: 2006/11/26 21:45 Last Login
: Yesterday 17:52
From a dying planet
Group:
Registered Users
|
@Capehill
Please remind me again...what fullscreen issue?
|
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
|
|
|
Re: SDL2
|
Posted on: 4/24 12:36
#1186
|
Just can't stay away 
Joined: 2007/7/14 21:30 Last Login
: 5/14 18:36
From Lothric
Group:
Registered Users
|
@Raziel
Edited my previous reply. I'm just hoping that the latest fix doesn't cause new issues regarding fullscreen toggling.
|
|
|
|
Re: SDL2
|
Posted on: 4/24 12:49
#1187
|
Home away from home 
Joined: 2006/11/26 21:45 Last Login
: Yesterday 17:52
From a dying planet
Group:
Registered Users
|
@Capehill
Actually, i'm still at the last release version of SDL2 and never had that fullscreen toggle problem.
Or are you all on some beta SDL2?
...
Then again, the "thuds" in audio playback seems to be back...need to investigate
|
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
|
|
|
Re: SDL2
|
Posted on: 4/24 13:20
#1188
|
Home away from home 
Joined: 2007/9/11 12:31 Last Login
: Yesterday 19:58
From Russia
Group:
Registered Users
|
@Raziel That bug happens with latest SDL2 release from os4depot, with latest scummvm builds. And yesterday's fix deal with it.
|
|
|
|
Re: SDL2
|
Posted on: 4/24 15:11
#1189
|
Home away from home 
Joined: 2006/11/26 21:45 Last Login
: Yesterday 17:52
From a dying planet
Group:
Registered Users
|
@kas1e
I do have 2.0.20 and Alt+Enter Fullscreen/Window toggling works
|
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
|
|
|
Re: SDL2
|
Posted on: 4/24 15:29
#1190
|
Home away from home 
Joined: 2007/9/11 12:31 Last Login
: Yesterday 19:58
From Russia
Group:
Registered Users
|
@Raziel Yes, it works. Try to run in window mode, then run Grim , then hit "alt+enter" to swith to fullscreen. It switch fine. Then, hitting just "enter" (without alt) will swith back to the window : that what was bug about.
|
|
|
|
Re: SDL2
|
Posted on: 4/24 17:14
#1191
|
Home away from home 
Joined: 2006/11/26 21:45 Last Login
: Yesterday 17:52
From a dying planet
Group:
Registered Users
|
@kas1e
Yes, i stumbled over it in another game.
While in window mode, pressing "s" should bring up the save screen, instead it took a screenshot (ALT + "s"). I see what you mean, good thing this has been fixed.
|
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
|
|
|
Re: SDL2
|
Posted on: 4/26 8:10
#1192
|
Home away from home 
Joined: 2006/11/26 21:45 Last Login
: Yesterday 17:52
From a dying planet
Group:
Registered Users
|
@Capehill Just for the fun of it i tried configuring ScummVM with clib2 but was stopped early
#include "SDL.h"
int main(int argc, char *argv[]) { SDL_Init(0); return 0; }
g++ -athread=native -Wl,--export-dynamic -L/sdk/local/newlib/lib -mcrt=clib2 -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=gnu++11 -pedantic -gstabs -fvar-tracking-assignments -Wno-format ./scummvm-conf.cpp -o ./scummvm-conf -L/SDK/local/newlib/lib -use-dynld -lSDL2 -I/SDK/local/newlib/include/SDL2 -D_REENTRANT
/sdk/local/newlib/lib/libSDL2.so: undefined reference to `__ctype_ptr'
/sdk/local/newlib/lib/libSDL2.so: undefined reference to `__getreent'
return code: 1
Anything i need to do beforehand? Some preparations i missed? Thank you
|
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
|
|
|
Re: SDL2
|
Posted on: 4/26 9:08
#1193
|
Home away from home 
Joined: 2007/9/11 12:31 Last Login
: Yesterday 19:58
From Russia
Group:
Registered Users
|
@Raziel You need to use Andrea's clib2, then SDL2 can be compiled with.
And in your output you seems mix the things : if you compile via clib2, then includes, libs, sobjs all should be clib2 , i.e. in your latest lines you have /sdk/local/newlib/lib/libSDL2.so , why you touch newlib one there if you build for clib2 ?:)
|
|
|
|
Re: SDL2
|
Posted on: 4/26 11:16
#1194
|
Home away from home 
Joined: 2006/11/26 21:45 Last Login
: Yesterday 17:52
From a dying planet
Group:
Registered Users
|
@kas1e
Oh right, forgot tp adapt the linker paths
|
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
|
|
|
Re: SDL2.0.22
|
Posted on: 4/27 18:48
#1195
|
Just can't stay away 
Joined: 2007/7/14 21:30 Last Login
: 5/14 18:36
From Lothric
Group:
Registered Users
|
|
|
|
|
Re: SDL2.0.22
|
Posted on: 4/27 21:56
#1196
|
Home away from home 
Joined: 2006/11/26 21:45 Last Login
: Yesterday 17:52
From a dying planet
Group:
Registered Users
|
@Capehill
Thank you.
Will try asap
|
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
|
|
|
Re: SDL2
|
Posted on: 5/4 16:18
#1197
|
Home away from home 
Joined: 2007/9/11 12:31 Last Login
: Yesterday 19:58
From Russia
Group:
Registered Users
|
@Capehill Sorry for being lame, but is there possibility by SDL1 or SDL2 to attach to already opened amigascreen/window ?
What i mean is : let's say i already open the amiga screen/window, and i need to attach SDL to it , so i can use SDL functions, and this amiga opened screen/window by amiga functions will functional ?
I mean i can do SDL_Init of course and stuff, just without opening the window, but with using of already opened one ?
|
|
|
|
Re: SDL2
|
Posted on: 5/4 16:29
#1198
|
Just can't stay away 
Joined: 2007/7/14 21:30 Last Login
: 5/14 18:36
From Lothric
Group:
Registered Users
|
@kas1e SDL2 at least supports https://wiki.libsdl.org/SDL_CreateWindowFromtestnative example used to work earlier but I haven't been testing it lately.
Edited by Capehill on 2022/5/4 18:26:14
|
|
|
|
Re: SDL2
|
Posted on: 5/4 16:32
#1199
|
Home away from home 
Joined: 2006/11/26 21:45 Last Login
: Yesterday 17:52
From a dying planet
Group:
Registered Users
|
@Capehill I'm on trying the beta with ScummVM... btw, did you see my question on the ScummVM thread? edit: Works with ScummVM, Alt-Enter bug gone, thanks a lot 
Edited by Raziel on 2022/5/4 17:48:48
|
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
|
|
|
Re: SDL2
|
Posted on: 5/4 16:38
#1200
|
Home away from home 
Joined: 2007/9/11 12:31 Last Login
: Yesterday 19:58
From Russia
Group:
Registered Users
|
@Capehill In SDL2 didn't fine testnativewindow examples, only testnative and testnativeamigaos4. In first one i didn't see any Intuition calls, and in second one, i see only os4 native stuff, without SDL functions.
|
|
|
Currently Active Users Viewing This Thread:
1
(
0 members
and 1 Anonymous Users
)
|
|
|