[Mesa-dev] [Bug 53696] New: EGL: GL contexts show GLES extensions

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Aug 18 22:22:22 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=53696

             Bug #: 53696
           Summary: EGL: GL contexts show GLES extensions
    Classification: Unclassified
           Product: Mesa
           Version: 8.0
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: blocker
          Priority: medium
         Component: Other
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: kphillisjr at gmail.com


Created attachment 65755
  --> https://bugs.freedesktop.org/attachment.cgi?id=65755
Default output ( using GLX Contexts )

While Attempting to see what i can do with OpenGL using the EGL contexts I
found that the OpenGL ES client type seems to override the OpenGL settings. I
created a context with the client attribute of EGL_RENDERABLE_TYPE set to
EGL_OPENGL_BIT, however when I check all the details within the context it
gives the OpenGL ES data instead. This is a little annoying since I know for
certain that everything works under OpenGL directly ( using GLX ), but not with
the newer context types ( namely EGL).

Anyways, The relevant source code tree can be found at github:

https://github.com/kphillisjr/dante

as for two specific files of interest, see:
https://github.com/kphillisjr/dante/blob/es2/neo/sys/linux/gles2.cpp
and: https://github.com/kphillisjr/dante/blob/es2/neo/renderer/qgl.h

As for testing this, Doom 3 is required, however You can get away with the Doom
3 demo ( Although, I have no idea how to work with this ).

Anyways, I will not go into dependencies of the code, however libvorbis,
libogg, openal, alsa-sound, xf86mode, opengl libs, egl libs, opengl es 2 libs
are all part of the list of the requirements to build. However, There is also
the requirement of python and scons to build... Also, if you do not wish to
install the curl dev files, add "NOCURL=1" to the compile options.


# Build Doom 3 ( OpenGL ES ) Contexts
scons -j8

# Build Doom 3 (OpenGL Version) that uses GLX Contexts
scons TARGET_OPENGL=1 -j8

# Build Doom 3 (OpenGL Version) that uses GLX Contexts
scons TARGET_OPENGL_EGL=1 -j8

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list