[Mesa-users] Using OpenGL 4+ with libOsMesa v11.1

Anton Zachesov googlan31 at gmail.com
Mon Feb 1 00:16:15 PST 2016


Hello, everyone.

My name is Anton, I'm working on a small application, which runs back-end
pre-rendering for a webGL player. It uses software rendering implementation
from libOsMesa and is intended to use only software rendering. It currently
uses libMesa 10.2.7.

Recently one part of this app has migrated to OpenGL 4.0, which require
update to a newer version of libMesa. I picked 11.1.1, as it is claimed to
have implementation of OpenGL 4.
I built libOsMesa library (from v11.1) with the following command:

./configure --enable-osmesa --disable-driglx-direct --disable-dri
--with-gallium-drivers=swrast --disable-egl

The output libOsMesa.so library runs fine with the previous version of my
app.
However, when I try to link it with the newest version, I get undefined
references to
- glUniformSubroutinesuiv
and
- glGetSubroutineIndex
which are used in the migrated part.

My question is:
Does the latest version of software rendering with libOsMesa supports this
particular OpenGL functionality?
If so, how to build it correctly or correctly link with my application (it
uses scons to build, if it is important. Any hints are appreciated)?
If not, how to still use off-screen rendering from libOsMesa with support
of OpenGL 4.0+?

Thanks in advance,
Anton.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-users/attachments/20160201/ae0c4c6e/attachment.html>


More information about the mesa-users mailing list