> On Sun, Jan 22, 2012 at 9:09 AM, Jon TURNEY <jon.turney at dronecode.org.uk> > wrote: > > On 11/01/2012 23:37, Matt Turner wrote: > >> No one on IRC knows why an unshared glapi is useful. > > > > It looks like this change stops OSMesa from builing on cygwin (See [1]) > > > > I think this is because we never tried building it with shared glapi on > > cygwin > > before, and if we had, we would have noticed that libOSMesa is underlinked, > > which is not permitted for PE/COFF shared libraries. > > > > Patch attached which fixes this by explicitly linking libOSMesa with the > > shared glapi library. > > > > [1] > > http://tinderbox.freedesktop.org/builds/2012-01-21-0017/logs/libGL/#build
> I'd say commit it. We're planning to overhaul the build system, so if > that patch helps now, go for it. I also wish it to be committed. Because "disable-shared-glapi" forbids OpenGL ES 2. In detail: If we disable “shared-glapi”, DRI2 backend failed to be loaded, then MESA uses GLX backend to provide render surfaces. But GLX backend do not support EGL_OPENGL_ES2_BIT. Then user cannot use OpenGL ES 2. The patch is a good solution. I vote for it. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev