osmesa swrast windows/linux
Andreas Fänger <[email protected]>
| Newsgroups | gmane.comp.video.mesa3d.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
We are using Mesa3D for server based rendering of single images on windows
and linux. As this is a headless environment osmesa is being used. This has
been working great for many years.
We are now in the process of updating Mesa3D from the 10.5 series and now
there seem to be issues with osmesa/swrast. We used to compile osmesa with
the following lines (both on windows and linux):
scons build=release openmp=true osmesa
This gave us a single .so/.dll that contained all necessary OSMesa and GL
symbols and we could just link it in order to use it.
However, starting with Mesa 11.6.0 this doesnt work anymore.
On linux the osmesa.so created does not contain any OSMesa and GL symbols
(e.g. neither OSMesaCreateContext nor glLoadIdentity). By the way the
osmesa.so is now put in build/linux-x86_64/gallium/targets/osmesa instead
of build/linux-x86_64/mesa/drivers/osmesa as in previous versions.
On windows, the new osmesa.dll only contains the OSMesa specific symbols but
non of the GL symbols:
C:\>dumpbin /EXPORTS
build\windows-x86-debug\gallium\targets\osmesa\osmesa.dll
.
1 0 001703B0 OSMesaColorClamp = _OSMesaColorClamp@4
2 1 0016FBC0 OSMesaCreateContext = _OSMesaCreateContext@8
3 2 0016FBE0 OSMesaCreateContextExt =
_OSMesaCreateContextExt@20
4 3 0016FD80 OSMesaDestroyContext = _OSMesaDestroyContext@4
5 4 00170280 OSMesaGetColorBuffer = _OSMesaGetColorBuffer@20
6 5 0016FF80 OSMesaGetCurrentContext =
_OSMesaGetCurrentContext@0
7 6 001701A0 OSMesaGetDepthBuffer = _OSMesaGetDepthBuffer@20
8 7 00170030 OSMesaGetIntegerv = _OSMesaGetIntegerv@8
9 8 00170300 OSMesaGetProcAddress = _OSMesaGetProcAddress@4
10 9 0016FDD0 OSMesaMakeCurrent = _OSMesaMakeCurrent@20
11 A 0016FFC0 OSMesaPixelStore = _OSMesaPixelStore@8
12 B 001703E0 OSMesaPostprocess = _OSMesaPostprocess@12
So my question is: using the latest mesa versions, how can I compile osmesa
with swrast on linux and windows and get libraries as in pre 10.6 versions
(last one working is 10.5.9)?
Regards,
Andreas Fänger
_______________________________________________
mesa-users mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-users