#71 Add support for OpenGL ES 2 profile

open
nobody
None
5
2014-05-24
2010-08-29
No

Discussion

  • Nigel Stewart

    Nigel Stewart - 2010-09-07

    Yes please. OpenGL ES2 would be handy indeed.

     
  • skAIware

    skAIware - 2011-12-30

    This is a must have for me before adopting freeglut.

     
  • Beuc

    Beuc - 2012-01-27

    Hi,

    I'm interested in this as well.
    I contribute to the OpenGL wikibook (http://en.wikibooks.org/wiki/OpenGL_Programming) and we use GLUT for our tutorials.

    The wikibook is written with portability between OpenGL 2.1 and OpenGL ES 2.0 in mind, so running our GLUT code as-is in both environment would be great.

    I started writing a wrapper for Android, with explanations on how it works internaly:
    http://en.wikibooks.org/wiki/OpenGL_Programming/Installation/Android
    I'm interested in your comments.

    In addition I'd very much like to start an EGL GLES2 environment through Mesa, so I can test OpenGL ES compatibility from my desktop computer, without a smartphone or tablet.
    See mesa-demos-8.0.1/src/egl/opengles2/tri.c to see how this is done.

    I think it would be great if I could contribute directly to FreeGLUT rather than writing my GLUT wrapper for Android separately.

    Are you already working on OpenGL ES 2 and Android support?
    How can we contribute?

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2012-12-25

    I would be willing to contribute a small bounty of a small number of hundreds of dollars should the results work nicely on the Raspberry PI.

     
    Last edit: Anonymous 2016-01-10
  • Perry Kivolowitz

    The bounty offer was from me - my previous post did not properly identify me.

     
  • Beuc

    Beuc - 2014-05-24

    I just got my hands on the Raspberry Pi.
    Currently my MesaEGL support is not enough for RPI. AFAICS the fbdev driver used by X11 under Raspbian does not support OpenGL through Mesa (GLX or EGL):

    ~/modern-tutorials/tut01_intro $ LD_LIBRARY_PATH=/tmp/freeglut-native-gles2/lib/ ./triangle 
    libEGL warning: GLX/DRI2 is not supported
    libEGL warning: DRI2: failed to authenticate
    libEGL warning: DRI2: failed to open swrast (search paths /usr/lib/arm-linux-gnueabihf/dri:${ORIGIN}/dri:/usr/lib/dri)
    Segmentation fault
    

    And of course:
    (we already knew that plain OpenGL wasn't supported)

    $ glxinfo
    name of display: :0.0
    Error: couldn't find RGB GLX visual or fbconfig
    

    Perry: you still game for the bounty?

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks