https://bugs.freedesktop.org/show_bug.cgi?id=57098
Priority: medium Bug ID: 57098 Assignee: mesa-dev@lists.freedesktop.org Summary: Many extension functions exported by libGL.so.1 Severity: normal Classification: Unclassified OS: All Reporter: amona...@gmail.com Hardware: Other Status: NEW Version: git Component: Other Product: Mesa Created attachment 70035 --> https://bugs.freedesktop.org/attachment.cgi?id=70035&action=edit GL exports checking script Current OpenGL ABI specifies that libraries need not export functions beyond GLX 1.4, OpenGL 1.2 and GL_ARB_multitexture. Anything else must be obtained via glXGetProcAddress. Current Mesa exports a lot more than that, and I was told today on #dri-devel IRC that it's a bug that ought to be reported. I'm attaching a simple script that has a whitelist of OpenGL functions corresponding to the above ABI subset, and prints exported functions that are not from that subset. The whitelist counts 494 functions, and running the script on my git build of Mesa produces a list of 848 functions. Known (to me) applications that ignore the OpenGL ABI and explicitely link against extension functions: 1. Braid. My bugreport here: https://bugzilla.icculus.org/show_bug.cgi?id=5759#c0 2. Trine 2. No public bugzilla, reported to developers in private e-mail. 3. Enemy Territory: tries to use dlopen instead of glXGetProcAddress. 4. Waking Mars. Not reported yet. 5. Steam for Linux. List of imported extensions here: https://github.com/amonakov/primus/issues/21#issuecomment-10185661 6. Some Webkit-related library used in Linux Steam attempts to load extensions with dlopen. Not analyzed, not reported yet. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev