[Mesa-dev] [Bug 92437] osmesa: Expose GL entry points for Windows build, via .def file
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Oct 12 04:38:09 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=92437
Bug ID: 92437
Summary: osmesa: Expose GL entry points for Windows build, via
.def file
Product: Mesa
Version: 11.0
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: medium
Component: Mesa core
Assignee: mesa-dev at lists.freedesktop.org
Reporter: nigels.com at gmail.com
QA Contact: mesa-dev at lists.freedesktop.org
Created attachment 118837
--> https://bugs.freedesktop.org/attachment.cgi?id=118837&action=edit
git format-patch
As the GLEW maintainer, I've been looking to support OSMesa natively in GLEW,
when built in -DGLEW_OSMESA=1 mode. I had some success with on Linux, but
linking with libOSMesa, rather than libGL. However, the Windows scons build
does not export the OpenGL functions that GLEW needs, such as glGetString.
Linux:
$ nm -D /usr/lib/x86_64-linux-gnu/libOSMesa.so | grep glGetString
000000000026e620 T glGetString
0000000000270d40 T glGetStringi
I found that GLEW utilities glewinfo and visualinfo work on Windows with
OSMesa, given a patched osmesa.def, as attached.
- Nigel
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20151012/f74cc7b9/attachment.html>
More information about the mesa-dev
mailing list