Compile OF for armv7 with OpenGL instead of GLES

I was wondering what I have to modify in the make file to get OF to compile with standard OpenGL support instead of OpenGL ES.

I want to try the OpenSource GPU driver for the Raspberry Pi which implements standard OpenGL instead of GLES.
http://dri.freedesktop.org/wiki/VC4/

mostly changing in ofconstatns.h this lines from linx 79 in 0.9:

#elif defined(__ARMEL__)
    #define TARGET_LINUX
    #define TARGET_OPENGLES
    #define TARGET_LINUX_ARM

to:

#elif defined(__ARMEL__)
    #define TARGET_LINUX
    #define TARGET_LINUX_ARM

but nobody has tested it so there might be some place in the core where it assumes that TARGET_LINUX_ARM==OPENGL also probably ofAppEGLWindow needs some change to set the version of opengl since right now is hardcoded to use openGL ES or you might be able to use ofAppGLFWWindow if you compile the branch we use for GLFW on the PI

1 Like

Thanks for the info!
Where would I find that branch for GLFW support? Can’t find it in git.