dividuum / info-beamer

The Multimedia Presenter for Lua (for commercial projects, use info-beamer pi instead)
https://info-beamer.com/
Other
227 stars 48 forks source link

opengl 2.0 #21

Closed exmatrikulator closed 10 years ago

exmatrikulator commented 10 years ago

hi,

i'd like to install info-beamer on old hardware. but most of them doesn't support opengl 2.0. is there a way to show basic information without opengl 2.0?

Thanks!

dividuum commented 10 years ago

What's the error you're getting? Or does even compiling fail?

exmatrikulator commented 10 years ago

compiling works, but on execution i got the message "need opengl 2.0 support"

dividuum commented 10 years ago

Hm. I guess you could remove this check in main.c and then rip out shader support. This shouldn't have any effect on other features.

thoto-wpt commented 10 years ago

Well we've tried that, but it crashes at framebuffer.c:61 now. SIGSEGV, address 0x00000000. I have no idea, how OpenGL works but I think there should be more checks for return values of functions there ... There are no comments in there either, so I'm unable to debug this by myself ...

dividuum commented 10 years ago

It seems that glFramebufferTexture2D is not available and its function pointer is NULL. According to https://www.opengl.org/sdk/docs/man/html/glFramebufferTexture.xhtml it looks like glFramebufferTexture2D requires at least OpenGL 3.0 (so I should fix the version check in main.c!). Framebuffers are an essential part of how info-beamer works right now. So OpenGL < 3 isn't supported.

It might be possible to change the rendering in a way that it isn't using a texture to upscale the root node to the target resolution. But that's not on my roadmap right now.