<div dir="ltr">Hello, everyone.<div><br></div><div>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.</div><div><br></div><div>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.</div><div>I built libOsMesa library (from v11.1) with the following command:<br><br>./configure --enable-osmesa --disable-driglx-direct --disable-dri --with-gallium-drivers=swrast --disable-egl<br><br>The output libOsMesa.so library runs fine with the previous version of my app. <br>However, when I try to link it with the newest version, I get undefined references to <br>- glUniformSubroutinesuiv <br>and <br>- glGetSubroutineIndex<br>which are used in the migrated part.</div><div><br></div><div>My question is:</div><div>Does the latest version of software rendering with libOsMesa supports this particular OpenGL functionality? <br>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)?<br>If not, how to still use off-screen rendering from libOsMesa with support of OpenGL 4.0+?</div><div><br></div><div>Thanks in advance,</div><div>Anton.</div></div>