Raspberry Pi (Raspbian) + OpenglES + no X

"cleger" <[email protected]>
Newsgroups gmane.comp.lib.sdl
Message-ID <[email protected]>
Greetings. 

I'm trying to build an application on Raspberry Pi (version 1A or 2B+)/raspbian which: 

 - uses SDL for event handling, image loading, sound, etc. 
 - uses OpenglES for rendering
 - runs without X (just to save memory)

I've read a great many posts where people help each other build or run SDL+OpenglES apps, but I can never completely nail down what config people are dealing with. 

My questions: 
 - Can I build and run the above app with the stock SDL2-dev library that I can get from the Raspbian ppt? 
 - In order to build and run my app, must I first build SDL2 with rpi-related flags enabled, and use a few disables, such as --disable-video-x11, --disable-video-opengl, etc.? 

My main dilemma is that I don't know whether SDL for Raspbian 'prefers' or 'assumes' it is running inside of, or outside of, X. 

Anyone who wants to throw a wall of text at me explaining how SDL is configured for this would be my hero. 

Thank you in advance.

_______________________________________________
SDL mailing list
[email protected]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.