Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
191 user(s) are online (172 user(s) are browsing Forums)

Members: 0
Guests: 191

more...

Support us!

Headlines

 
  Register To Post  

« 1 ... 13 14 15 (16) 17 18 »
Re: SDL1 open issues
Just can't stay away
Just can't stay away


See User information
@kas1e

Line number doesn't match with my patch. Do you have #ifdef __AMIGADATE__ there or not? Static library is not supposed to have SDL version string.

Go to top
Re: SDL1 open issues
Home away from home
Home away from home


See User information
@Capehill
Oh sorry you are right. I as usuall just copy changes manually and this time miss that there new ifdefs. So it work, thanks!

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: SDL1 open issues
Just can't stay away
Just can't stay away


See User information
@kas1e

Great, merging then :)

Go to top
Re: SDL1 open issues
Home away from home
Home away from home


See User information
@Capehill

I'm getting these when trying to compile residualvm with opengl and SDL1.
Is there something missing in SDL1.2.15 or is it maybe a regression?
The same works fine with SDL2...any hints appreciated, thanks
engines/grim/libgrim.a(gfx_tinygl.o): In function `Grim::GfxTinyGL::~GfxTinyGL()':
engines/grim/gfx_tinygl.cpp:72: undefined reference to 
`Graphics::tglDeleteBlitImage(Graphics::BlitImage*)'
engines/grim/libgrim.a(gfx_tinygl.o): In function `Grim::GfxTinyGL::createBitmap(Grim::BitmapData*)'
:
engines/grim/gfx_tinygl.cpp:907undefined reference to `Graphics::tglGenBlitImage()'
engines/grim/gfx_tinygl.cpp:915: undefined reference to 
`Graphics::tglUploadBlitImage(Graphics::BlitImage*,
Graphics::Surface const&, unsigned longbool)'
engines/grim/gfx_tinygl.cpp:919: undefined reference to `Graphics::tglGenBlitImage()'
engines/grim/gfx_tinygl.cpp:927undefined reference to `Graphics::tglUploadBlitImage(Graphics::BlitImage*,
Graphics::Surface const&, unsigned long, bool)'
engines/grim/libgrim.a(gfx_tinygl.o): In function 
`Grim::GfxTinyGL::drawBitmap(Grim::Bitmap const*, int,
intunsigned long)':
engines/grim/gfx_tinygl.cpp:966: undefined reference to `Graphics::tglBlit(Graphics::BlitImage*,
Graphics::BlitTransform const&)'
engines/grim/gfx_tinygl.cpp:990undefined reference to `Graphics::tglBlit(Graphics::BlitImage*, int, int)'
engines/grim/gfx_tinygl.cpp:995: undefined reference to 
`Graphics::tglBlitZBuffer(Graphics::BlitImage*, int,
int)'
engines/grim/libgrim.a(gfx_tinygl.o): In function `Grim::GfxTinyGL::destroyBitmap(Grim::BitmapData*)'
:
engines/grim/gfx_tinygl.cpp:1002undefined reference to `Graphics::tglDeleteBlitImage(Graphics::BlitImage*)'
engines/grim/libgrim.a(gfx_tinygl.o): In function 
`Grim::GfxTinyGL::createTextObject(Grim::TextObject*)':
engines/grim/gfx_tinygl.cpp:1086: undefined reference to `Graphics::tglGenBlitImage()'
engines/grim/gfx_tinygl.cpp:1087undefined reference to `Graphics::tglUploadBlitImage(Graphics::BlitImage*,
Graphics::Surface const&, unsigned long, bool)'
engines/grim/libgrim.a(gfx_tinygl.o): In function 
`Grim::GfxTinyGL::drawTextObject(Grim::TextObject const*)':
engines/grim/gfx_tinygl.cpp:1108: undefined reference to `Graphics::tglBlit(Graphics::BlitImage*, int, int)'
engines/grim/libgrim.a(gfx_tinygl.o): In function `Grim::GfxTinyGL::destroyTextObject(Grim::TextObject*)':
engines/grim/gfx_tinygl.cpp:1119: undefined reference to 
`Graphics::tglDeleteBlitImage(Graphics::BlitImage*)'
engines/grim/libgrim.a(gfx_tinygl.o): In function `Grim::GfxTinyGL::prepareMovieFrame(Graphics::Surface*)'
:
engines/grim/gfx_tinygl.cpp:1215undefined reference to `Graphics::tglGenBlitImage()'
engines/grim/gfx_tinygl.cpp:1216: undefined reference to 
`Graphics::tglUploadBlitImage(Graphics::BlitImage*,
Graphics::Surface const&, unsigned longbool)'
engines/grim/libgrim.a(gfx_tinygl.o): In function `Grim::GfxTinyGL::drawMovieFrame(int, int)'
:
engines/grim/gfx_tinygl.cpp:1220undefined reference to `Graphics::tglBlitFast(Graphics::BlitImage*, int,
int)'
engines/grim/libgrim.a(gfx_tinygl.o): In function 
`Grim::GfxTinyGL::releaseMovieFrame()':
engines/grim/gfx_tinygl.cpp:1224: undefined reference to `Graphics::tglDeleteBlitImage(Graphics::BlitImage*)'
engines/grim/libgrim.a(gfx_tinygl.o): In function `Grim::GfxTinyGL::loadEmergFont()':
engines/grim/gfx_tinygl.cpp:1234: undefined reference to 
`Graphics::tglGenBlitImage()'
engines/grim/gfx_tinygl.cpp:1244: undefined reference to `Graphics::tglUploadBlitImage(Graphics::BlitImage*,
Graphics::Surface const&, unsigned long, bool)'
engines/grim/libgrim.a(gfx_tinygl.o): In function `Grim::GfxTinyGL::drawEmergString(int, int, char const*,
Grim::Color const&)':
engines/grim/gfx_tinygl.cpp:1257: undefined reference to 
`Graphics::tglBlit(Graphics::BlitImage*,
Graphics::BlitTransform const&)'
engines/myst3/libmyst3.a(gfx_tinygl.o): In function `Myst3::TinyGLRenderer::drawTexturedRect2D(Common::Rect
const&, Common::Rect const&, Myst3::Texture*, float, bool)'
:
engines/myst3/gfx_tinygl.cpp:195undefined reference to `Graphics::tglBlit(Graphics::BlitImage*,
Graphics::BlitTransform const&)'
engines/myst3/libmyst3.a(gfx_tinygl.o): In function 
`Myst3::TinyGLRenderer::draw2DText(Common::String
const&, Common::Point const&)':
engines/myst3/gfx_tinygl.cpp:228: undefined reference to `Graphics::tglBlit(Graphics::BlitImage*,
Graphics::BlitTransform const&)'
engines/myst3/libmyst3.a(gfx_tinygl_texture.o): In function `Graphics::PixelFormat::PixelFormat()':
./graphics/pixelformat.h:146: undefined reference to 
`Graphics::tglGenBlitImage()'
engines/myst3/libmyst3.a(gfx_tinygl_texture.o): In function `Myst3::TinyGLTexture::~TinyGLTexture()'
:
engines/myst3/gfx_tinygl_texture.cpp:58undefined reference to
`Graphics::tglDeleteBlitImage(Graphics::BlitImage*)'
engines/myst3/libmyst3.a(gfx_tinygl_texture.o): In function 
`Myst3::TinyGLTexture::update(Graphics::Surface
const*)':
engines/myst3/gfx_tinygl_texture.cpp:65: undefined reference to
`Graphics::tglUploadBlitImage(Graphics::BlitImage*, Graphics::Surface const&, unsigned long, bool)'
graphics/libgraphics.a(init.o): In function `TinyGL::glInit(void*, int)':
graphics/tinygl/init.cpp:238: undefined reference to 
`Graphics::Internal::tglBlitResetScissorRect()'
graphics/libgraphics.a(zdirtyrect.o): In function `TinyGL::tglDisposeResources(TinyGL::GLContext*)'
:
graphics/tinygl/zdirtyrect.cpp:101undefined reference to `Graphics::Internal::tglCleanupImages()'
graphics/libgraphics.a(zdirtyrect.o): In function
`Graphics::BlittingDrawCall::BlittingDrawCall(Graphics::BlitImage*, Graphics::BlitTransform const&,
Graphics::BlittingDrawCall::BlittingMode)':
graphics/tinygl/zdirtyrect.cpp:521: undefined reference to
`Graphics::tglIncBlitImageRef(Graphics::BlitImage*)'
graphics/tinygl/zdirtyrect.cpp:523undefined reference to
`Graphics::tglGetBlitImageVersion(Graphics::BlitImage*)'
graphics/libgraphics.a(zdirtyrect.o): In function 
`Graphics::BlittingDrawCall::~BlittingDrawCall()':
graphics/tinygl/zdirtyrect.cpp:530: undefined reference to
`Graphics::tglDeleteBlitImage(Graphics::BlitImage*)'
graphics/libgraphics.a(zdirtyrect.o): In function `Graphics::BlittingDrawCall::execute(bool) const':
graphics/tinygl/zdirtyrect.cpp:542: undefined reference to
`Graphics::Internal::tglBlit(Graphics::BlitImage*, Graphics::BlitTransform const&)'
graphics/tinygl/zdirtyrect.cpp:545: undefined reference to
`Graphics::Internal::tglBlitNoBlend(Graphics::BlitImage*, Graphics::BlitTransform const&)'
graphics/tinygl/zdirtyrect.cpp:548undefined reference to
`Graphics::Internal::tglBlitFast(Graphics::BlitImage*, int, int)'
graphics/tinygl/zdirtyrect.cpp:551: undefined reference to
`Graphics::Internal::tglBlitZBuffer(Graphics::BlitImage*, intint)'
graphics/libgraphics.a(zdirtyrect.o): In function `Graphics::BlittingDrawCall::execute(Common::Rect const&,
bool) const'
:
graphics/tinygl/zdirtyrect.cpp:562undefined reference to
`Graphics::Internal::tglBlitSetScissorRect(Common::Rect const&)'
graphics/tinygl/zdirtyrect.cpp:564: undefined reference to 
`Graphics::Internal::tglBlitResetScissorRect()'
graphics/libgraphics.a(zdirtyrect.o): In function `Graphics::BlittingDrawCall::computeDirtyRegion()'
:
graphics/tinygl/zdirtyrect.cpp:595undefined reference to
`Graphics::tglGetBlitImageSize(Graphics::BlitImage*, int&, int&)'
graphics/tinygl/zdirtyrect.cpp:602: undefined reference to
`Graphics::tglGetBlitImageSize(Graphics::BlitImage*, int&, int&)'
graphics/libgraphics.a(zdirtyrect.o): In function
`Graphics::BlittingDrawCall::operator==(Graphics::BlittingDrawCall const&) const'
:
graphics/tinygl/zdirtyrect.cpp:623undefined reference to
`Graphics::tglGetBlitImageVersion(Graphics::BlitImage*)'
gmake: *** [residualvm] Error 1

Go to top
Re: SDL1 open issues
Just can't stay away
Just can't stay away


See User information
@Raziel

Nothing in that linker error seems to point to SDL. Perhaps code is conditionally compiled for SDL2 but not for SDL1? I guess you have tried a clean build?


Go to top
Re: SDL1 open issues
Home away from home
Home away from home


See User information
@Capehill

Gah...why do i always forget to clean?

Sorry for the noise

Go to top
SDL 1.2.16 RC 1
Just can't stay away
Just can't stay away


See User information
1.2.16 RC 1 is available now: https://github.com/AmigaPorts/SDL/releases/tag/v1.2.16-rc1-amigaos4

I have no idea when 1.2.16 will be "officially" released but this the current snapshot of what we have, some useful fixes etc.

Go to top
Re: SDL 1.2.16 RC 1
Home away from home
Home away from home


See User information
@Capehill

Nice, thank you.
Will test when I get home

Go to top
Re: SDL 1.2.16 RC 1
Just can't stay away
Just can't stay away


See User information
@Raziel

Did it work?

Go to top
Re: SDL 1.2.16 RC 1
Home away from home
Home away from home


See User information
@Capehill

Yes, sorry for not getting back.
It compiles fine now.

Though, I still have the dreaded dyncast crashes...even more than before...

Not that it has to do anything with this, just wanted to let you know

I fear that it won't get fixed, since @kas1e has the same crash on a beta os...too bad

Go to top
Re: SDL 1.2.16 RC 2
Just can't stay away
Just can't stay away


See User information

Go to top
Re: SDL 1.2.16 RC 3
Just can't stay away
Just can't stay away


See User information

Go to top
Re: SDL 1.2.16 RC 3
Just can't stay away
Just can't stay away


See User information
@Capehill

thx for updating "old" SDL

Go to top
Re: SDL 1.2.16 RC 3
Just can't stay away
Just can't stay away


See User information
Did somebody try the RC3? Is it good enough to replace version 1.2.15 on OS4Depot?

Go to top
Re: SDL 1.2.16 RC 3
Home away from home
Home away from home


See User information
@Capehill

When it came out I did build a few versions of scummvm with it, updates and complete.

No errors or weird behaviour.

Since then I stopped building the SDL1 version due to unsupportment from scummvm devs.
It still builds and can be used but sdl1 bug reports lay dormant, probably forever.

If new SDL1 versions will surface I'll do scummvm builds with it, just to check if it's still working and provide feedback, but releases are more or less obsolete now .

Go to top
Re: SDL1 open issues
Home away from home
Home away from home


See User information
@Capehill
At least i tried to build 1.2.15 RC3 for clib2 , and it works for now.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: SDL1 open issues
Home away from home
Home away from home


See User information
@Capehill
Is SDL1 able to handle OGLES2, or it's only SDL2 ?

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: SDL1 open issues
Home away from home
Home away from home


See User information
@Capehill
Basically we should be able to use OGLES2 on SDL1 as well, just not with direct support, but create a SDL1 window, and then use OGLES2 via something like IOGLES2->aglMakeCurrent(sdl_context);

If we can create an example which will be able to draw something by ogles2 into sdl1 window, then we can adapt Irrliht to works over SDL1/Ogles2 without EGL.

Through i can't find for now how to take a context if we create it with SDL_Surface *screen.. I.e. we have that:

SDL_SurfaceScreen;
....
Screen SDL_SetVideoModeWidthHeightCreationParams.BitsSDL_Flags );



Is there any way to take necessary stuff, so aglMakeCurrent() will works ?

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: SDL1 open issues
Just can't stay away
Just can't stay away


See User information
@kas1e

I think SDL 1.2 supports mostly old OpenGL.

If you need a system window pointer, try SDL_GetWMInfo: https://github.com/AmigaPorts/SDL-1.2/ ... /include/SDL_syswm.h#L237

Go to top
Re: SDL1 open issues
Home away from home
Home away from home


See User information
@Capehill
I mean can't we draw the stuff by ogles2 , to the SDL1 window, by making it like "aglSetContext()" or something ? I didn't mean that SDL itself should support it, but just theoreticaly can't we use SDL window for "just create a window + events", and then render to that window via ogles2 calls ?

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top

  Register To Post
« 1 ... 13 14 15 (16) 17 18 »

 




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




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project