Odroid C1 and SDL

Hi. I got a pre-built Lakka image for my Odroid C1+. It looks great and seems to run smoothly (for the cores I tried). I was curious about the video rendering. I think it was using GLES2 but the pre-built image didn’t include SDL2. Could I add SDL2 to it? Is there any reason not to?

Hello, we’re using the framebuffer and EGL and GLES2 to display on C1. SDL2 was not included because we don’t need it.

Thanks. I want to make my own core and I’m not very familiar with EGL or GLES2. Would it be worth the time to learn one of those? I’d also need to learn whatever audio and input systems are deployed. Or should I try to get SDL installed, as it offers very easy access for 2D, input and audio. I’m open to suggestions. :slight_smile:

It all depends on what kind of core you want to code. If it’s a 3D game, you need to learn GL (not EGL). If it’s a 2D game, you can use RetroLuxury or Lutro to code it.

Thank you. I don’t know what EGL is but that may not matter. I am somewhat familiar with OpenGL (not including ES2) but I’ll take a look at RetroLuxury and Lutro. It would be nice to get something simple working.

Does RetroLuxury support hardware acceleration? I see Lutro does not.

I wonder if there are any good GLES/2 examples that would work.

Does anyone have an EGL/GLES2 rendering example for a Lakka core? A basic sprite/triangle demo would be helpful.

There are some example in this repository for GL, Software Vulkan rendering.

Otherwise, you can ask some information on #libretro.