Overlay support in SDL
Posted: Sat Mar 02, 2013 9:37 am
Hi everybody,
Another SDL question.
Looking at the MAME source, in the SDL driver it supports overlay via a function SDL_CreateYUVOverlay(). However, when I run it using the YUV mode - which should create an overlay surface - the display is different but clearly not overlayed, as I can drag the window and the contents move around with the border, which shouldn't happen (and an overlay wouldn't grey out by the compositing). So it's clearly not doing something I expect it to.
What's happening here? Does the Amiga SDL implementation fake YUV overlay using standard libraries? Where can I see the source? I believe there's several implementations of SDL on the Amiga, but obviously I want the one that comes with AOS4...
Thanks for any help!
Another SDL question.

Looking at the MAME source, in the SDL driver it supports overlay via a function SDL_CreateYUVOverlay(). However, when I run it using the YUV mode - which should create an overlay surface - the display is different but clearly not overlayed, as I can drag the window and the contents move around with the border, which shouldn't happen (and an overlay wouldn't grey out by the compositing). So it's clearly not doing something I expect it to.
What's happening here? Does the Amiga SDL implementation fake YUV overlay using standard libraries? Where can I see the source? I believe there's several implementations of SDL on the Amiga, but obviously I want the one that comes with AOS4...
Thanks for any help!