--- mesa-7.10.2.orig/debian/libgl1-mesa-dri.install.linux +++ mesa-7.10.2/debian/libgl1-mesa-dri.install.linux @@ -0,0 +1,11 @@ +# Keep this part in sync with libgl1-mesa-dri.install: +build/dri/lib/*_dri.so usr/lib/dri +build/dri/lib/libglsl.so usr/lib/dri +build/dri/lib/libdricore.so usr/lib/dri + +# This part is Linux-specific: +build/dri/lib/gallium/r300_dri.so usr/lib/dri +build/dri/lib/gallium/r600_dri.so usr/lib/dri +# Install the classic radeon drivers for UMS fallback +build/dri/lib/r300_dri.so usr/lib/dri-alternates +build/dri/lib/r600_dri.so usr/lib/dri-alternates --- mesa-7.10.2.orig/debian/gbp.conf +++ mesa-7.10.2/debian/gbp.conf @@ -0,0 +1,2 @@ +[DEFAULT] +debian-branch=ubuntu --- mesa-7.10.2.orig/debian/git-cleanup.sh +++ mesa-7.10.2/debian/git-cleanup.sh @@ -0,0 +1,78 @@ +#!/bin/sh +# © 2011 Cyril Brulebois +set -e + +### First phase, files known to make dpkg-source unhappy. + +# List broken symlinks: +broken_symlinks=$(find -follow -type l) + +# Symlinks vs. directories: +dirs_vs_symlinks=' +src/gallium/tests/graw/fragment-shader +src/gallium/tests/graw/vertex-shader +' + +# Modified binaries: +binaries=' +src/gallium/state_trackers/d3d1x/progs/bin/d3d10tri.exe +src/gallium/state_trackers/d3d1x/progs/bin/d3d11gears.exe +src/gallium/state_trackers/d3d1x/progs/bin/d3d11spikysphere.exe +src/gallium/state_trackers/d3d1x/progs/bin/d3d11tex.exe +src/gallium/state_trackers/d3d1x/progs/bin/d3d11tri.exe +src/gallium/state_trackers/python/tests/regress/fragment-shader/frag-abs.png +docs/gears.png +' + +case $1 in + "") clean=0; echo "I: No parameter given, listing only (-f to remove).";; + "-f") clean=1; echo "I: Removing files.";; + *) clean=0; echo "I: Unknown parameter given, listing only (-f to remove).";; +esac + +# Readibility: +echo + +for x in $broken_symlinks $dirs_vs_symlinks $binaries; do + # Do not fail if the file went away already, only warn: + if [ -e $x -o -L $x ]; then + if [ $clean = 1 ]; then + git rm $x + else + echo "I: Would remove $x" + fi + else + echo "W: Unable to remove non-existing: $x" + fi +done + +### Second phase, kill all files in git not in the tarball +version=$(dpkg-parsechangelog|awk '/Version: / {print $2}'|sed 's/-.*$//') +tarball="../mesa_$version.orig.tar.gz" +if [ ! -f $tarball ]; then + echo "E: Missing tarball ($tarball), you could use: uscan --download-current --rename" + exit 1 +fi + +# Be lazy for now, temporary files would be better: +one=1 +two=2 + +# Strip one directory, Mesa-$version/ is the top-level: +tar tfz $tarball | sed 's,[^/]*/,,' | sort > $two +# List all files known to git, except those under debian/: +git ls-files | grep -v ^debian/ | sort > $one + +for x in $(diff -u $one $two|tail -n +3|grep ^-|sed 's/^-//'); do + if [ -e $x -o -L $x ]; then + if [ $clean = 1 ]; then + git rm $x + else + echo "I: Would remove $x" + fi + else + echo "W: Unable to remove non-existing: $x (maybe gone during 1st phase)" + fi +done + +rm $one $two --- mesa-7.10.2.orig/debian/libglw1-mesa.install +++ mesa-7.10.2/debian/libglw1-mesa.install @@ -0,0 +1 @@ +usr/lib/libGLw.so.* --- mesa-7.10.2.orig/debian/libosmesa6-dev.install +++ mesa-7.10.2/debian/libosmesa6-dev.install @@ -0,0 +1,8 @@ +usr/include/GL/osmesa.h +usr/lib/libOSMesa.a +usr/lib/libOSMesa.so +usr/lib/libOSMesa16.a +usr/lib/libOSMesa16.so +usr/lib/libOSMesa32.a +usr/lib/libOSMesa32.so +usr/lib/pkgconfig/osmesa.pc --- mesa-7.10.2.orig/debian/libgl1-mesa-glx.shlibs +++ mesa-7.10.2/debian/libgl1-mesa-glx.shlibs @@ -0,0 +1 @@ +libGL 1 libgl1-mesa-glx | libgl1 --- mesa-7.10.2.orig/debian/libosmesa6.shlibs +++ mesa-7.10.2/debian/libosmesa6.shlibs @@ -0,0 +1,3 @@ +libOSMesa 6 libosmesa6 (>= 6.5.2-1) | libgl1-mesa-glide3 +libOSMesa16 6 libosmesa6 (>= 6.5.2-1) +libOSMesa32 6 libosmesa6 (>= 6.5.2-1) --- mesa-7.10.2.orig/debian/libgl1-mesa-swx11.postinst +++ mesa-7.10.2/debian/libgl1-mesa-swx11.postinst @@ -0,0 +1,26 @@ +#!/bin/sh + +set -e + +THIS_PACKAGE=libgl1-mesa-swx11 +THIS_SCRIPT=postinst + +case "$1" in + configure) + # Use alternatives to make it easier to switch between Mesa and 3rd party modules + update-alternatives --force \ + --install /etc/ld.so.conf.d/GL.conf gl_conf /usr/lib/mesa/ld.so.conf 500 \ + --slave /usr/lib/xorg/extra-modules xorg_extra_modules /usr/lib/xorg/x11-extra-modules + + # ldconfig needs to be run immediately as we're changing /etc/ld.so.conf.d/ with + # alternatives. + LDCONFIG_NOTRIGGER=y ldconfig + +esac + +#DEBHELPER# + +exit 0 + +# vim:set ai et sw=2 ts=2 tw=80: + --- mesa-7.10.2.orig/debian/changelog +++ mesa-7.10.2/debian/changelog @@ -0,0 +1,3228 @@ +mesa (7.10.2-0ubuntu2.1) natty-proposed; urgency=low + + * debian/patches/115_fix_dri2_errors_when_indirect.diff: + - Cherry-pick from upstream to fix remote GLX. (LP: #785368) + + -- Christopher James Halse Rogers Tue, 16 Aug 2011 10:44:42 +1000 + +mesa (7.10.2-0ubuntu2) natty; urgency=low + + [ Felix Geyer ] + * Add 114_intel_dri_renderer_string.diff: Re-add "GEM" to the dri renderer + string of the intel driver. Removing it breaks KDE's detection for the blur + effect. (LP: #753370) + + -- Timo Aaltonen Tue, 19 Apr 2011 12:38:25 +0300 + +mesa (7.10.2-0ubuntu1) natty; urgency=low + + [ Steve Langasek ] + * Fix alternatives removal on removal of libgl1-mesa-{swx11,glx}: the + files are in /usr/lib/mesa, not /usr/lib/GL. + * The architecture we're building for is DEB_HOST_ARCH, not + DEB_BUILD_ARCH. + + [ Christopher James Halse Rogers ] + * New upstream bugfix release. + - Contains fix for KWin crash when enabling effects on r600 (LP: #738687) + * debian/patches/105_use_shared_libdricore.patch: Fix rpath for i386 + libraries installed on amd64 via ia32-libs. (LP: #755720) + + -- Christopher James Halse Rogers Mon, 11 Apr 2011 10:10:35 +1000 + +mesa (7.10.1-0ubuntu3) natty; urgency=low + + * debian/patches/113_partially_fix_tls.diff: + - Also fix the IA32 dispatch code, rename to 113_fix_tls.diff. + * debian/rules: + - Re-enable assembler on i386, now that the dispatch code has been fixed. + (LP: #735188) + + -- Christopher James Halse Rogers Thu, 17 Mar 2011 15:14:43 +1100 + +mesa (7.10.1-0ubuntu2) natty; urgency=low + + * The “stop SIGSEGVing unrelated code” upload. + * debian/patches/113_partially_fix_tls.diff: + - Fix TLS usage: initial-exec is not appropriate for a library that + can be dynamically loaded with dlopen. (LP: #259219) + - Partial patch: missing IA32 assembler dispatch code. + * debian/rules: + - Build without optimised assembler on i386, as we haven't fixed that + yet. Opens LP #735188. + + -- Christopher James Halse Rogers Tue, 15 Mar 2011 10:24:52 +1100 + +mesa (7.10.1-0ubuntu1) natty; urgency=low + + * New upstream bugfix release. + - Drop cherry-picks now upstream: + + 110_nv50_fix_tgsi_sign_mode.diff + + 109_fix_length_of_glxgetfbconfigssgix.patch + * 112_fix_segfault_on_nvAF.diff: + - Fix from nouveau ML for segfault on X startup with nvAF cards. + Fixed differently in upstream/master, so drop after 7.10 (LP: #723012) + + -- Christopher James Halse Rogers Tue, 08 Mar 2011 16:04:56 +1100 + +mesa (7.10.1~git20110215.cc1636b6-0ubuntu2) natty; urgency=low + + * debian/rules: + * debian/libgl1-mesa-dri.install.linux: + - Add /usr/lib/dri-alternates to the driver search path, and install the + classic r300 and r600 drivers there so mesa will fallback when the + gallium drivers are unavailable (such as when using UMS). + * debian/patches/111_export_searchdirs_in_dripc.diff: + - Add drisearchdirs variable to dri.pc so the Xserver can pick up the + alternate DRI driver dirs. + + -- Christopher James Halse Rogers Fri, 18 Feb 2011 21:31:37 +1100 + +mesa (7.10.1~git20110215.cc1636b6-0ubuntu1) natty; urgency=low + + * Merge from Debian. Remaining Ubuntu changes: + - debian/control + + Drop lesstif-dev from Build-Depends; it's in Universe. + + Comment out GLw libs since it depends on lesstif-dev. + + Drop i686 swx11 libgl package. + + Add libdrm-dev to mesa-common-dev Depends. + + Drop [linux-any] qualifier from libudev-dev to fix pbuilder FTBFS + (see deb bug 600823) + - debian/rules + + Use --disable-glw for swx11 targets too. + + Don't enable motif for swx11 targets. + + Use lzma compression for binary debs to save CD space. + + Drop unloved mach64 driver. + + Install both r300/r300g and r600/r600g + - debian/patches + + 100_no_abi_tag.patch + + 101_ubuntu_hidden_glname.patch + + 103_savage-expose_fbmodes_with_nonzero_alpha.patch + - rules, libgl1-mesa-{glx,dev,swx11,swx11-dev}.install, + libgl1-mesa-{glx,swx11}.{postinst,prerm}, libgl1-mesa-dev.links: + Install libGL.so* in /usr/lib/mesa to allow things to work with + alternatives. + - debian/gbp.conf + + Point at Ubuntu branch to make git-buildpackage less narky. + - debian/patches/105_use_shared_libdricore.patch, debian/rules: + + Link DRI drivers against shared dricore routines to save CD space. + - debian/patches/109_fix_length_of_glxgetfbconfigssgix.patch: + Fix "BadLength (poly request too large or internal Xlib length" + when using non-C, non-en locales. (LP 714280) + - debian/patches/108_fix_leaks_dri2_screen_creation.patch: Cherrypick + to fix some leaks in DRI2 screen creation failure paths. + * New upstream snapshot from 7.10 release branch. + * debian/patches/10_fix_talloc_linking.diff: + - Drop. Upstream has replaced talloc with an in-tree replacement + * debian/patches/105_use_shared_libdricore.patch: + - Refresh for talloc-dropping buildsystem changes. + * debian/patches/107_winsys_buffer_nullptr.patch: + - Drop. Included upstream. + * debian/patches/110_nv50_fix_tgsi_sign_mode.diff: + - Cherry-pick from master. Fixes assert hit by Unity on nv5x hardware + (LP: #710588) + * debian/control: + - Drop no-longer-used libtalloc-dev build-dependency. + * debian/not-installed: + - Remove i686 files from not-installed list; we don't build the i686 swx11 + packages. + + -- Christopher James Halse Rogers Wed, 16 Feb 2011 10:37:07 +1100 + +mesa (7.10-3) unstable; urgency=low + + [ Julien Cristau ] + * debian/rules: RIP lpia. + + [ Cyril Brulebois ] + * Cherry-pick from upstream (thanks to Dave Airlie for the hint): + - radeon: fix build on non-KMS systems. + This fixes the FTBFS on GNU/kFreeBSD. + * Ship r300g (r300 gallium) on Linux only: Introduce Linux-specific + libgl1-mesa-dri.install.linux to that effect. + * According to Michel Dänzer, r600g (r600 gallium) is working well + enough to be shipped now. Let's ship it, then! + * Cherry-pick from upstream, fixing X's failure to start with UMS on + r300g (Closes: #612380): + - dri_util: fail driCreateNewScreen if InitScreen is NULL + + -- Cyril Brulebois Tue, 08 Feb 2011 16:06:38 +0100 + +mesa (7.10-2) unstable; urgency=low + + * Fix FTBFS on i386: Add some files to debian/not-installed, on a + per-architecture fashion (those are under /usr/lib/i686/cmov/). + * Work around FTBFS on sparc due to new symbols: pass -c1 to + dpkg-gensymbols instead of -c4 (on sparc only). Those symbols probably + shouldn't be exported, but let's make it possible to build xorg-server + 1.9 in sid. + + -- Cyril Brulebois Sat, 05 Feb 2011 11:16:26 +0100 + +mesa (7.10-1ubuntu3) natty; urgency=low + + * Add 109_fix_length_of_glxgetfbconfigssgix.patch: Second try at fix for + "BadLength (poly request too large or internal Xlib length" when using + non-C, non-en locales. This time with the real fix. + (LP: #714280) + + -- Bryce Harrington Tue, 15 Feb 2011 15:28:33 -0800 + +mesa (7.10-1ubuntu2) natty; urgency=low + + * Add 108_fix_leaks_dri2_screen_creation.patch: Cherrypick from upstream + to fix leaks in DRI2 screen creation error paths, which causes Clutter + applications to fail with error, "BadLength (poly request too large or + internal Xlib length". + (LP: #714280) + * Change dep on libudev-dev to not limit to linux-any (fixes FTBS when + using pbuilder, see deb bug 600823) + + -- Bryce Harrington Mon, 14 Feb 2011 11:44:22 -0800 + +mesa (7.10-1ubuntu1) natty; urgency=low + + * Merge from Debian experimental. Remaining Ubuntu changes: + - debian/control + + Drop lesstif-dev from Build-Depends; it's in Universe. + + Comment out GLw libs since it depends on lesstif-dev. + + Drop i686 swx11 libgl package. + + Add libdrm-dev to mesa-common-dev Depends. + - debian/rules + + Use --disable-glw for swx11 targets too. + + Don't enable motif for swx11 targets. + + Use lzma compression for binary debs to save CD space. + + Drop unloved mach64 driver. + + Install both r300/r300g and r600/r600g + - debian/patches + + 100_no_abi_tag.patch + + 101_ubuntu_hidden_glname.patch + + 103_savage-expose_fbmodes_with_nonzero_alpha.patch + - rules, libgl1-mesa-{glx,dev,swx11,swx11-dev}.install, + libgl1-mesa-{glx,swx11}.{postinst,prerm}, libgl1-mesa-dev.links: + Install libGL.so* in /usr/lib/mesa to allow things to work with + alternatives. + - debian/gbp.conf + + Point at Ubuntu branch to make git-buildpackage less narky. + - debian/patches/105_use_shared_libdricore.patch, debian/rules: + + Link DRI drivers against shared dricore routines to save CD space. + * debian/patches/104_i915_fragment_shader_disable.patch: + - Drop to re-expose ARB_fragment_shader support by default as new upstream + version contains many fixes. May re-open LP 628930. + * debian/patches/108-r300g-fixup-rs690-tiling-stride-align.patch: + * debian/patches/106_fix_renderbuffer_segfault.patch: + - Drop; these cherry-picks are in 7.10 + * debian/not-installed: + - Remove GLw headers from not-installed list. We don't build GLw, so + these files aren't put into the install directory in the first place. + * debian/rules: + - Don't try to dh_strip GLw packages. We don't build them. + + -- Christopher James Halse Rogers Tue, 25 Jan 2011 12:58:00 +1100 + +mesa (7.10-1) experimental; urgency=low + + * New upstream release. + * Add patch: 10-fix-talloc-linking.diff + * Use debian/not-installed to keep track of files which aren't getting + installed for now. Delete them before running dh_install. Use the list + of files appearing in the build logs for 7.9+repack-2. + * Switch from --list-missing to --fail-missing accordingly. + * Pass -c4 to dpkg-gensymbols through dh_makeshlibs to make sure + symbol-related changes are noticed and dealt with. + * Update symbols files with new symbols: + - libopenvg1-mesa.symbols + * Remove “mesa internal ASM optimized functions” lines from symbols + files, those seem to be gone, and with -c4 passed to dpkg-gensymbols, + any related issue will break the build: + - libgles1-mesa.symbols + - libgles2-mesa.symbols + * Stop using dh_strip -s --remaining-packages. When a build is resumed + (-nc), this dh_strip call is a no-op if it was previously written to + the debhelper log files. Specify all remaining packages instead. + That's boring, but avoid getting non-stripped packages. + * Add debian/git-cleanup.sh script to ease removing files in git which + aren't in the release tarballs, and make dpkg-source error out. + * Keep my eyes wide shut and add myself to Uploaders. + + -- Cyril Brulebois Tue, 25 Jan 2011 00:20:57 +0100 + +mesa (7.9+repack-2) experimental; urgency=low + + [ Cyril Brulebois ] + * Specify PASV in watch file, and mangle +repack. + + [ Christopher James Halse Rogers ] + * debian/control: + - Add libudev-dev to build-depends. This is required for the DRI2 EGL + driver to work with a drm display. + + [ Sven Joachim ] + * Update for the latest libdrm-nouveau API: + - Cherry-pick commit c25fcf5a from Mesa master. + - Build-depend on libdrm-dev 2.4.23 or newer. + * Use linux-any for linux-libc-dev and libudev-dev build-depends. + + [ Julien Cristau ] + * Update from upstream 7.9 branch, commit 0ff45dd. + * Refresh patches. + + -- Julien Cristau Tue, 04 Jan 2011 12:46:59 +0100 + +mesa (7.9+repack-1ubuntu5) natty; urgency=low + + * debian/patches/108-r300g-fixup-rs690-tiling-stride-align.patch + - Cherry pick 32218e4cc88f7dedebadffe4a80247decf4498f1 from upstream + r300g: fixup rs690 tiling stride alignment calculations + itself cherrypicked from d19b5cbd317620f3977e68fffb7a74793436b7e2 + addressing unity (and other) text and icon rendering problems. + (LP: #681915) + + -- John S Gruber Sun, 09 Jan 2011 14:25:53 -0500 + +mesa (7.9+repack-1ubuntu4) natty; urgency=low + + * debian/patches/winsys_buffer_nullptr.patch: Null pointer check for + winsys buffer. + (LP: #691653) + + -- Bryce Harrington Thu, 06 Jan 2011 14:44:43 -0800 + +mesa (7.9+repack-1ubuntu3) natty; urgency=low + + * debian/patches/106_fix_renderbuffer_segfault.patch: + - Cherrypick of 9b1ac4d1 from 7.9 branch to fix segfault in + renderbuffer update that occurs in Compiz while resizing windows, + giving the error message "failed to attach dri2 front buffer XX" + (LP: #683361) + + -- Bryce Harrington Thu, 02 Dec 2010 17:15:02 -0800 + +mesa (7.9+repack-1ubuntu2) natty; urgency=low + + * debian/patches/105_use_shared_libdricore.patch: + - Fix makefile dependencies to ensure libdricore gets built before + the DRI drivers. Fixes FTBFS on buildds, which ues parallel builds. + + -- Christopher James Halse Rogers Fri, 26 Nov 2010 13:24:55 +1100 + +mesa (7.9+repack-1ubuntu1) natty; urgency=low + + * Merge from Debian experimental. Remaining Ubuntu changes: + - debian/control + + Drop lesstif-dev from Build-Depends; it's in Universe. + + Comment out GLw libs since it depends on lesstif-dev. + + Drop i686 swx11 libgl package. + + Add libdrm-dev to mesa-common-dev Depends. + - debian/rules + + Unexport LDFLAGS (amd64 FTBFS). + + Use --disable-glw for swx11 targets too. + + Don't enable motif for swx11 targets. + + Use lzma compression for binary debs to save CD space. + + Drop unloved mach64 driver. + - debian/patches + + 100_no_abi_tag.patch + + 101_ubuntu_hidden_glname.patch + + 103_savage-expose_fbmodes_with_nonzero_alpha.patch + + 104_i915_fragment_shader_disable.patch: + - Disable the (experimental) ARB_fragment_shader option by default + on i915, which breaks KDE compositing (LP 628930). + + 107_glxgears_is_not_a_benchmark.patch + - rules, libgl1-mesa-{glx,dev,swx11,swx11-dev}.install, + libgl1-mesa-{glx,swx11}.{postinst,prerm}, libgl1-mesa-dev.links: + Install libGL.so* in /usr/lib/mesa to allow things to work with + alternatives. + - debian/gbp.conf + + Point at Ubuntu branch to make git-buildpackage less narky. + * Drop 107_glxgears_is_not_a_benchmark.patch. Demos have been moved out to + the mesa-demos package. + * debian/rules: + * debian/libgl1-mesa-dri.install: + - Install both r300c/r300g and r600c/r600g, renaming the non-default + r300c to r300c_dri.so and r600g to r600g_dri.so to avoid conflicts. + The radeon DDX will get a patch to select between these appropriately. + * debian/patches/105_use_shared_libdricore.patch: + * debian/rules: + * debian/libgl1-mesa-dri.install + - Build a shared library of common mesa routines and link DRI drivers + against it. Shaves about 30MiB of disc space off the DRI drivers. + * debian/control: + - Add libudev-dev to build-depends. This is requried for the DRI2 EGL + driver to work with a drm display. + * debian/control: + - Build classic nouveau_vieux DRI driver, and install in libgl1-mesa-dri. + this is no less stable than other DRI drivers we ship there. + + -- Christopher James Halse Rogers Wed, 24 Nov 2010 11:46:17 +1100 + +mesa (7.9+repack-1) experimental; urgency=low + + * Repack the upstream tarball to get rid of duplicate files which make dpkg + choke. Thanks to Luca Falavigna for his help diagnosing this. + + -- Julien Cristau Mon, 15 Nov 2010 23:04:45 +0100 + +mesa (7.9-1) experimental; urgency=low + + [ Christopher James Halse Rogers ] + * debian/control: + - Add EGL, GLESv1, GLESv2, and OpenVG virtual packages. The Khronos group + specifies a de-facto linux ABI for these libraries. We have a similar + package for libgl1. + * debian/README.Debian: + - Document the virtual packages above. + + [ Sven Joachim ] + * Bump libdrm-dev build dependency to 2.4.21-2~, the Nouveau Gallium + driver does not build with squeeze's libdrm-nouveau1. + + [ Julien Cristau ] + * New upstream release. + * Update patches: + - 03_optional-progs-and-install.patch dropped, demos moved to a separate + package + - 07-nouveau-update.diff and + 09-intel-fix-invalidate-before-initialisation.diff dropped, they were + backports from upstream + - 04_osmesa_version.diff updated + * Add build-dep on talloc. + * Drop the mesa-utils package, demos were moved out of the mesa tree. + * Use --with-egl-platforms instead of --with-egl-displays, and replace kms + with drm. + * Merge some packaging changes from ubuntu: + - libegl1-mesa-drivers-x11,kms: There are no longer separate kms or x11 + drivers for EGL, libegl1-mesa-drivers now contains a single driver that + provides both backends (Christopher James Halse Rogers) + - Remove pre-generated .pc's, use the ones generated at build time instead + (Robert Hooker) + - Build the r600 gallium driver + - Update symbols files + * README.source: we don't need to repack MesaLib.tar.gz anymore. + * Kill old sourceforge url from debian/watch. + * Ship the gallium r300 driver instead of the classic one. + + -- Julien Cristau Sat, 13 Nov 2010 00:36:11 +0100 + +mesa (7.9~git20100924-0ubuntu3) natty; urgency=low + + * debian/control: + - libgl1-mesa-dev should depends on libxext-dev other pkg-config gl fails. + + -- Didier Roche Fri, 12 Nov 2010 15:37:48 +0100 + +mesa (7.9~git20100924-0ubuntu2) maverick; urgency=low + + * Cherry-pick b24238c4 from 7.9 release branch. Fixes the lookup of + drawables after switching the GLX context, which was causing BadDrawable + errors in clutter applications which use multiple stages (LP: #561734) + + -- Christopher James Halse Rogers Thu, 30 Sep 2010 14:48:12 +1000 + +mesa (7.9~git20100924-0ubuntu1) maverick; urgency=low + + * New upstream snapshot from the 7.9 release branch up to commit 3ad02793. + - Fixes GPU hang in occlusion-query on i965 (LP: #634683) + - Fixes hang/crash when changing desktop-effects settings in + KDE. (LP: #633406) + * debian/rules: + - Update configure options for kms → drm EGL backend name change + - Remove unused HAVE_KMS variable. + + -- Christopher James Halse Rogers Thu, 23 Sep 2010 11:25:10 +1000 + +mesa (7.9~git20100909-0ubuntu3) maverick; urgency=low + + * Drop the changes from previous upload. The Unity white screen problem + is clutter bug #632352, fixed in clutter-1.0 1.2.12-0ubuntu12. + + -- Christopher James Halse Rogers Thu, 16 Sep 2010 16:04:28 +0200 + +mesa (7.9~git20100909-0ubuntu2) maverick; urgency=low + + * 105_old_gc_ignore_destroyed_drawable_events.patch (revert), + 106_old_gc_fix_use_after_free.patch (revert), + 107_old_gc_drop_broken_drawable_garbage_collector.patch (revert): + These three related patches introduced a new garbage collector, however + this introduces a regression causing clutter/mutter/unity to load with + a blank white screen. Revert these three patches to restore mesa to + a working condition for unity. + (LP: #638808, #638725) + + -- Bryce Harrington Wed, 15 Sep 2010 19:32:52 -0700 + +mesa (7.9~git20100909-0ubuntu1) maverick; urgency=low + + [ Robert Hooker ] + * New upstream git snapshot up to commit 94118fe2d4b1e5 (LP: #631413) + * New features include ATI HD5xxx series support in r600, and a vastly + improved glsl compiler. + * Remove pre-generated .pc's, use the ones generated at build time + instead. + * Remove all references to mesa-utils now that its no longer shipped + with the mesa source. + * Add 104_i915_fragment_shader_disable.patch: + - Disable the experimental ARB_fragment_shader option by default on + i915, it exposes incomplete functionality that breaks KDE compositing + among other things. It can be enabled via driconf still. (LP: #628930). + + [ Christopher James Halse Rogers ] + * debian/patches/04_osmesa_version.diff: + - Refresh for new upstream + * Bugs fixed in this release: + - Fixes severe rendering corruption in Unity on radeon (LP: #628727, + LP: #596292, LP: #599741, LP: #630315, LP: #613694, LP: #599741). + - Also fixes rendering in gnome-shell (LP: #578619). + - Flickering in OpenGL apps on radeon (LP: #626943, LP: #610541). + - Provides preliminary support for new intel chips (LP: #601052). + * debian/rules: + - Update configure flags to match upstream reshuffling. + - Explicitly remove gallium DRI drivers that we don't want to ship. + * Update debian/gbp.conf for this Maverick-specific packaging + * libegl1-mesa-dri-x11,kms: There are no longer separate kms or x11 drivers + for EGL, libegl1-mesa-drivers now contains a single driver that provides + both backends. + + -- Robert Hooker Tue, 14 Sep 2010 08:55:40 -0400 + +mesa (7.8.2-2ubuntu2) maverick; urgency=low + + * Cherry-pick EGL/GL|ES/OpenVG virtual packages from Debian experimental git + * debian/control: + - Add EGL, GLESv1, GLESv2, and OpenVG virtual packages. The Khronos group + specifies a de-facto linux ABI for these libraries. We have a similar + package for libgl1. + * debian/README.Debian: + - Document the virtual packages above. + + -- Christopher James Halse Rogers Fri, 30 Jul 2010 19:08:57 +1000 + +mesa (7.8.2-2ubuntu1) maverick; urgency=low + + * Merge from Debian experimental. Remaining Ubuntu changes: + - debian/control + + Drop lesstif-dev from Build-Depends. + + Comment out GLw libs since it depends on lesstif-dev. + + Drop i686 swx11 libgl package. + + Add libdrm-dev to mesa-common-dev Depends. + - debian/rules + + Unexport LDFLAGS (amd64 FTBFS). + + Use --disable-glw for swx11 targets too. + + Don't enable motif for swx11 targets. + + Use lzma compression for binary debs to save CD space. + - debian/patches + + 100_no_abi_tag.patch + + 101_ubuntu_hidden_glname.patch + + 103_savage-expose_fbmodes_with_nonzero_alpha.patch + + 107_glxgears_is_not_a_benchmark.patch + - rules, libgl1-mesa-{glx,dev,swx11,swx11-dev}.install, + libgl1-mesa-{glx,swx11}.{postinst,prerm}, libgl1-mesa-dev.links: + Install libGL.so* in /usr/lib/mesa to allow things to work with + alternatives. + * debian/rules: Drop get-orig-source target. mesa-demos is now split out + of git, so this divergence from Debian will no longer be informative. + + -- Christopher James Halse Rogers Tue, 27 Jul 2010 16:31:13 +1000 + +mesa (7.8.2-2) experimental; urgency=low + + * Add missing dependencies to libegl1-mesa-dev, thanks to Alexandros + Frantzis (LP: #600243). + * gallium: handle kfreebsd like freebsd, fixing FTBFS (closes: #585618) + * intel: Fix invalidate before initialisation (stolen from fdo bugzilla + #29091, fixes server 1.9rc crash when starting an app using GLX 1.3) + * Pull from 7.8-branch up to commit d06e011. + * Fixup hurd and kfreebsd patches to apply. + + -- Julien Cristau Tue, 20 Jul 2010 15:57:31 +0200 + +mesa (7.8.2-1) experimental; urgency=low + + [ Robert Hooker ] + * Adjust the build system to install the dri target in a separate + DESTDIR, no longer passing --libdir=/usr/lib/glx at configure time + messing with the .pc's since it is used for a majority of the + packages now. + * Fix up the mesa-common-dev header install location. + + [ Julien Cristau ] + * Add ${misc:Depends} to all packages. + * libc6-dev is build-essential, no need to depend on it. + * Replace nonsensical dependency of libglw1-mesa-dev on libxext6 with a + dependency on libxt-dev and lesstif2-dev. + * Add new lintian overrides for the package-name-doesnt-match-sonames stuff. + * Don't ship progs/objviewer in the tarball, it's insanely big and unused. + * New upstream release. + * Refresh patches. + * Stop shipping an upstream git log, it's unlikely to be useful to anyone, + and it's big. + * debian/scripts/choose-configs: use DEB_HOST_ARCH, not DEB_BUILD_ARCH + (closes: #451648). + * Rename radeong_dri.so to r300_dri.so in build, not binary. + + [ Christopher James Halse Rogers ] + * debian/patches/07-nouveau-update.diff: + - Pull in nouveau_class.h header no longer shipped by libdrm 2.4.21 and + update nouveau build to use it. Fixes FTBFS against libdrm 2.4.21. + * debian/rules: + - Simplify selecting which gallium drivers are built. Use this to only + act on gallium packages on archs where we're actually building them. + Part of the fix for FTBFS on Hurd and kFreeBSD. + + -- Julien Cristau Thu, 01 Jul 2010 12:50:18 +0200 + +mesa (7.8.1-3ubuntu3) maverick; urgency=low + + [ Alexandros Frantzis ] + * Make libegl1-mesa-dev depend on the following libraries which + contain the required .pc files, as specified in egl.pc: + libdrm-dev, x11proto-dri2-dev, x11proto-gl-dev, libx11-dev, + libxext-dev, libxxf86vm-dev, libxdamage-dev, libxfixes-dev. + + -- Alberto Milone Thu, 15 Jul 2010 19:01:10 +0200 + +mesa (7.8.1-3ubuntu2) maverick; urgency=low + + * Fix up the mesa-common-dev header installation location + causing FTBS on packages needing GL headers (LP: #594863) + + -- Robert Hooker Tue, 15 Jun 2010 19:04:38 -0400 + +mesa (7.8.1-3ubuntu1) maverick; urgency=low + + * Merge from Debian experimental git. Remaining Ubuntu changes: + - debian/control + + Drop lesstif-dev from Build-Depends. + + Comment out GLw libs since it depends on lesstif-dev. + + Drop i686 swx11 libgl package. + + Add libdrm-dev to mesa-common-dev Depends. + - debian/rules + + Unexport LDFLAGS (amd64 FTBFS). + + Use --disable-glw for swx11 targets too. + + Don't enable motif for swx11 targets. + + Use lzma compression for binary debs to save CD space. + - debian/patches + + 100_no_abi_tag.patch + + 101_ubuntu_hidden_glname.patch + + 103_savage-expose_fbmodes_with_nonzero_alpha.patch + + 107_glxgears_is_not_a_benchmark.patch + - rules, libgl1-mesa-{glx,dev,swx11,swx11-dev}.install, + libgl1-mesa-{glx,swx11}.{postinst,prerm}, libgl1-mesa-dev.links: + Install libGL.so* in /usr/lib/mesa to allow things to work with + alternatives. + + -- Christopher James Halse Rogers Tue, 15 Jun 2010 08:49:05 +1000 + +mesa (7.8.1-2) experimental; urgency=low + + [ Tormod Volden ] + * debian/rules: Do not strip the same packages twice + + [ Julien Cristau ] + * Stop building the ffb dri driver on sparc, it no longer exists. + * Merge changes from 7.7.1-2. + + [ Christopher James Halse Rogers ] + * debian/compat: + - Bump to v7 for dh_install search path behaviour + * debian/rules: + - Enable gallium for dri build. + - Enable egl for dri build. + - Build nouveau, radeon & swrast gallium drivers + - Build OpenVG, OpenGL|ES, dri, glx & egl state trackers + * debian/libegl1-mesa-dev.install: + * debian/libegl1-mesa.install: + * debian/libegl1-mesa.symbols: + - New libEGL package. + * debian/libgles1-mesa-dev.install: + * debian/libgles1-mesa.install: + * debian/libgles1-mesa.symbols: + - New OpenGL|ES v1.x package. + * debian/libgles2-mesa-dev.install: + * debian/libgles2-mesa.install: + * debian/libgles2-mesa.symbols: + - New OpenGL|ES v2.x package. + * debian/libopenvg1-mesa-dev.install: + * debian/libopenvg1-mesa.install: + * debian/libopenvg1-mesa.symbols: + - New OpenVG package. + * debian/libegl1-mesa-drivers-x11.install: + - New gallium EGL drivers package. + * debian/libegl1-mesa-drivers-kms.install: + - New gallium EGL kms driver package. + * debian/egl.pc: + * debian/vg.pc: + * debian/glesv1_cm.pc: + * debian/glesv2.pc: + - Pull pkg-config files from master and install them in the respective + -dev packages. + * debian/libgl1-mesa-dri-experimental.install: + * debian/libgl1-mesa-dri.install: + - “make install” puts classic and gallium drivers in the same path, but + builds gallium drivers in the gallium/ subdirectory. Copy the drivers + directly from the build path, rather than trying to separate them out + post-hock. + * debian/control: + - Add new packages. + - Add new build-depends on libx11-xcb-dev, libxcb-dri2-0-dev, + libxcb-xfixes0-dev and python-libxml2 for gallium. + - Bump build-depends on dpkg-dev for regex in symbols files. + + -- Julien Cristau Fri, 11 Jun 2010 03:19:09 +0200 + +mesa (7.8.1-1ubuntu1) maverick; urgency=low + + [ Timo Aaltonen ] + * Merged from Debian experimental, remaining changes: + - debian/control + + Drop lesstif-dev from Build-Depends. + + Comment out GLw libs since it depends on lesstif-dev. + - debian/rules + + Unexport LDFLAGS (amd64 FTBFS). + + Use --disable-glw for swx11 targets too. + + Don't enable motif for swx11 targets. + - debian/patches + + 100_no_abi_tag.patch + + 101_ubuntu_hidden_glname.patch + + 103_savage-expose_fbmodes_with_nonzero_alpha.patch + + 107_glxgears_is_not_a_benchmark.patch + - rules, libgl1-mesa-{glx,dev,swx11,swx11-dev}.install, + libgl1-mesa-{glx,swx11}.{postinst,prerm}, libgl1-mesa-dev.links: + Install libGL.so* in /usr/lib/mesa to allow things to work with + alternatives. + * Dropped patches: + - 102_dont_vblank.patch: should be obsolete by now + - 104_savage_init_mesa.patch: merged upstream + * control: Drop dependencies on dpkg, since lucid has it and it's the + only version where upgrades are supported from. + * libgl1-mesa-dri.postinst: Drop, same as above. + + [ Robert Hooker ] + * debian/rules: Stop building/shipping abandoned the mach64 DRI driver. + + [ Christopher James Halse Rogers ] + * debian/patches/103_savage-expose_fbmodes_with_nonzero_alpha.patch + - Refresh for driCreateConfigs API change + * debian/gbp.conf + - Set debian-branch=ubuntu to make git-buildpackage less annoying + * debian/rules + - Add get-orig-source target to document the way the orig.tar.gz is + generated. + - The i386 architecture for Maverick is now i686, not i486. Adapt rules + so that the Intel DRI drivers are actually built. + - Drop LDFLAGS unexport. Mesa builds fine on amd64 with Ubuntu's + default LDFLAGS. + * debian/control: + - Drop libgl1-mesa-swx11-i686 package. This package is pointless on + Maverick, as i386 now defaults to i686 + * debian/scripts/choose-configs: + - Drop libgl1-mesa-swx11-i686 from CPU-optimised swrast configs. + + * Changes from unreleased debian-expemental 7.8.1-2 packaging: + [ Tormod Volden ] + * debian/rules: Do not strip the same packages twice + + [ Julien Cristau ] + * Stop building the ffb dri driver on sparc, it no longer exists. + + -- Christopher James Halse Rogers Wed, 19 May 2010 14:47:25 +1000 + +mesa (7.8.1-1) experimental; urgency=low + + * New upstream release. + + Pull from upstream 7.8 branch up to commit db3b3421. + * Refresh patches. + * Bump build dependency to libdrm-dev 2.4.19, x11proto-gl-dev 1.4.11, + and x11proto-dri2-dev 2.1. + + -- Brice Goglin Sun, 18 Apr 2010 09:25:39 +0200 + +mesa (7.7.1-2) unstable; urgency=low + + * debian/rules: use DEB_HOST_ARCH_CPU instead of DEB_HOST_GNU_CPU. Prompted + by Ubuntu which changed the latter to i686, breaking their packages on + i386. + * Pull from mesa_7_7_branch (commit 8ba378d). + + -- Julien Cristau Thu, 20 May 2010 17:34:19 +0200 + +mesa (7.7.1-1ubuntu3) lucid-proposed; urgency=low + + * Add 104_savage_init_mesa.patch: Savage driver needs to initialize + &ctx->Meta->Save. Fixes crash when using _mesa_CopyTexImage2D + on Savage hardware. Cherrypick from upstream. Thanks Tormod. + (LP: #562718) + + -- Bryce Harrington Wed, 21 Apr 2010 09:48:09 -0700 + +mesa (7.7.1-1ubuntu2) lucid; urgency=low + + * Add 103_savage-expose_fbmodes_with_nonzero_alpha.patch: Expose + fbmodes with non-zero alpha depth. Fixes issue where clutter apps + crash when using the savage driver. Thanks to knarf for developing + the fix. + (LP: #467474) + * mesa-common-dev should depend on libdrm-dev + (LP: #490811) + + -- Bryce Harrington Wed, 14 Apr 2010 12:06:00 -0700 + +mesa (7.7.1-1ubuntu1) lucid; urgency=low + + [ Alberto Milone ] + * debian/rules: pass --with-dri-searchpath=/usr/lib/dri:/usr/lib32/dri + to confflags-dri on i386 so that /usr/lib32/dri is used for 32 bit + compatibility on 64 bit systems (LP: #248392). + + -- Timo Aaltonen Thu, 01 Apr 2010 13:31:09 +0300 + +mesa (7.7.1-1) unstable; urgency=low + + [ Brice Goglin ] + * Remove Thierry Reding from Uploaders, closes: #572539. + * Bump Standards-Version to 3.8.4, no changes needed. + + [ Timo Aaltonen ] + * New upstream release. + + -- Brice Goglin Tue, 30 Mar 2010 17:15:09 +0200 + +mesa (7.7-4ubuntu1) lucid; urgency=low + + [Timo Aaltonen] + * libgl1-mesa-dri: Get rid of the old hook (65mesa-check-x86-64). + (LP: #460809) + + [Rolf Leggewie] + * debian/control: depend on dpkg package where u-a supports --force + (LP: #525592) + + -- Timo Aaltonen Tue, 02 Mar 2010 17:11:31 +0200 + +mesa (7.7-4) unstable; urgency=low + + * Pull from upstream mesa_7_7_branch up to commit 293f4d51. + + r6xx/r7xx: emit relocation for FRAG & TILE buffer, closes: #569663. + + -- Brice Goglin Wed, 24 Feb 2010 22:44:11 +0100 + +mesa (7.7-3ubuntu1) lucid; urgency=low + + [ Timo Aaltonen ] + * Merge from Debian experimental. + + [ Robert Hooker ] + * Add 100_no_abi_tag.patch: Removes the ABI tag in /usr/lib/libGL.so.1 + which prevented ldconfig from using a libGL from another directory + at a higher priority than the one in /usr/lib. + * Install libGL alternatives with libgl1-mesa-swx11 as well. (LP: #522048) + + -- Timo Aaltonen Fri, 19 Feb 2010 15:52:12 +0200 + +mesa (7.7-3) experimental; urgency=low + + * Pull from upstream mesa_7_7_branch up to commit f5145a6e. + * Build against libdrm-radeon1 2.4.17 to get DRI2 support. + + -- Brice Goglin Mon, 01 Feb 2010 22:55:36 +0100 + +mesa (7.7-2) experimental; urgency=low + + [ Julien Cristau ] + * Rename the build directory to not include DEB_BUILD_GNU_TYPE for no + good reason. Thanks, Colin Watson! + * Remove myself from Uploaders + + [ Brice Goglin ] + * Pull from upstream mesa_7_7_branch up to commit 2f28ca0a. + + Fix funky colors on radeon/r200/r300. + + -- Brice Goglin Wed, 27 Jan 2010 09:14:38 +0100 + +mesa (7.7-0ubuntu8) lucid; urgency=low + + * debian/libgl1-mesa-glx.postinst: + - Pass LDCONFIG_NOTRIGGER=y to ldconfig as it needs to be run + immediately as we're changing /etc/ld.so.conf.d/ with + alternatives. + + -- Alberto Milone Wed, 20 Jan 2010 13:17:54 +0100 + +mesa (7.7-0ubuntu7) lucid; urgency=low + + * debian/libgl1-mesa-glx.postinst + - Install alternative with --force so that files that + already exist are overwritten thus avoiding to install a + broken alternative. + + -- Alberto Milone Tue, 19 Jan 2010 17:29:19 +0100 + +mesa (7.7-0ubuntu6) lucid; urgency=low + + * debian/libgl1-mesa-glx.postinst + - Remove gl_libraries slave link as the file in ld.so.conf.d is + enough. + + -- Alberto Milone Sun, 17 Jan 2010 16:55:36 +0100 + +mesa (7.7-0ubuntu5) lucid; urgency=low + + * debian/rules: + - Remove invalid "install -d" command. + - Do not pass --libdir=/usr/lib/mesa flag any more. + * debian/libgl1-mesa-dev.install, libgl1-mesa-swx11-dev.install, + libgl1-mesa-swx11.install, libglu1-mesa-dev.install, + libglu1-mesa.install: + - Install *.pc files in /usr/lib/pkgconfig instead of + /usr/lib/mesa/pkgconfig. + - Do not Install libGLU* in /usr/lib/mesa (LP: #506547). + * debian/libglu1-mesa-dev.links: + - Remove file as we install libGLU in the right place now. + + -- Alberto Milone Wed, 13 Jan 2010 20:18:17 +0100 + +mesa (7.7-0ubuntu4) lucid; urgency=low + + * debian/libgl1-mesa-dev.links: + - Add link to /usr/lib/mesa/libGL.so in /usr/lib so as not to break + software that build against mesa (LP: #505359). + * debian/libgl1-mesa-glx.{postinst|prerm}: + - Use alternatives so that /usr/lib/GL is a slave which points to + /usr/lib/mesa. + * debian/libglu-mesa-dev.links: + - Add link to /usr/lib/mesa/libGLU.so in /usr/lib/libGLU.so. + * debian/rules: + - Install /usr/lib/mesa/ld.so.conf + - Create an empty directory (for alternatives) just to be sure: + /usr/lib/xorg/x11-extra-modules. + + -- Alberto Milone Mon, 11 Jan 2010 16:49:14 +0100 + +mesa (7.7-0ubuntu3) lucid; urgency=low + + * Add -l/usr/lib/mesa to dh_shlibdeps to fix FTBFS, thanks to + Albert Damen for the patch! + + -- Stefan Potyra Sun, 10 Jan 2010 00:41:48 +0100 + +mesa (7.7-0ubuntu2) lucid; urgency=low + + * Moving just libGL.so.* to /usr/lib/mesa broke all builds depending on + libGL.so or gl.pc. Fix the swx11 target --libdir to use /usr/lib/mesa. + + -- Timo Aaltonen Sat, 09 Jan 2010 11:21:13 +0200 + +mesa (7.7-0ubuntu1) lucid; urgency=low + + * Merge from Debian experimental. + + -- Timo Aaltonen Sat, 09 Jan 2010 00:12:29 +0200 + +mesa (7.7-1) experimental; urgency=low + + [ Brice Goglin ] + * Bump libdrm build dependency to 2.4.15, closes: #561058. + * New upstream release. + * Pull from upstream mesa_7_7_branch up to commit 6d6c9c66. + + [ Julien Cristau ] + * Add freedesktop.org ftp to watch file since that's where newer upstream + tarballs are. + * Don't include GLUT sources since we don't use them. + + -- Brice Goglin Mon, 11 Jan 2010 17:52:31 +0100 + +mesa (7.7~rc2-1) experimental; urgency=low + + * New upstream release candidate. + + s3v and trident DRI drivers removed since they never worked. + + -- Brice Goglin Sat, 12 Dec 2009 13:02:55 +0100 + +mesa (7.6.1-1) unstable; urgency=low + + * New upstream release + + Pull upstream mesa_7_6_branch up to commit da876fa3 + * Bump linux-libc-dev build-dep to 2.6.31 for the r600 dri driver (fixes + ftbfs on mips). + * Drop hunk from 05_hurd-ftbfs.diff that was applied upstream. Refresh + other patches. + + -- Julien Cristau Tue, 29 Dec 2009 10:42:24 +0000 + +mesa (7.6.1~rc3-1ubuntu2) lucid; urgency=low + + * debian/libgl1-mesa-glx.install: + - Install libGL.so* in /usr/lib/mesa so as to allow things to + work with alternatives. + + -- Alberto Milone Fri, 08 Jan 2010 19:38:14 +0100 + +mesa (7.6.1~rc3-1ubuntu1) lucid; urgency=low + + * Merge from Debian unstable. + + -- Timo Aaltonen Mon, 14 Dec 2009 16:49:11 +0200 + +mesa (7.6.1~rc3-1) unstable; urgency=low + + * New upstream release candidate. + + Pull upstream mesa_7_6_branch up to commit 7d41b424. + + Includes sparc64 xform asm patch from #560403. + * Update debian/rules to fix sparc64 FTBFS, thanks Aurelien Jarno, + closes: #560403. + * Build r600 DRI driver. + + -- Brice Goglin Fri, 11 Dec 2009 18:36:36 +0100 + +mesa (7.6.1~rc2-1ubuntu1) lucid; urgency=low + + * Merge from Debian unstable, remaining changes: + - debian/control + + Drop lesstif-dev from Build-Depends. + + Comment out GLw libs since it depends on lesstif-dev. + - debian/rules + + Unexport LDFLAGS (amd64 FTBFS). + + Use --disable-glw for swx11 targets too. + + Don't enable motif for swx11 targets. + + Build .debs with lzma compression. + - debian/patches + + 101_ubuntu_hidden_glname.patch + + 102_dont_vblank.patch + + 107_glxgears_is_not_a_benchmark.patch + * Drop patches now included upstream: + - 108_fix_scissors_regression.patch + - 109_revert-dma-reuse.patch + - 110_dont_free.patch + + -- Timo Aaltonen Mon, 07 Dec 2009 18:07:26 +0200 + +mesa (7.6.1~rc2-1) unstable; urgency=low + + * New upstream release candidate. + + Pull upstream mesa_7_6_branch up to commit b2953ee. + + i965: Fix the bounds emitted in the vertex buffer packets, + closes: #556541. + + Fix window drawing regression in Kwin on older Radeon hardware, + fix assertion failure leading to crash on kwin when compositing + is enabled, closes: #549588. + + Refresh patches. + + -- Brice Goglin Sun, 06 Dec 2009 00:14:34 +0100 + +mesa (7.6.0-1ubuntu4) karmic; urgency=low + + * Add 110_dont_free.patch: It is not necessary to worry about freeing + the textures, VBOs, etc. in _mesa_meta_free() since these are already + handled by the normal context deallocation code. Fixes a crash in + Blender in brw_prepare_vertices(). + (LP: #438657) + + -- Bryce Harrington Tue, 13 Oct 2009 13:48:03 -0700 + +mesa (7.6.0-1ubuntu3) karmic; urgency=low + + * Add 109_revert-dma-reuse.patch: Fix assertion failure leading to crash + on kwin when compositing is enabled. This reverts commit 284a7af27. + (LP: #446578) + + -- Bryce Harrington Tue, 13 Oct 2009 00:52:32 -0700 + +mesa (7.6.0-1ubuntu2) karmic; urgency=low + + * Add 108_fix_scissors_regression.patch: Fix window drawing regression + in Kwin on older Radeon hardware. + (LP: #446425) + + -- Bryce Harrington Fri, 09 Oct 2009 14:12:44 -0700 + +mesa (7.6.0-1ubuntu1) karmic; urgency=low + + * Merge from Debian. (LP: #420803) + Remaining Ubuntu changes: + - debian/control + + Change maintainer address to Ubuntu. + + Drop lesstif-dev from Build-Depends. + + Comment out GLw libs since it depends on lesstif-dev. + + Require at least libdrm_2.4.12+git20090801.45078630 + - debian/rules + + Unexport LDFLAGS (amd64 FTBFS). + + Use --disable-glw for swx11 targets too. + + Don't enable motif for swx11 targets. + + Build .debs with lzma compression. + + Serialize install phase as suggested by Julien Cristau, + fixes amd64 FTBFS. + - debian/patches + + 101_ubuntu_hidden_glname.patch + + 102_dont_vblank.patch + + 107_glxgears_is_not_a_benchmark.patch + * Drop patches now included upstream: + + 108_big_endian.patch + + 109_fix_relocation_delta_for_wm_surfaces.patch + + 110_deassociate_drawables.patch + + 111_dridrawable_nullptr.patch + + 112_dont_corrupt_random_number_state.patch + * Mesa 7.6 fixes the following Ubuntu bugs: + + Suppress excessive warnings on unsupported GLX 1.3 calls. + (LP: #433488) + * See http://www.mesa3d.org/relnotes-7.6.html for more details. + + -- Bryce Harrington Wed, 07 Oct 2009 14:51:41 -0700 + +mesa (7.6-1) unstable; urgency=low + + [ Brice Goglin ] + * New upstream release. + + Fix software fallback assertion on RS480, closes: #539162. + + Fix segfault in _swrast_ReadPixels on i915, closes: #545085. + + [ Julien Cristau ] + * Don't run install from the various configs in parallel, hopefully fixing a + bug in the previous debian/rules. Thanks to Bernhard R. Link for the + suggestions. + + -- Brice Goglin Tue, 29 Sep 2009 11:51:58 +0200 + +mesa (7.6.0~git20090817.7c422387-0ubuntu8) karmic; urgency=low + + * Add 112_dont_corrupt_random_number_state.patch: Fix predictable + numbers being seeded into the RNG in OpenGL when glutCreateWindow() is + called. + (LP: #421651) + + -- Bryce Harrington Wed, 07 Oct 2009 00:38:40 -0700 + +mesa (7.6.0~git20090817.7c422387-0ubuntu7) karmic; urgency=low + + * Add 110_deassociate_drawables.patch, 111_dridrawable_nullptr.patch: + Fix X crash when 3D wine applications are closed. + (LP: #401067) + + -- Bryce Harrington Fri, 02 Oct 2009 18:00:02 -0700 + +mesa (7.6.0~git20090817.7c422387-0ubuntu6) karmic; urgency=low + + * Fix build failures for big endian architectures, update + 108_big_endian.patch. + + -- Matthias Klose Sun, 27 Sep 2009 15:34:47 +0200 + +mesa (7.6.0~git20090817.7c422387-0ubuntu5) karmic; urgency=low + + * debian/rules: Disable r600: Disable r600 as 3D support is still + experimental and causes problems with the gnome session when + compiz is enabled (LP: #419126). + + -- Alberto Milone Wed, 16 Sep 2009 17:43:59 +0200 + +mesa (7.6.0~git20090817.7c422387-0ubuntu4) karmic; urgency=low + + * Add 109_fix_relocation_delta_for_wm_surfaces.patch: Fix relocation + delta for WM surfaces. This was a regression introduced in + 0f328c90dbc893e15005f2ab441d309c1c176245 (LP: #429241). + + -- Alberto Milone Tue, 15 Sep 2009 18:14:48 +0200 + +mesa (7.6.0~git20090817.7c422387-0ubuntu3) karmic; urgency=low + + * Add 108_big_endian.patch: Fix a couple build issues on big-endian hw. + * changelog: Restore missing changelog entries lost during merge. + + -- Bryce Harrington Wed, 26 Aug 2009 13:25:56 -0700 + +mesa (7.6.0~git20090817.7c422387-0ubuntu2) karmic; urgency=low + + * control: Require at least libdrm_2.4.12+git20090801.45078630 + + -- Bryce Harrington Fri, 21 Aug 2009 21:09:03 -0700 + +mesa (7.6.0~git20090817.7c422387-0ubuntu1) karmic; urgency=low + + [Bryce Harrington] + * Checkout from git 20090817 (master branch) up to commit + 7c4223876b4f8a78335687c7fcd7448b5a83ad10 + + Add DRI2 support to -ati + (LP: #329654, #404428, #327698, #321108) + + Fix portion of MythTV Frontend does not work with RADEON DRI + (LP: #341898) + + Fix selection mode on RS482 + (LP: #273329) + + Fix issue running 3D acceleration games on ATI chipsets + (LP: #374590) + + Provide DRI2 swap buffers + (LP: #377090) + + Fix blender unusable with UXA when DRI2 enabled + (LP: #353763) + + Fix glxgears blanking screens on -ati + (LP: #411251) + * Drop 108_bo_assertion.patch (applied upstream) + + [Robert Hooker] + * Only added debian/ tree from origin/ubuntu + * Enable r600 driver. Note that it requires seperate drm modules + not provided in this PPA or in ubuntu, and also does not work with + KMS. + + -- Bryce Harrington Fri, 21 Aug 2009 19:14:36 -0700 + +mesa (7.5.1-1) unstable; urgency=low + + [ Brice Goglin ] + * New upstream release. + * Add README.source. + * Bump Standards-Version to 3.8.3. + + [ Julien Cristau ] + * Override 'package-name-doesnt-match-sonames' lintian warnings for libGLU, + libGLw and both libGLs. + * Use dh_lintian and bump debhelper build-dep accordingly. + + -- Brice Goglin Fri, 04 Sep 2009 11:38:46 +0200 + +mesa (7.5-3) unstable; urgency=low + + * Pull from upstream mesa_7_5_branch up to commit b4ba6a66 + (early 7.5.1 release snapshot). + * Only install the huge upstream changelog in mesa-common-dev, + closes: #538094. + * Enable i686 optimized libraries on hurd-i386. + + -- Brice Goglin Fri, 24 Jul 2009 00:29:28 +0200 + +mesa (7.5-2) unstable; urgency=low + + * Pull from upstream mesa_7_5_branch up to commit a6b31415 + + radeon/DRI1: if we have HW stencil, only expose fbconfigs with stencil, + closes: #537732. + * Install the upstream changelog. + + -- Brice Goglin Tue, 21 Jul 2009 22:21:50 +0200 + +mesa (7.5-1ubuntu1) karmic; urgency=low + + * Merge from Debian. Remaining Ubuntu changes: + - debian/control + + Change maintainer address to Ubuntu. + + Drop lesstif-dev from Build-Depends. + + Comment out GLw libs since it depends on lesstif-dev. + - debian/rules + + Unexport LDFLAGS (amd64 FTBFS). + + Use --disable-glw for swx11 targets too. + + Don't enable motif for swx11 targets. + + Build .debs with lzma compression. + + Serialize install phase as suggested by Julien Cristau, + fixes amd64 FTBFS. + - debian/patches + + 101_ubuntu_hidden_glname.patch + + 102_dont_vblank.patch + + 107_glxgears_is_not_a_benchmark.patch + * Dropped patches, applied upstream: + - 108_bo_assertion.patch + * Mesa 7.5 fixes the following Ubuntu bugs: + - Fixes intelTexImage Assertion failed (LP: #358403) + - Fixes segv during glean/makeCurrent (LP: #333748) + + -- Bryce Harrington Tue, 21 Jul 2009 00:41:19 -0700 + +mesa (7.5-1) unstable; urgency=low + + [ Timo Aaltonen ] + * Move dri.pc to mesa-common-dev (closes: #521667) + + [ Brice Goglin ] + * Enable i686 optimized libraries on kfreebsd-i386, closes: #537345. + * New upstream release: + + i915: Fix assertion failure on remapping a non-BO-backed VBO, + closes: #537147. + + GLX/DRI1: Mark GLX visuals with depth != screen depth non-conformant, + closes: #532980. + + -- Brice Goglin Sun, 19 Jul 2009 12:53:41 +0200 + +mesa (7.5~rc4-1ubuntu3) karmic; urgency=low + + * Add 108_bo_assertion.patch: Fix assertion failure on remapping a + non-BO-backed VBO with intel video. (LP: #396667) + + -- Robert Hooker (Sarvatt) Tue, 07 Jul 2009 14:35:54 -0400 + +mesa (7.5~rc4-1ubuntu2) karmic; urgency=low + + * rules: Add a missing semicolon (FTBFS). + + -- Timo Aaltonen Tue, 30 Jun 2009 19:49:17 +0300 + +mesa (7.5~rc4-1ubuntu1) karmic; urgency=low + + * Merge from Debian experimental, remaining changes: + - debian/control + + Change maintainer address to Ubuntu. + + Drop lesstif-dev from Build-Depends. + + Comment out GLw libs since it depends on lesstif-dev. + - debian/rules + + Unexport LDFLAGS (amd64 FTBFS). + + Use --disable-glw for swx11 targets too. + + Don't enable motif for swx11 targets. + + Build .debs with lzma compression. + - debian/patches + + 101_ubuntu_hidden_glname.patch refreshed. + + 102_dont_vblank.patch refreshed. + - debian/mesa-common-dev.install + + Install dri.pc + * Dropped patches, applied upstream: + 104_fix_dri2_ext_tfp.diff + 105_glXWaitX_segfaults.patch + 108_destroy_intel_fb.patch + 109_release_direct_rendering_resources.patch + 110_null_ptr_during_screen_tear_down.patch + * rules: Serialize install phase as suggested by Julien Cristau, + fixes amd64 FTBFS. + + -- Timo Aaltonen Tue, 30 Jun 2009 17:52:14 +0300 + +mesa (7.5~rc4-1) experimental; urgency=low + + [ Timo Aaltonen ] + * New upstream release candidate. + + xdriinfo now works with DRI2 (closes: #527132) + * rules: Disable EGL. + * mesa-common-dev.install: Don't install glxew.h, conflicts with libglew. + + [ Julien Cristau ] + * Update patches: + + 02_use-ieee-fp-on-s390-and-m68k.patch moved from imports.h to compiler.h + + 03_optional-progs-and-install.patch refreshed + + 05_hurd-ftbfs.diff partly applied upstream + + 06_kfreebsd-ftbfs.diff refreshed + * Install dri.pc, which will be needed to build xorg-server 1.7. + * Don't build gallium for now. + + -- Julien Cristau Sun, 28 Jun 2009 20:21:37 +0200 + +mesa (7.4.4-1) unstable; urgency=low + + [ Julien Cristau ] + * New upstream release. + + fixes a crash in swrast glXWaitX (closes: #528708) + * Don't build hardware dri drivers on s390. + * Update 04_osmesa_version.diff, refresh 06_kfreebsd-ftbfs.diff. + + [ Brice Goglin ] + * Enable motif in GLw, closes: #527483. + + -- Julien Cristau Sun, 28 Jun 2009 18:58:27 +0200 + +mesa (7.4.1-1ubuntu6) karmic; urgency=low + + * Install dri.pc in libgl1-mesa-dev as well + (LP: #379797) + + -- Robert Hooker Wed, 24 Jun 2009 17:47:08 -0400 + +mesa (7.4.1-1ubuntu5) karmic; urgency=low + + * Drop 111_fix_mesa_ref_fb_call_syntax.patch: Testing showed that 110 + alone is sufficient to fix the issue. + + -- Bryce Harrington Wed, 24 Jun 2009 17:07:33 -0700 + +mesa (7.4.1-1ubuntu4) karmic; urgency=low + + * Add 110_null_ptr_during_screen_tear_down.patch and + 111_fix_mesa_ref_fb_call_syntax.patch to fix crashes caused by errors + in the previous memory leak fixes in -1u3. + (LP: #391808) + + -- Bryce Harrington Wed, 24 Jun 2009 15:32:54 -0700 + +mesa (7.4.1-1ubuntu3) karmic; urgency=low + + * Add 108_destroy_intel_fb.patch: Release fb backing regions in + intelDestroyBuffer(). Cherrypicked patch. Fixes memory leak when + destroying framebuffers. + (LP: #360319) + * Add 109_release_direct_rendering_resources.patch: Cherrypicked patch. + Also release direct rendering resources in glXDestroyGLXPixmap. + Fixes leak running compiz with direct rendering. + (LP: #376092) + + -- Bryce Harrington Tue, 23 Jun 2009 13:44:02 -0700 + +mesa (7.4.1-1ubuntu2) karmic; urgency=low + + * Add 107_glxgears_is_not_a_benchmark.patch: glxgears makes + troubleshooting performance issues difficult because bug reporters + see it provides fps output, and end up not looking for a better + benchmark. + + -- Bryce Harrington Mon, 04 May 2009 12:49:12 -0700 + +mesa (7.4.1-1ubuntu1) karmic; urgency=low + + * Merge from debian unstable, remaining changes: + - debian/control + + Change maintainer address to Ubuntu. + + Drop lesstif-dev from Build-Depends. + + Comment out GLw libs since it depends on lesstif-dev. + - debian/rules + + Unexport LDFLAGS (amd64 FTBFS). + + use --disable-glw for swx11 targets too. + + Build .debs with lzma compression. + - debian/patches + + 101_ubuntu_hidden_glname.patch. + + 102_dont_vblank.patch: + + 104_fix_dri2_ext_tfp.diff + + 105_glXWaitX_segfaults.patch + + -- Timo Aaltonen Fri, 15 May 2009 14:50:57 +0300 + +mesa (7.4.1-1) unstable; urgency=low + + [ Julien Cristau ] + * Make libgl1-mesa-dev and mesa-common-dev 'Architecture: any'. This gets + rid of uninstallability when a new upstream version isn't built on all + architectures, and allows us to ship potentially arch-specific .pc files. + * Install pkgconfig files for libGLU, libOSMesa and libGLw. + * Make libgl1-mesa-dri{,-dbg} 'Architecture: any', as swrast_dri.so should + get built everywhere. + * Drop the dependency on libgl1-mesa-glx from -dri, and make -glx recommend + -dri instead. The dri drivers are also loaded by the X server, which + doesn't need libGL. On the other hand, libGL needs one of the dri drivers + for direct rendering (either software or hardware). Mark libgl1-mesa-dri + as breaking old xserver-xorg-core and libgl1-mesa-glx, to avoid + incompatibilities. + * Add patch by Samuel Thibault to fix FTBFS on hurd-i386. + * Pull from mesa_7_4_branch as of May 3rd (commit 63375254). + * Move -dbg packages to new 'debug' section. + + [ Brice Goglin ] + * Add patch by Aurelien Jarno to fix FTBFS on kfreebsd-i386, closes: #524690. + + -- Julien Cristau Sun, 03 May 2009 16:05:09 +0200 + +mesa (7.4-2) unstable; urgency=low + + * Upload to unstable. + + -- Julien Cristau Wed, 08 Apr 2009 23:53:47 +0100 + +mesa (7.4-1) experimental; urgency=low + + [ Timo Aaltonen ] + * New upstream release. + + -- Julien Cristau Wed, 01 Apr 2009 20:25:00 +0200 + +mesa (7.4-0ubuntu4) karmic; urgency=low + + * debian/patches/106_compiz_ring_switcher_xorg_segv_on_radeon.diff: + fix xserver segv triggered by compiz ring switcher plugin for users + with r300/r400 radeon chipsets and -ati driver. Patch previously + commited to mesa master as c28707b50701b1cf8727be29d61e2d939c6ee58f + and also to mesa_7_4_branch as a1ce4efefbb7f796a0a24544a1e893a56848f0c1. + Note: it was commited to the 7.4 branch after mesa 7.4.0 release. + (LP: #368049) + + -- Martin Olsson Mon, 04 May 2009 12:25:29 +0200 + +mesa (7.4-0ubuntu3) jaunty; urgency=low + + * Disable 103_bump_965_texture_limit.diff. This is suspected to cause X + freeze issues. + (LP: 359392, Reopen: 146298) + + -- Bryce Harrington Fri, 17 Apr 2009 11:48:50 -0700 + +mesa (7.4-0ubuntu2) jaunty; urgency=low + + * Add 105_glXWaitX_segfaults.patch. Resolves segfaults from unitialized + variables when using swrast based drivers. (LP: #355242) + + -- Mario Limonciello Wed, 15 Apr 2009 01:03:30 -0500 + +mesa (7.4-0ubuntu1) jaunty; urgency=low + + * New upstream release, merge from debian-experimental + (LP: #330476, #347171, #349127) + * Drop 103_rs600_support.patch, included in this version. + * Drop 104_swrast_fbconfigs.patch, included in this version. + * Add 103_bump_965_texture_limit.diff. (LP: #146298) + * Add 104_fix_dri2_ext_tfp.diff. (LP: #324854) + + -- Timo Aaltonen Fri, 03 Apr 2009 12:42:06 +0300 + +mesa (7.4~rc1-1) experimental; urgency=low + + * New upstream release candidate. + * Fix watch file to make uscan not consider release candidates as newer than + actual releases. + * debian/control: add lpia to the Architecture field for + libgl1-mesa-dri{,-dbg} to match Ubuntu. + * debian/rules: on lpia, only build the i915 and i965 dri drivers (based on + Ubuntu changes). + * Build-depend on linux-libc-dev >= 2.6.29 on linux archs. + + -- Julien Cristau Wed, 25 Mar 2009 11:34:42 +0100 + +mesa (7.3-1ubuntu4) jaunty; urgency=low + + * Backport 104_swrast_fbconfigs.patch from mesa git. + - Properly assigns an fbconfig for the root visual. This fixes + issues with MythTV not being able to show fonts when using a software + rasterizer. (LP: #341898) + + -- Mario Limonciello Fri, 27 Mar 2009 02:50:13 -0500 + +mesa (7.3-1ubuntu3) jaunty; urgency=low + + * Add 103_rs600_support.patch: Adds support for the RS600 chip and sets + the number of gb pipes properly for r3xx/r5xx cards. + + -- Bryce Harrington Tue, 03 Mar 2009 00:26:59 -0800 + +mesa (7.3-1ubuntu2) jaunty; urgency=low + + [ Julien Cristau ] + * Drop CFLAGS mangling for lpia and armel from debian/rules, the issue has + been fixed upstream. + + [ Timo Aaltonen ] + * 102_dont_vblank.patch: Disable vblank again for intel, and revisit it + again during the next cycle. + + -- Timo Aaltonen Mon, 23 Feb 2009 16:48:56 +0200 + +mesa (7.3-1ubuntu1) jaunty; urgency=low + + * Merge with Debian experimental. + * Drop 102_remove_flip.diff, included in 7.3.. + + -- Timo Aaltonen Sat, 31 Jan 2009 12:38:44 +0200 + +mesa (7.3-1) experimental; urgency=low + + [ Timo Aaltonen ] + * New upstream release. + + [ Julien Cristau ] + * Try to make the diff a bit smaller by removing directories that are in + upstream git but not in tarballs. + + -- Julien Cristau Fri, 30 Jan 2009 20:00:34 +0100 + +mesa (7.3~rc3-1ubuntu2) jaunty; urgency=low + + * 102_remove_flip.diff: Add a patch from upstream which removes the + remaining bits of pageflipping support. (LP: #320690) + + -- Timo Aaltonen Sun, 25 Jan 2009 00:00:04 +0200 + +mesa (7.3~rc3-1ubuntu1) jaunty; urgency=low + + * Merge with Debian experimental. + * Drop 102_dont_vblank.patch, since the new drm code in the kernel + fixes the bugs that it worked around. + * Bump the build-dependency of libdrm to 2.4.4. It's the first version + with necessary changes to build this. + + -- Timo Aaltonen Fri, 23 Jan 2009 10:20:24 +0200 + +mesa (7.3~rc3-1) experimental; urgency=low + + [ Timo Aaltonen ] + * New upstream release candidate. + + [ Julien Cristau ] + * Refresh patches 03 and 04. + + -- Julien Cristau Wed, 21 Jan 2009 19:01:21 +0100 + +mesa (7.3~rc1-1) experimental; urgency=low + + * New upstream release candidate. + + provides DRI2 (closes: #411141). + + i915: fallback for cube map texture. Fixes GPU hang with scorched3d + (closes: #484049). + + [ Timo Aaltonen ] + * Remove debian/patches/01_disable-intel-classic-warn.diff, the + warning is gone now. + * debian/control: + - Build-depend on x11proto-dri2-dev (>= 1.99.3) + + [ Julien Cristau ] + * Require libdrm-dev 2.4.3. + * Merge packaging changes from unstable, from 7.0.3-5 to 7.0.3-7. + * Delete unused configs/debian-*, and install-source.sh script. We've + switched to using autoconf, and mesa-swx11-source is gone. + * Delete some now unused code from debian/rules. + + -- Julien Cristau Sat, 10 Jan 2009 22:14:55 +0100 + +mesa (7.2+git20081209.a0d5c3cf-0ubuntu4) jaunty; urgency=low + + * debian/rules: Add -D_GNU_SOURCE for lpia & armel (FTBFS). + + -- Timo Aaltonen Fri, 12 Dec 2008 02:15:40 +0200 + +mesa (7.2+git20081209.a0d5c3cf-0ubuntu3) jaunty; urgency=low + + * debian/rules (CFLAGS): Avoid recursive reference. + + -- Matthias Klose Thu, 11 Dec 2008 22:34:43 +0100 + +mesa (7.2+git20081209.a0d5c3cf-0ubuntu2) jaunty; urgency=low + + * debian/rules: Add -D_BSD_SOURCE to CFLAGS for lpia & armel (FTBFS). + * Drop the Xsession.d hook, not needed anymore. + + -- Timo Aaltonen Thu, 11 Dec 2008 23:20:47 +0200 + +mesa (7.2+git20081209.a0d5c3cf-0ubuntu1) jaunty; urgency=low + + * Merge from debian-experimental git branch. + * 103_fix-crash-in-i830_emit_state.dpatch: deleted, included + upstream. + + -- Timo Aaltonen Tue, 09 Dec 2008 21:54:28 +0200 + +mesa (7.2-1ubuntu2) intrepid; urgency=low + + * debian/patches/103_fix-crash-in-i830_emit_state.dpatch: + - Apply upstream commit to fix a crash in i830_emit_state + (LP: #277709) + + -- Chris Coulson Tue, 21 Oct 2008 17:55:10 +0100 + +mesa (7.2-1ubuntu1) intrepid; urgency=low + + * Merge from Debian experimental. + + -- Timo Aaltonen Wed, 24 Sep 2008 21:00:38 +0300 + +mesa (7.2-1) experimental; urgency=low + + [ Brice Goglin ] + * Fix grammar and punctuation in glxinfo(1), thanks Sam Hocevar, + closes: #498595. + + [ Timo Aaltonen ] + * New upstream release. + * Refresh patch 04_osmesa_version.diff + + [ Julien Cristau ] + * Remove the build-dep on dri2proto, DRI2 support has been removed. + * intel: don't warn about TTM init failure. + + -- Julien Cristau Wed, 24 Sep 2008 14:28:21 +0200 + +mesa (7.1-1ubuntu3) intrepid; urgency=low + + * debian/rules: Build i915 and i965 DRI drivers on lpia. (LP: #270106) + + -- Timo Aaltonen Tue, 16 Sep 2008 13:07:02 +0300 + +mesa (7.1-1ubuntu2) intrepid; urgency=low + + * 102_dont_vblank.patch + - Revert the commit which defaults to vblank on intel. It breaks + DPMS with compiz, resulting in a hang. (LP: 262605) + + -- Timo Aaltonen Fri, 12 Sep 2008 11:25:01 +0300 + +mesa (7.1-1ubuntu1) intrepid; urgency=low + + * Merge from debian experimental, remaining changes: + - debian/control + + Change maintainer address to Ubuntu. + + Drop lesstif-dev from Build-Depends since it's a universe component + that Ubuntu doesn't want in main due to security concerns about it + (it's a large codebase without active development - last release >2 + yrs ago). + + Comment out GLw libs since it depends on lesstif-dev. + + Add lpia to -dri and -dri-dbg package in. + + Add Pre-Depends: dpkg (>= 1.14.12ubuntu3) to ensure dpkg + support for lzma. + - debian/rules + + Unexport LDFLAGS (amd64 FTBFS). + + Add Xsession hook to disable ASM optimizations when running on + 64-but processors that don't support them + (LP: 87661, Deb: 484180, fdo: 8724) + + use --disable-glw for swx11 targets too. + + Build .debs with lzma compression. + - debian/patches + + Add 101_ubuntu_hidden_glname.patch. + + -- Timo Aaltonen Thu, 28 Aug 2008 01:18:35 +0300 + +mesa (7.1-1) experimental; urgency=low + + * Add parallel build support. + * New upstream development release + + libGLU now only exports its public interface (closes: #319388) + * Some more parallel build updates. + + -- Julien Cristau Wed, 27 Aug 2008 19:52:24 +0200 + +mesa (7.1~rc3-1ubuntu4) intrepid; urgency=low + + * debian/control: Add Pre-Depends: dpkg (>= 1.14.12ubuntu3) to ensure dpkg + support for lzma. + + -- Martin Pitt Sun, 11 May 2008 10:42:54 +0200 + +mesa (7.1~rc3-1ubuntu3) intrepid; urgency=low + + * Build .debs with lzma compression to reduce libgl1-mesa-dri from 13.2 to + 2.8 MB. + + -- Martin Pitt Tue, 12 Aug 2008 09:31:01 +0200 + +mesa (7.1~rc3-1ubuntu2) intrepid; urgency=low + + * 102_fix-fdo-14441.diff: fix tfp on i965. (LP: #245888) + + -- Timo Aaltonen Fri, 01 Aug 2008 16:08:01 +0300 + +mesa (7.1~rc3-1ubuntu1) intrepid; urgency=low + + * merged with debian-experimental + + -- Michael Vogt Tue, 15 Jul 2008 15:07:41 +0100 + +mesa (7.1~rc3-1) experimental; urgency=low + + [ Julien Cristau ] + * New upstream release candidate (updated to git commit 4fab47b1). + * Build against libdrm >= 2.3.1. + * 04_osmesa_version.diff: fix libOSMesa versioning, to revert accidental + SONAME bump. + + [ Timo Aaltonen ] + * Refresh patches, and drop obsolete 00_create-libdir.patch and + 01_fix-makefile.patch. + * Build-depend on x11proto-dri2-dev. + * Drop mesa-swx11-source. + * Add dri_interface.h to mesa-common-dev. + * Add gl.pc to libgl1-mesa-dev + * rules: Replace the old build system with the new autotools-based + system. + * Run autoreconf before building the various flavours.. + * Add automake & autoconf to build-deps. + * Use --enable-glx-tls for dri. + + -- Julien Cristau Sun, 13 Jul 2008 19:41:42 +0200 + +mesa (7.1~rc1-0ubuntu2) intrepid; urgency=low + + * Merge with debian git, fixes FTBFS on sparc/hppa/ia64. + + -- Timo Aaltonen Mon, 07 Jul 2008 11:12:26 +0300 + +mesa (7.1~rc1-0ubuntu1) intrepid; urgency=low + + [ Bryce Harrington ] + * Merge from git.debian.org, remaining changes: + - Change maintainer address to Ubuntu. + - Drop lesstif-dev from Build-Depends since it's a universe component + that Ubuntu doesn't want in main due to security concerns about it + (it's a large codebase without active development - last release >2 + yrs ago). + - Comment out GLw libs from control since it depends on lesstif-dev. + - Add lpia to -dri and -dri-dbg package in debian/control. + - Add Xsession hook to disable ASM optimizations when running on + 64-but processors that don't support them + (LP: 87661, Deb: 484180, fdo: 8724) + - Add 101_ubuntu_hidden_glname.patch. + + [ Timo Aaltonen ] + * Dropped patches + 102_ubuntu_no_glw.patch: + - the new build system handles this better + 103_dlopen_in_driveropen.diff and 104_fix_driveropen.diff: + - upstream + * debian/rules: use --disable-glw for swx11 targets too. + * Unexport LDFLAGS (amd64 FTBFS). + + -- Timo Aaltonen Fri, 04 Jul 2008 13:19:57 +0300 + +mesa (7.0.3-7) unstable; urgency=low + + * Cherry-pick patch from upstream: + Use 3Dnow! x86-64 routines only on processors that support 3Dnow! + (closes: #484180). + * Also build the x86-specific dri drivers on kfreebsd (closes: #492894). + + -- Julien Cristau Sun, 14 Dec 2008 07:34:58 +0530 + +mesa (7.0.3-6) unstable; urgency=high + + * Update debian/copyright to the SGI Free Software License B, version 2.0. + It now mirrors the free X11 license used by X.Org (closes: #368560). + http://www.sgi.com/company_info/newsroom/press_releases/2008/september/opengl.html + + -- Julien Cristau Sat, 20 Sep 2008 16:30:44 +0200 + +mesa (7.0.3-5) unstable; urgency=low + + * Disable the i915tex driver, it doesn't build against libdrm 2.3.1. + * Pull from mesa_7_0_branch (27425708). + + -- Julien Cristau Sat, 12 Jul 2008 18:56:19 +0200 + +mesa (7.0.3-4) unstable; urgency=low + + * Pull from mesa_7_0_branch (2ac4919d). + * Put back our configs/ changes into the .diff.gz since choose-configs + needs them before quilt is invoked. Put 04_cleanup-osmesa-configs.patch + there as well for #485161. + + -- Brice Goglin Wed, 18 Jun 2008 20:59:14 +0200 + +mesa (7.0.3-3ubuntu1) intrepid; urgency=low + + * Merge from debian unstable, remaining changes: + - Change maintainer address to Ubuntu. + - Drop lesstif-dev from Build-Depends since it's a universe component + that Ubuntu doesn't want in main due to security concerns about it + (it's a large codebase without active development - last release >2 + yrs ago). + - Comment out GLw libs from control since it depends on lesstif-dev. + - Add lpia to -dri and -dri-dbg package in debian/control. + - Add lpia to ARCH_X86 in configs/debian-dri-default. + - Add 101_ubuntu_hidden_glname.patch + - Add 102_ubuntu_no_glw.patch to remove lesstif build depends since + its a universe component. + - Add 103_dlopen_in_driveropen.diff and 104_fix_driveropen.diff from + upstream; "Always call dlopen in DriverOpen". + (LP: 189580, fdo: 13541) + - Add Xsession hook to disable ASM optimizations when running on + 64-but processors that don't support them + (LP: 87661, Deb: 484180, fdo: 8724) + + -- Bryce Harrington Tue, 17 Jun 2008 16:47:35 -0700 + +mesa (7.0.3-3) unstable; urgency=low + + * Pull from mesa_7_0_branch (718724de). + + Fix intel_batchbuffer_space on i965, closes: #455817. + + Fix busy error in i915_wait_irq for real now, closes: #467319. + * Move our configs/ changes from the .diff.gz into our quilt patches, + with 04_cleanup-osmesa-configs.patch renamed into 04_debian-configs.patch, + closes: #485161. + + -- Brice Goglin Tue, 17 Jun 2008 20:00:51 +0200 + +mesa (7.0.3-2) unstable; urgency=low + + * Pull from mesa_7_0_branch (03447de3). + * Set right cliprects for the current draw region on Intel, closes: #467319. + * Use BRW_TEXCOORDMODE_CLAMP instead of BRW_TEXCOORDMODE_CLAMP_BORDER + to implement GL_CLAMP on i965, closes: #478880. + * Fix segment fault with BASE_LEVEL set to 5 for MipMap on i915, + closes: #451339. + * Disable low impact fallback on r300 by default, closes: #440868. + + -- Brice Goglin Fri, 13 Jun 2008 06:53:29 +0200 + +mesa (7.0.3-1ubuntu2) intrepid; urgency=low + + * Add Xsession hook to disable ASM optimizations when running on + 64-but processors that don't support them (LP: #87661) + + -- Tormod Volden Thu, 05 Jun 2008 12:41:25 +0200 + +mesa (7.0.3-1ubuntu1) intrepid; urgency=low + + * Merge from debian unstable, remaining changes: + - Change maintainer address. + - Drop lesstif-dev from Build-Depends. + - Comment out GLw libs from control. + - Add lpia to -dri and -dri-dbg package in debian/control. + - Add lpia to ARCH_X86 in configs/debian-dri-default. + - Add 101_ubuntu_hidden_glname.patch + - Add 102_ubuntu_no_glw.patch + - Add 103_dlopen_in_driveropen.diff and 104_fix_driveropen.diff from + upstream; "Always call dlopen in DriverOpen". (LP: #189580) + + -- Timo Aaltonen Wed, 04 Jun 2008 18:38:43 +0300 + +mesa (7.0.3-1) unstable; urgency=low + + * New upstream release. + * Only call ProgramStringNotify if program parsing succeeded, + closes: #473551. + + -- Brice Goglin Fri, 11 Apr 2008 08:42:37 +0200 + +mesa (7.0.3~rc2-2) unstable; urgency=low + + * Pull from mesa_7_0_branch (1e83d70b). + * Fixes regression in the i965 dri driver (closes: #470984, #470084) + * Update 02_use-ieee-fp-on-s390-and-m68k.patch. + * Change libgl1-mesa-swx11-i686's pre-dependency on libgl1-mesa-swx11 to a + regular versioned dependency, and add ${shlibs:Depends}. + + -- Julien Cristau Mon, 31 Mar 2008 16:47:31 +0200 + +mesa (7.0.3~rc2-1ubuntu3) hardy; urgency=low + + * debian/patches/107_fix_-ve_rhw_regression.patch: Fixes regression + introduced upstream where a -ve rhw workaround is being applied only + for IGD systems, when it should be applied only for *non*-IGD systems. + This resulted in rendering issues in 3D games and drawing programs. + (LP: #199823, #206287) + + -- Bryce Harrington Fri, 04 Apr 2008 19:46:40 -0700 + +mesa (7.0.3~rc2-1ubuntu2) hardy; urgency=low + + [ Laurent Bigonville ] + * debian/patches/105_vblank_fix.patch: Fix "drmWaitVBlank returned -1" error + (LP: #186764) + + [ Timo Aaltonen ] + * Add 106_i965_wine_fix.diff from upstream, "Only call + ProgramStringNotify if program parsing succeeded". (LP: #178292) + + -- Timo Aaltonen Wed, 12 Mar 2008 12:33:41 +0200 + +mesa (7.0.3~rc2-1ubuntu1) hardy; urgency=low + + * Merge from debian unstable (LP: #189167), remaining changes: + - Change maintainer address. + - Drop lesstif-dev from Build-Depends. + - Comment out GLw libs from control. + - Add lpia to -dri and -dri-dbg package in debian/control. + - Add lpia to ARCH_X86 in configs/debian-dri-default. + - Add 101_ubuntu_hidden_glname.patch + - Add 102_ubuntu_no_glw.patch + * Drop patch 103_fix_rv410se.diff, applied upstream. + * Add 103_dlopen_in_driveropen.diff and 104_fix_driveropen.diff from + upstream; "Always call dlopen in DriverOpen". (LP: #189580) + + -- Timo Aaltonen Tue, 26 Feb 2008 13:07:45 +0200 + +mesa (7.0.3~rc2-1) unstable; urgency=low + + * New upstream release candidate. + + enable user-defined clip planes for R300 (closes: #408679) + + 03_optional-progs-and-install.patch: partly applied upstream, fixed up + * Stop building with -O0 on hppa. Bug #451047 should be fixed in recent gcc + versions. + + -- Julien Cristau Sun, 24 Feb 2008 10:22:54 +0100 + +mesa (7.0.2-4ubuntu2) hardy; urgency=low + + * 103_fix_rv410se.diff: + - patch from upstream; "Fix rendering on x700 SE chips." + (LP: #151974) + + -- Timo Aaltonen Wed, 30 Jan 2008 13:18:23 +0200 + +mesa (7.0.2-4ubuntu1) hardy; urgency=low + + * Merge from debian unstable (LP: #151974), remaining changes: + - Change maintainer address. + - Drop lesstif-dev from Build-Depends. + - Comment out GLw libs from control. + - Add lpia to -dri and -dri-dbg package in debian/control. + - Add lpia to ARCH_X86 in configs/debian-dri-default. + - Add 101_ubuntu_hidden_glname.patch + - Add 102_ubuntu_no_glw.patch + + -- Timo Aaltonen Tue, 29 Jan 2008 12:09:30 +0200 + +mesa (7.0.2-4) unstable; urgency=low + + * Update to mesa_7_0_branch head (commit 48ae5cf0). + * Add Vcs-Git, Vcs-Browser and Homepage fields in debian/control. + + -- Julien Cristau Thu, 17 Jan 2008 22:23:06 +0100 + +mesa (7.0.2-3ubuntu1) hardy; urgency=low + + * Merge from debian unstable, remaining changes: + - Change maintainer address. + - Drop lesstif-dev from Build-Depends. + - Comment out GLw libs from control. + - Add lpia to -dri and -dri-dbg package in debian/control. + - Add lpia to ARCH_X86 in configs/debian-dri-default. + - Add 101_ubuntu_hidden_glname.patch + - Add 102_ubuntu_no_glw.patch + * debian/control: Do not build-depend on gcc-3.4 anymore. + * Drop 110_ubuntu_use_gcc-3.4_for_i965.patch + + -- Timo Aaltonen Sat, 05 Jan 2008 00:45:31 +0200 + +mesa (7.0.2-3) unstable; urgency=low + + * Update to mesa_7_0_branch head (commit 0107acde). + * Bump Standards-Version to 3.7.3. + * Move libgl1-mesa-swx11-dbg, mesa-common-dev and libosmesa6-dev to section + libdevel. + * libgl1-mesa-swx11 conflicts with libgl1-mesa-glx. Move it and + libgl1-mesa-swx11-dev to priority extra. + * Fix typo in mesa-common-dev's long description. + + -- Julien Cristau Tue, 18 Dec 2007 19:13:18 +0100 + +mesa (7.0.2-2ubuntu1) hardy; urgency=low + + * Merge from debian unstable, remaining changes: + - Change maintainer address. + - Add gcc-3.4 as a build dependency for amd64, i386 and lpia. + - Drop lesstif-dev from Build-Depends. + - Comment out GLw libs from control. + - Add lpia to -dri and -dri-dbg package in debian/control. + - Add lpia to ARCH_X86 in configs/debian-dri-default. + - Add 101_ubuntu_hidden_glname.patch + - Add 102_ubuntu_no_glw.patch + - Add 110_ubuntu_use_gcc-3.4_for_i965.patch + + -- Timo Aaltonen Fri, 16 Nov 2007 09:00:24 +0200 + +mesa (7.0.2-2) unstable; urgency=low + + [ Julien Cristau ] + * Don't set -fno-strict-aliasing in configs/debian-default. It is set + upstream now. + * Workaround gcc ICE on hppa: build libOSMesa with -O0 (see bug#451047). + * Add build-dep on libxext-dev. Thanks, Timo Aaltonen! + + -- Brice Goglin Tue, 13 Nov 2007 21:43:40 +0100 + +mesa (7.0.2-1ubuntu2) hardy; urgency=low + + * Add libxext-dev to Build-Depends. + + -- Timo Aaltonen Mon, 12 Nov 2007 14:50:38 +0200 + +mesa (7.0.2-1ubuntu1) hardy; urgency=low + + * Merge from debian unstable, remaining changes: + - Change maintainer address. + - Add gcc-3.4 as a build dependency for amd64, i386 and lpia. + - Drop lesstif-dev from Build-Depends. + - Comment out GLw libs from control. + - Add lpia to -dri and -dri-dbg package in debian/control. + - Add lpia to ARCH_X86 in configs/debian-dri-default. + - Add 101_ubuntu_hidden_glname.patch + - Add 102_ubuntu_no_glw.patch + - Add 110_ubuntu_use_gcc-3.4_for_i965.patch + + -- Timo Aaltonen Mon, 12 Nov 2007 12:55:33 +0200 + +mesa (7.0.2-1) unstable; urgency=low + + * New upstream release. + + Fix Blender crash in triangle_twoside(), closes: #439668, #446315. + + Fix crash in _generic_read_RGBA_span_RGB565_MMX(), closes: #445313. + + Fix the new __gluInvertMatrix() function, closes: #440137 ,#441071. + + Refresh 03_optional-progs-and-install.patch since libGLU is not + built when building progs/xdemos. + + Refresh 04_cleanup-osmesa-configs.patch. + + Drop 05_static-nonpic.patch,, applied upstream. + + Remove DESTDIR from INSTALL_DIR in configs/debian-default since + the upstream Makefiles now support DESTDIR. + * Add myself to Uploaders. + + -- Brice Goglin Sun, 11 Nov 2007 11:53:26 +0100 + +mesa (7.0.1-2) unstable; urgency=low + + * Update to latest git (from mesa_7_0_branch) + + adds support for some new intel chipsets (i915 and i915_tex dri drivers) + (closes: #437333) + + broken inline asm in dri drivers fixed (closes: #423739) + + -- Julien Cristau Tue, 28 Aug 2007 12:11:30 +0200 + +mesa (7.0.1-1ubuntu3) gutsy; urgency=low + + * Add lpia to -dri and -dri-dbg package in debian/control. + * Add lpa top ARCH_X86 in configs/debian-dri-default. + + -- Tollef Fog Heen Fri, 12 Oct 2007 14:12:21 +0200 + +mesa (7.0.1-1ubuntu2) gutsy; urgency=low + + * Add fix-965-vblank.patch, pulled from upstream + b3fc9a1585f390274fa26b3e3f80bc6d16f4388a which fixes missed vbl + interrupts on Intel i965 hardware. + + -- Kyle McMartin Wed, 3 Oct 2007 11:11:22 -0400 + +mesa (7.0.1-1ubuntu1) gutsy; urgency=low + + * Merge from debian unstable, remaining changes: + - Change maintainer to Ubuntu + - Add gcc-3.4 as a build dependency for lpia. + - Add support for Intel 945GME, G33, Q33, Q35 + + 200_945gme.patch, upstream a74eec5af5397b612d60dd4b0d81666027f19bb0, + ad6351a994fd14af9d07da4f06837a7f9b9d0de4 + + 201_g33.patch, upstream 8331d9d7aa7cde7126d38d4e1eb5fe8a168077f3 + - Comment out GLw libs from control file + - Dropped Ubuntu addition of conflicts of libgl1-mesa-glx against + libgl1-mesa-swx11, since Debian has hadded a shlibs file for + libgl1-mesa-swx11-i686 + + -- Bryce Harrington Wed, 15 Aug 2007 15:08:32 -0700 + +mesa (7.0.1-1) unstable; urgency=low + + * New upstream release. + * Upload to unstable. + + -- Julien Cristau Thu, 09 Aug 2007 11:56:16 +0200 + +mesa (7.0.1~rc2-1) experimental; urgency=low + + [ David Nusinow ] + * New upstream release candidate + * Bite the bullet and add myself to uploaders + + [ Julien Cristau ] + * Modify the short descriptions of various packages so they fit in .changes + files without being cut off. Thanks, Marc 'HE' Brockschmidt! + * Add a shlibs file for libgl1-mesa-swx11-i686. + + -- Julien Cristau Fri, 27 Jul 2007 20:17:48 +0200 + +mesa (7.0.0-0ubuntu3) gutsy; urgency=low + + * Add gcc-3.4 as a build dependency for lpia. + + -- Matthias Klose Tue, 07 Aug 2007 17:15:37 +0000 + +mesa (7.0.0-0ubuntu2) gutsy; urgency=low + + [ Kyle McMartin ] + * Add support for Intel 945GME, G33, Q33, Q35 + - 200_945gme.patch, upstream a74eec5af5397b612d60dd4b0d81666027f19bb0, + ad6351a994fd14af9d07da4f06837a7f9b9d0de4 + - 201_g33.patch, upstream 8331d9d7aa7cde7126d38d4e1eb5fe8a168077f3 + + -- Kyle McMartin Tue, 03 Jul 2007 19:32:39 +0000 + +mesa (7.0.0-0ubuntu1) gutsy; urgency=low + + [ Bryce Harrington ] + * New upstream release + - Adds OpenGL 2.0 and 2.1 API support. + - Fixed a few fog-related bugs. + - Fixed broken GLSL mix() function. + - Fixed broken GLSL exp() functions. + - Fixed GLSL mod4(vec4, vec4) bug. + - Implemented GLSL asin(), acos(), atan() functions. + - Fixed an R300 driver bug that caused Xorg composite manager to + crash + - Fixed R300 vertex program/matrix bug (fdo# 10848) + - GLSL dFdx() and dFdy() work for fragment program inputs now + (texcoords) + - Fixed potential crash when specifying an invalid texture unit as a + sampler + - Fixed incorrect GLX protocol request for glXDestroyPBuffer() + (fdo# 10983) + - ARB vp state.light[n].half value was incorrect (fdo# 10987) + - Fixed a positional light source bug (fdo# 11009) + - Fixed point size attenuation problem (fdo# 11042) + - Fixed problem where glPopAttrib didn't restore texture object's + LOD bias (fdo# 11049) + - Fixed a TLS / TEXTREL problem (fdo# 7459) + - Some texture code consolidation and simplifiction + - R300 driver clean-ups. + + [ Sarah Hobbs ] + * Added a conflicts of libgl1-mesa-glx against libgl1-mesa-swx11, and vice + versa + + -- Sarah Hobbs Tue, 26 Jun 2007 15:32:00 +1000 + +mesa (6.5.3-1ubuntu1) gutsy; urgency=low + + * Update Maintainer for Ubuntu + + [ Kyle McMartin ] + * Merge with Debian experimental: + - Remove lesstif-dev from Build-Depends (Timo Aaltonen) + - Comment out GLw libs from control file + - Add 102_ubuntu_no_glw.patch to remove lesstif build depends + - Add libxext-dev to Build-Depends (Paul Sladen) + - Add gcc-3.4 [i386 amd64] to Build-Depends (Ben Collins) + - Add 110_ubuntu_use_gcc-3.4_for_i965.patch (Timo Aaltonen) + - Add 101_ubuntu_hidden_glname.patch + - Add 112_fedora-hush-synthetic-visual-warning.patch (Adam Jackson) + + * Dropped patches: + - 103_ubuntu_fd.org-9686-fog.patch merged upstream + - 104_r300_call_radeonsetcliprects.patch merged upstream + - 105_radeon_call_radeonsetcliprects.patch merged upstream + - 106_r200_call_radeonsetcliprects.patch merged upstream + - 107_r200_simplify_r200setcliprects.patch merged upstream + - 111_unichrome_remove_xdrawoffset.patch merged upstream + + -- Kyle McMartin Fri, 25 May 2007 16:43:31 +0000 + +mesa (6.5.3-1) experimental; urgency=low + + [ David Nusinow ] + * New upstream release + + [ Julien Cristau ] + * Cherry-pick commit 65faf023679988f93da82b4c7ebdc689f2094459 by Michel + Dänzer to fix r300 crash. + + -- Julien Cristau Mon, 21 May 2007 11:34:51 +0200 + +mesa (6.5.3~rc3-1) experimental; urgency=low + + [ Brice Goglin ] + * Split out libGLw libs and headers from libgl1-mesa-swx11 and ship both + static and shared libraries, creating libglw1-mesa and libglw1-mesa-dev + (closes: #374904). + + [ Julien Cristau ] + * New upstream release candidate. + + 06_fix_texture_data_corruption.patch, + 07_call_radeonSetCliprects_from_radeonMakeCurrent.patch, + 08_r300_update_window_state_when_bound_but_stamp_changed.patch, + 09_i915_always_enable_pixel_fog.patch: remove, included upstream. + + 01_fix-makefile.patch, 02_use-ieee-fp-on-s390-and-m68k.patch: refresh. + * Add build-dependencies on libxdamage-dev and libxfixes-dev. + * Resync debian/scripts/install-source.sh. + * Build mesa-swx11-source only in binary-indep. + * Update from upstream git (commit + dee1b0d5bbe91f83854813cbbcd3090327bcb5c2). + + -- Julien Cristau Wed, 25 Apr 2007 10:36:50 +0200 + +mesa (6.5.2-7) unstable; urgency=low + + [ Brice Goglin ] + * libgl1-mesa-dev does not need to depend on libgl1-mesa-dri, + libgl1-mesa-glx is enough (since their split in 6.4.1-0.1); + closes: #432081. Thanks, Samuel Thibault! + + [ Julien Cristau ] + * libgl1-mesa-dev Depends on libgl1-mesa-glx (>= ${source:Upstream-Version}) + instead of >= ${Source-Version}. This way it's still installable on + architectures where mesa isn't built yet when a minor revision is + uploaded. + + -- Julien Cristau Wed, 11 Jul 2007 05:50:45 +0200 + +mesa (6.5.2-6) unstable; urgency=low + + * libgl1-mesa-swx11 needs to depend on libosmesa6 (>= 6.5.2-1) because + it used to contain libOSMesa.so.6. This means that programs linked + against this lib got a dependency on -swx11 which was broken since + 6.5.2-1. + * Fix build on hurd-i386 (build libgl1-mesa-glx without dri support and + don't build the dri drivers); closes: #420403. Thanks, Samuel Thibault! + + -- Julien Cristau Thu, 05 Jul 2007 00:56:35 +0200 + +mesa (6.5.2-5) unstable; urgency=low + + [ Brice Goglin ] + * Add 07_call_radeonSetCliprects_from_radeonMakeCurrent.patch + (closes: #420164). Thanks to Christian Ohm. + * Add 08_r300_update_window_state_when_bound_but_stamp_changed.patch + * Add 09_i915_always_enable_pixel_fog.patch + + -- Julien Cristau Fri, 18 May 2007 13:36:25 +0200 + +mesa (6.5.2-4) unstable; urgency=low + + [ Julien Cristau ] + * debian/control: libgl1-mesa-dri now suggests libglide3, with an + explanation in the description (closes: #387339). + * Upload to unstable. + + [ Brice Goglin ] + * Add 06_fix_texture_data_corruption.patch (closes: #412346). + + -- Julien Cristau Fri, 20 Apr 2007 05:57:35 +0200 + +mesa (6.5.2-3) experimental; urgency=low + + * Set LIB_DIR and EXTRA_LIB_PATH in configs/debian-default to override + settings in configs/linux-x86-64. This fixes a FTBFS on amd64, thanks to + Marc 'HE' Brockschmidt for the report (closes: #410118). + + -- Julien Cristau Wed, 7 Feb 2007 23:04:28 +0100 + +mesa (6.5.2-2) experimental; urgency=low + + * Sync Section/Priority for all packages with the override. + * Build the arch:all debs in binary-indep, and use the debhelper -s option + for commands in binary-arch, to fix FTBFS on non-i386 archs, thanks to + Marc 'HE' Brockschmidt (closes: #409638). + * Add myself to Uploaders. + + -- Julien Cristau Sun, 4 Feb 2007 21:14:02 +0100 + +mesa (6.5.2-1) experimental; urgency=low + + [ Thierry Reding ] + * New upstream release. + * Set the Debian X Strike Force as maintainer. + * Add myself to uploaders. + * Build the i915tex DRI module on the i386 and amd64 architectures. + * Add patch 04_cleanup-osmesa-configs that makes the OSMesa configurations + behave as expected. + * Add patch 05_static-nonpic to build static libraries without -fPIC. + * Make debugging symbol packages depend on the corresponding binary package + and put them into the libdevel section. + * Bump shlibs file for the libosmesa6 package to account for added symbols. + Thanks Julien Cristau. + * Build the DRI modules with the default optimization flags. Thanks Julien + Cristau. + * mesa-common-dev now ships the GLX header files so it needs to replace + libgl1-mesa-swx11-dev and libgl1-mesa-dev. Thanks Julien Cristau. + * All OSMesa libraries were moved to the libosmesa6 and libosmesa6-dev + package, so have them replace libgl1-mesa-swx11, libgl1-mesa-swx11-dev and + mesa-common-dev respectively. Thanks Julien Cristau. + + [ Julien Cristau ] + * Drop obsolete depends on xlibs. + + -- Thierry Reding Thu, 11 Jan 2007 15:06:52 +0100 + +mesa (6.5.2~rc3-0.1) experimental; urgency=low + + * Non-maintainer upload. + * Update to latest upstream release candidate. + + -- Thierry Reding Fri, 1 Dec 2006 01:06:28 +0100 + +mesa (6.5.2~rc2-0.1) experimental; urgency=low + + * Non-maintainer upload. + * New upstream release candidate: + + Refresh 02_use-ieee-fp-on-s390-and-m68k.patch. + * Add manual pages for the glxdemo, glxgears, glxheads and glxinfo + utilities (Closes: #385463). + + -- Thierry Reding Wed, 22 Nov 2006 20:49:06 +0100 + +mesa (6.5.2~rc1-0.1) experimental; urgency=low + + * Non-maintainer upload. + * New upstream release candidate. + * Update patches: + + Drop hunk #2 of 01_fix-makefile.patch, applied upstream. + + Drop 03_handle-sync-and-dont-unlock-display.patch, applied upstream. + * Bump build-dependency on libdrm-dev (>= 2.2.0). + * Use the new upstream minstall utility to install files and directories. + Using /usr/bin/install would result in a symlink's target being copied + instead of the symlink. + + -- Thierry Reding Sat, 18 Nov 2006 22:23:04 +0100 + +mesa (6.5.1-0.6) experimental; urgency=low + + * Non-maintainer upload. + * Rewrote the debian/rules file to make it easier to understand. + * Provide i686 optimized versions in libgl1-mesa-swx11-i686 instead of in + libgl1-mesa-swx11. + * Statically link libOSMesa with the software rasterization code from libGL + so that it works independently of the installed libGL. (Closes: #387706) + * Make libosmesa6-dev depend on mesa-common-dev because it only needs the + gl.h header file and no libGL anymore. + * Move glx*.h headers from libgl1-mesa(-swx11)-dev into mesa-common-dev + because both packages provide identical files. + * Add debugging symbol packages for libgl1-mesa-swx11, libgl1-mesa-glx and + libgl1-mesa-dri. + * Repack the contents of the three Mesa tarballs (MesaDemos, MesaGLUT and + MesaLib) as the original source tarball. (Closes: #392715) + * Make mesa-common-dev depend on libx11-dev. + * Provide a new package: mesa-utils. These utilities are shipped in the + MesaDemos package so mesa is the right package to provide them. + + -- Thierry Reding Sat, 18 Nov 2006 18:50:07 +0100 + +mesa (6.5.1-0.5) unstable; urgency=low + + * Non-maintainer upload. + * Build with -fno-strict-aliasing to fix misbuild of i965_dri.so + (closes: #394311). Thanks to Michel Dänzer for the fix, and to Ryan + Richter for the report and testing. + + -- Julien Cristau Wed, 3 Jan 2007 13:48:20 +0100 + +mesa (6.5.1-0.4) unstable; urgency=medium + + * Non-maintainer upload (and brown paper bag release). + * _Depend_ on libx11-dev from libgl1-mesa-dev; revert previous change. + Fixes FTBFS in other packages. (Really Closes: #396498) + + -- Steinar H. Gunderson Sat, 11 Nov 2006 13:55:20 +0100 + +mesa (6.5.1-0.3) unstable; urgency=medium + + * Non-maintainer upload. + * Build-depend on libx11-dev; fixes FTBFS. (Closes: #396498) + + -- Steinar H. Gunderson Wed, 8 Nov 2006 20:58:40 +0100 + +mesa (6.5.1-0.2) unstable; urgency=low + + * Non-maintainer upload + * Disable generation of SSE instructions (closes: #390560) + * Remove duplicate and unused build configurations + * Remove extra source files left from CVS snapshots (closes: #389283) + * Enable i965 DRI driver on i386 and amd64. Thanks to Ryan Richter + for the patch. (closes: #392030) + * Enable Unichrome DRI driver on amd64 (closes: #391900) + * Enable FFB DRI driver on sparc, not i386 (closes: #388025) + * Consistently compile C sources as C99 (closes: #373623) + * Fix X display locking error in GLX. Thanks to Josh Triplett for + the patch. (closes: #391681) + + -- Ben Hutchings Fri, 13 Oct 2006 02:25:52 +0100 + +mesa (6.5.1-0.1) unstable; urgency=low + + * New upstream version + * Build-dep on x11proto-gl-dev >= 1.4.8 + * Stuff not in the upstream tarballs + + os2 glut stuff + + docs/gears.png + * Bump libdrm-dev build-dep to >= 2.0.2 + * Add libdrm cflags to the debian-dri config. This allows the build system + to find drm.h + * Make sure that libGl looks for the dri drivers in the proper location. Do + this by setting the appropriate variables in the debian config + * Re-add s390 and m68k to the USE_IEEE test in src/mesa/main/imports.h. This + package seriously needs to store patches somewhere that are easy to find + and re-apply. + * Add patch from Cyril Brulebois to allow package to build on HURD, which + lacks DRI and directfb. This includes not using lib-directfb in the + build-depends for hurd-i386. It also creates a new debian config, + debian-indirect, which is used when building for HURD. This config is + invoked in the debian-dri config on hurd-i386. Thanks to Cyril Brulebois + for the patch, Michael Banck, Michel Dänzer, and Samuel Thibault for + input on an appropriate fix. (closes: #358065) + + -- David Nusinow Mon, 25 Sep 2006 21:21:47 -0400 + +mesa (6.5.0.cvs.20060524-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Upload mesa 6.5 cvs to unstable, because we need it for Xorg 7.1. + * Upload with medium urgency instead of high, since this is a new + upstream that should get some testing in unstable in spite of the + multiple RC bugfixes. + * Update debian/copyright with the full text of the SGI Free B and SGI + MIT-style licenses in use in the package, and take a stab at + cleaning up the list of paths and licenses. + Closes: #368562. + * Make mesa-common-dev Replaces: xlibosmesa-dev from sarge. + Closes: #384057. + * Fix libgl1-mesa-glx to not Provides: libgl1-mesa-dri, since it + definitely doesn't provide DRI support and this Provides: breaks + upgrades from sarge. Closes: #384282. + * debian/libgl1-mesa-swx11.shlibs: create a static shlibs file, + because libOSMesa.so.6 is not provided by all implementations of + libGL and so needs a separate shlibs declaration. Also make + libgl1-mesa-glx the default alternative instead of libgl1-mesa-swx11 + for consistency even when building against libgl1-mesa-swx11, + because to the extent these are interchangeable (i.e., 99%...), + there should be no reason to prefer one over the other -- and to the + extent that they aren't interchangeable, it's wrong to list libgl1 + as an alternative dependency at all. Closes: #386185. + * Don't provide shlibs at all for libgl1-mesa-swx11-dbg; this is an + unnecessary duplication of the existing libgl1-mesa-swx11 shlibs + since packages should not really be linking against /usr/lib/debug/ + separately. + * src/mesa/tnl/t_vb_render.c: Drop a pointless printf() in the + RENDER_LINE macro, getting rid of copious debug output on console. + Closes: #369895. + * libgl1-mesa-swx11 has no reason to depend on libglu, anything that + wants libglu will have its own dependency on it; drop this + hard-coded dependency from debian/control. + * Have libglu1-mesa-dev Provides: xlibmesa-glu-dev, since it's the + successor to that package and xlibmesa-glu-dev is still referenced + in a number of places and this makes for more reliable builds than + depending on alternatives without requiring another dummy -dev + package from xorg. + * Replace references to Source-Version in debian/control with either + binary:Version or source:Version, depending on whether the + relationship references an arch: any or arch: all package, making + mesa binNMU-safe; add build-depends on dpkg-dev (>= 1.13.19) to + ensure these substvars are available. + + -- Steve Langasek Fri, 15 Sep 2006 15:51:16 -0700 + +mesa (6.5.0.cvs.20060524-1) experimental; urgency=low + + * The "-O666 -fwater-c00ling -DBE_F4ST" release + * New pull from CVS + * Merge back and forth with 6.4.2-1 + * configs/debian*_i386: disabled, optimized build fuxxored. + + -- Marcelo E. Magallon Wed, 24 May 2006 14:12:13 -0600 + +mesa (6.5.0.cvs.20060512-0.0.1) experimental; urgency=low + + * New upstream release (6.5.0) + * Pulled CVS as of 2006-05-12 + * debian/control: remove DirectFB packages + + -- Marcelo E. Magallon Fri, 12 May 2006 15:23:49 -0600 + +mesa (6.4.2-1) unstable; urgency=low + + * The "please, please, please don't hate me" release. + * New upstream release. + * Ack NMUs + * debian/control: mesa-common-dev Replaces xlibmesa-gl-dev (<< 1:7) + AGAINST MY BETTER JUDGEMENT. The problem here is gratuitous package + renames within a system that does not support them. (closes: + bug#362063) + * debian/control: hurd-i386 doesn't have drm. Doesn't fix #358065, + yet. + * bin/mklib: fix from Robert Millan to support hurd-i386 and + GNU/kFreeBSD. Thanks Robert. (closes: bug#358066) + * src/glx/x11/indirect_vertex_array.c, src/mesa/main/glheader.h, + src/mesa/drivers/dri/common/glcontextmodes.c: fix broken indirect + rendering on 64-bit platforms. Thanks Aaron M. Ucko. (closes: + bug#364228) + * debian/control: b-d on x11proto-gl-dev. Please don't hate me! + * debian/control: Standards-Version: 3.7.2 + * debian/rules: export DEB_HOST_ARCH + * configs/debian-dri: use DEB_HOST_ARCH to decide if certain DRI drivers + should be built or not. + + Built only for i386: i810 i830 sis. + Rationale: integrated chipsets available only for i386 processors. + + Built only for i386: ffb. + Rationale: Michel Dänzer said so, no idea why. + + Built only for i386, amd64: i915. + Rationale: Apparently this is available in the 64-bit Intel chipset. + Please file a bug report stating which drivers should be included/excluded + for which architectures. Positive lists are preferred. If possible state + why. + * debian/mesa-swx11-source.install: nuke this abomination. Dinamically + generate the list at build time. + * debian/drivers.map: add gl-debian-dri_i386 + * debian/README.build: updated, add big friendly letters in short sentences. + Perhaps I can read it myself this way... + * debian/rules, configs/debian, configs/debian-dri, configs/debian_i386, + configs/debian-dri_i386, debian/libdir.map, debian/drivers.map: hack in + support for variable driver's dir. If you want this for your pet + architecture please provide BOTH configs/debian_arch and + configs/debian-dri_arch. If you just want to include/exclude DRI drivers + on your architecture look in configs/debian-dri. + * configs/debian*_i386: disabled, optimized build fuxxored. + * debian/rules: remove misguided Perl construct, replace by something + simpler in shell. I actually meant to do something else with the Perl + thing, but got distracted and forgot about it. Thanks Aaron M. Ucko! + * debian/rules: make it work like debian/README.build says it works wrt to + building optimized targets. + + -- Marcelo E. Magallon Tue, 16 May 2006 18:07:53 -0600 + +mesa (6.4.1-0.4) unstable; urgency=low + + * NMU + * Add versioned conflict between libgl1-mesa-dri and xlibmesa-dri so that + the xlibmesa-dri transitional upgrade package works + + -- David Nusinow Mon, 6 Mar 2006 21:46:18 -0500 + +mesa (6.4.1-0.3) unstable; urgency=low + + * NMU + * Add s390 and m68k to the USE_IEEE test in src/mesa/main/imports.h. + (closes: #349437) + + -- David Nusinow Sat, 11 Feb 2006 17:59:26 -0500 + +mesa (6.4.1-0.2) unstable; urgency=low + + * NMU + * Re-add dh_installdirs call to binary-indep target so that we get + arch-specific dirs for the mesa-swx11-source package + * Remove makedepend from build-depends. Now we'll just build-dep on xutils + to get the app, which will translate over to our own xorg 7.0 plans. + + -- David Nusinow Tue, 31 Jan 2006 19:21:12 -0500 + +mesa (6.4.1-0.1) unstable; urgency=low + + [ Marcelo E. Magallon ] + * debian/control: build-depend on xutils + * include/GL/glx{int,proto,md,tokens}.h: missing upstream (closes: bug#326466) + * debian/libgl1-mesa-dri-dev.install: install GLX include files here, too. + * debian/rules: GLU and GLW don't have arch-specific targets. + + [ Daniel Stone ] + * New upstream version, incorporating changes from Ubuntu 6.3 packaging. + * Rename packages: + - mesag3 -> libgl1-mesa-swrast + - mesag-dev -> libgl1-mesa-swrast-dev + - libgl1-mesa-dri -> libgl1-mesa + - libgl1-mesa-dri-dev -> libgl1-mesa-dev + - libgl1-mesa-dri still exists, but now contains the DRI modules only. + * Drop dependency *from* mesa-common-dev on libgl1-mesa-dev and + libglu1-mesa-dev; it should be the other way around. (closes: #336565) + * Add Build-Depends on pkg-config to get flags from libdrm, and libexpat-dev + for DRI configuration. Break out xlibs-dev Build-Depends to the + individual libraries required. + * Bump libdrm-dev Build-Depends to >> 1.0.5, in order to get new + via_drm.h to build the unichrome DRI driver. + * Configs: pare DRI drivers down to a sensible set for each architecture. + * Remove completely broken Glide target, which caused FTBFS. + * Add mesa-swrast-source package, providing the source for the software + rasteriser for libGLcore in the X server. + * Drop tight libosmesa6 -> libgl1-mesa-swrast Depends, replace with + shlibs:Depends. + + [ David Nusinow ] + * New upstream version (6.4.1) (closes: #232665) + * Merge changes from Ubuntu version 6.4.1-0ubuntu1. + (closes: #341479, #340168, #334742) + + Add new files required by xorg-server GL build to mesa-swrast-source. + * NMU to begin getting Xorg 7.0 in to Debian + * Change libgl1-mesa-swrast Depends on libx11-6-dev to libx11-dev. + * Change libgl1-mesa-swrast to be named libgl1-mesa-swx11 + * Change libgl1-mesa to be named libgl1-mesa-glx + * mesa-swrast-src.install stop looking for the swx11 dir and look for swrast + + -- David Nusinow Sat, 21 Jan 2006 21:43:37 -0500 + +mesa (6.3.2-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Adjust Build-Depends: + + xlibs transition (Closes: #347129). + + xutils, xlibmesa-gl-dev (Closes: #326466). + * mesag-dev: Depends: libx11-dev (Closes: #347205). + + -- Christoph Berg Fri, 20 Jan 2006 20:45:43 +0100 + +mesa (6.3.2-2) unstable; urgency=low + + * debian/rules: build only whatever needs to be build according to + debian/control. + * debian/libdir.map: it's usr/lib/debug not usr/lib/dbg + * debian/rules: select optimized targets for the current host architecture + only (thanks Michel!) + * debian/README.build: reword some of the directions, add more info. + * debian/control: forgot to add CPR relationships in the new packages + (thanks Michel!) + * debian/control: Set maintainer to pkg-mesa-devel, add myself as uploader + + -- Marcelo E. Magallon Sun, 28 Aug 2005 14:41:15 -0600 + +mesa (6.3.2-1) unstable; urgency=low + + * New upstream + * configs/debian-dri: new target + * debian/control: add build-depends on libdrm-dev + * debian/rules: pass SRC_DIRS instead of SUBDIRS on the command line. + This allows for configurations to override the command line in a + sane way. + * configs/debian-dri: override SRC_DIRS + * configs/debian: add -D_GNU_SOURCE (required by dri drivers) + * debian/control, debian/rules: drop glide out of this package, it + will be moved to the mesa-legacy package, forked from 6.2.1-7. + * debian/drivers.map, debian/rules: take into account that some + drivers have external components. + + To be fixed: debian/drivers.map hardcodes locations + * debian/control: libgl1-mesa-dri, libgl1-mesa-directfb: new drivers + * dh_makeshlibs for libgl1-mesa-dri and libgl1-mesa-directfb + * debian/control: priority is optional... again... + + -- Marcelo E. Magallon Sun, 21 Aug 2005 17:13:19 -0600 + +mesa (6.2.1-7) unstable; urgency=low + + * Previous upload got lost somewhere + + bin/mklib: add GNU/kFreeBSD, patch from Aurelien Jarno (closes: + bug#307154) + + recompile with newer g++ + + -- Marcelo E. Magallon Tue, 02 Aug 2005 06:47:20 -0600 + +mesa (6.2.1-6) unstable; urgency=low + + * bin/mklib: add GNU/kFreeBSD, patch from Aurelien Jarno (closes: + bug#307154) + * recompile with newer g++ + + -- Marcelo E. Magallon Sun, 24 Jul 2005 11:47:16 -0600 + +mesa (6.2.1-5) unstable; urgency=low + + * debian/rules: big mess up, files are not being moved to their proper + places. I naively assumed that command-line options to debhelper + commands would override DH_OPTIONS, that is, that having + DH_OPTIONS=-i (as suggested in the documentation) would mean + something like "use -i unless -p is passed on the command line". It + actually means "use -i in addition to -p passed on the command + line", which does not make any sense, but is consistent with the + wording in the documentation. (closes: bug#306499, bug#306918, + bug#307095) + + -- Marcelo E. Magallon Sun, 01 May 2005 09:45:12 -0600 + +mesa (6.2.1-4) unstable; urgency=low + + * debian/control: fix description to reflect the exact content and + purpose of package (libosmesa-dev, mesag-dev). + * debian/rules: DH_OPTIONS=-s added to binary-arch target. (closes: + bug#306091) + + -- Marcelo E. Magallon Sat, 26 Mar 2005 08:03:44 -0600 + +mesa (6.2.1-3) unstable; urgency=low + + * debian/control: try to match the override file. If mesa is "extra" + (for whatever reason), all the packages should be extra. + * debian/rules: quick workaround for left-over libGL.so in GLU -dev + package. + + -- Marcelo E. Magallon Thu, 24 Mar 2005 19:35:34 -0600 + +mesa (6.2.1-2) unstable; urgency=low + + * The "thank you so much, I'm still voting against you" release. + * debian/rules: correct artifact of me not having had a proper + pbuilder environment to build stuff on and the repackaging from the + previous release. The -glu- and -glw- targets now explicitly depend + on the matching -gl- target, and symlinks are placed in the build + directories in order to actually have a libGL.so to make ld happy + when creating the libraries. + * debian/rules: uncomment dh_install :-\ There was a reason why I had + commented that out... + * First change closes: bug#298922 + * Second change closes: bug#300302, bug#300284, bug#300430 + * debian/control: "An X", whatever, I've been corrected multiple times + in both ways (translators beware). (closes: bug#300012) + + -- Marcelo E. Magallon Sun, 20 Mar 2005 22:03:29 -0600 + +mesa (6.2.1-1) unstable; urgency=low + + * The "autobuilders, please please please don't hate me" release. + * New upstream. + * Repackage: + + Fall prey to debhelper + + Entries below this one preserved for historical reasons or + sentimental value, pick as many as you want. They bear NO + relation to the actual packages! + * configs/debian, configs/debian-debug, configs/debian-debug-i386, + configs/debian-glide, configs/debian-glide-i386, configs/debian-i386, + configs/debian-osmesa16, configs/debian-osmesa16-static, + configs/debian-osmesa32, configs/debian-osmesa32-static, + configs/debian-static, configs/debian-static-i386: new files. + * configs/debian-sparc: Dave Miller confirmed that the sparc assembly + files do work on Linux. I don't know where to install the optimized + libraries, so the file doesn't actually exist. Please read + debian/README.build if you want to have a sparc-optimized library. + * debian/control: GGI and glide2 are gone. glide is glide3. + * debian/rules: modify shlibs file for the glide3 target to require glide3 + and only glide3 because that library exports functions not available in + other libGLs. Rationale: if someone is compiling a Debian package and + uses the glide target either he doesn't know what he is doing or he knows + exactly what he is doing. In the first case the package should not be + installable and in the second case the package requires this particular + version. + * debian/control: libgl1-mesa-glide3-dev does NOT provide a proper OpenGL + development environment (see above). + * PCR is bound to be wrong... *sigh* + + -- Marcelo E. Magallon Sat, 25 Dec 2004 14:50:02 -0600 + +mesa (6.0.1-1) unstable; urgency=low + + * New upstream release. + * debian/rules: redid a bunch of stuff in order to support new build system + without autoconf and automake stuff. The next version is going to change + this _again_. + + -- Marcelo E. Magallon Sun, 11 Apr 2004 07:00:19 -0600 + +mesa (5.0.0-5.1) unstable; urgency=low + + * Non-Maintainer Upload. + * Rename "GGIMesa"-references in src/GGI/default/Makefile.am to + "MesaGGI", which makes the package build again with newer libtool. + (Closes: #213836) + + -- Steinar H. Gunderson Sun, 15 Feb 2004 17:37:08 +0100 + +mesa (5.0.0-5) unstable; urgency=low + + * debian/control: yank and put error? Remove hard-coded + nvidia-glx-dev from mesag-glide2-dev dependencies. + + -- Marcelo E. Magallon Sun, 09 Feb 2003 10:31:51 +0100 + +mesa (5.0.0-4) unstable; urgency=low + + * debian/rules: fix typo in definition of GLIDE_ARCHS. (closes: bug#179622) + + -- Marcelo E. Magallon Mon, 03 Feb 2003 20:19:12 +0100 + +mesa (5.0.0-3) unstable; urgency=low + + * The "it's amazing how people pick severities" release + * debian/control: mesa-common-dev conflicts with xlibmesa-dev. Actually put + dependency of mesa-common-dev on the mesa-*-dev packages to avoid having + to track other libgl-dev packages popping up. IMO this is less error + prone. You can't install mesa-common-dev without installing mesa-*-dev, + and those packages conflict with other libgl-dev packages. (closes: + bug#177996) + * Rename libglu1c102 to libglu1-mesa; the libglu1c102 is incorrent since + this library does not export C++ functions. Sorry about the mess. + * Rename libglu1-dev to libglu1-mesa-dev to be consistent + * debian/rules: use grep-dctrl to extract architectures from debian/control + * debian/control: add grep-dctrl to build-depends + * debian/shlibs.libglu: libglu1-mesa | libglu1 + * debian/rules: install include/GL/xmesa.h in /usr/include/GL/xmesa.h; I'm + not 100% sure this is the right thing to do, but it's a niche so I don't + think it will actually make trouble (closes: bug#148866) + * debian/rules: install include/GL/glx*.h in the common package. (closes: + bug#178562) + * debian/rules: nasty hack to work arround libtool's idea of how libraries + should be linked (closes: bug#178514) + * debian/rules: even nastier hack. Getting environment variables to + percolate thru all the make calls isn't getting anywhere. + * si-glu/Makefile.am: export only glu.* symbols + * si-glu/Makefile.am: add -lm to link line + * src/Makefile.am: god damm it. If you use libm link to it! + * debian/control: mesa-common-dev depends on libglu1-mesa-dev to satisfy + libgl-dev's requirements + + -- Marcelo E. Magallon Mon, 27 Jan 2003 17:15:25 +0100 + +mesa (5.0.0-2) unstable; urgency=low + + * debian/control: Not funny, I'm sure I put lesstif and xlibs-dev in the + build-depends. CVS says I didn't. (closes: bug#176730) + * debian/control, debian/rules: regenerate auto-stuff (closes: bug#176729) + * debian/control, debian/rules: GCC C++ 3.2 transition (libglu1c102 -- ugly!) + * remove Makefile.in from CVS control + * si-glu/libnurbs/interface/Makefile.am: fix INCLUDES macro + + -- Marcelo E. Magallon Sun, 19 Jan 2003 00:48:32 +0100 + +mesa (5.0.0-1) unstable; urgency=low + + * New upstream release, it looks like glide and GGI are in working + condition again. + * FX patches from previous releases gone. They'll be back later. + * debian/rules: some clean ups. + * debian/control: add libglu1 packages + * debian/control: Standards-Version: 3.5.8 + * debian/rules: Build Xt widgets (if you need this stuff, you need to depend + on mesag-dev, libgl-dev is not enough) + * debian/control, debian/rules: add mesa-common-dev package + * debian/control, debian/rules: add osmesa packages. + + -- Marcelo E. Magallon Sun, 15 Dec 2002 12:28:49 +0100 + +mesa (4.0.3-1) unstable; urgency=low + + * New (and long delayed) upstream version + * Redid a bunch of FX patches, probably broke. + + -- Marcelo E. Magallon Thu, 03 Oct 2002 11:27:29 +0200 + +mesa (3.5-1) unstable; urgency=low + + * New upstream version. + * Redid patches. + * Disabled building GGI target. Someone with a good understanding of GGI + needs to write a driver for mesa. The old version doesn't cut it + anymore. + * Most makefiles won't work. Copied them out of CVS. + * src/Makefile.am: add -lm to library list. (closes: bug#102717) + * configure.in: adjust GLU's version info to match previous release. + + -- Marcelo E. Magallon Mon, 25 Jun 2001 22:13:40 +0200 + +mesa3 (3.4.2.1-4) unstable; urgency=low + + * So, here's the deal: the 3Dfx backend is going nowhere in 4.x and 5.x is + just arround the corner. Same thing for the GGI stuff. In order to leave + the people who need this stuff with _something_ to work with, I'll compile + those targets out of the mesa3 source package and the mesa package will + stuck to plain old X. + * debian/control, debian/rules: strip out all the parts concerning to mesa3g + and mesa3g-dev + * debian/control: update GGI architectures, let's see what happens + * debian/rules: special case alpha for stripping options. Chris, did you + ever figure out what the problem actually is? (closes: bug#99284) + * debian/rules: hereby I decree that everything in etc is a conffile. Die + future bugs, die!. + * configure: fix ggi_libdir, ggi_confdir (closes: bug#139598) + + -- Marcelo E. Magallon Sun, 29 Sep 2002 11:21:00 +0200 + +mesa (3.4.2.1-3) unstable; urgency=low + + * Actually install widgets on the mesag-dev package (closes: bug#98988) + + -- Marcelo E. Magallon Sat, 9 Jun 2001 16:39:36 +0200 + +mesa (3.4.2.1-2) unstable; urgency=low + + * src/X/xmesa1.c: I knew it, I knew it. This was bound to break. Stupid + typo. Restored MESA_GLX_FX (got renamed to GLX_FX accidentally, if you + have to know) (closes: bug#94114) + + -- Marcelo E. Magallon Mon, 21 May 2001 08:52:07 +0200 + +mesa (3.4.2.1-1) unstable; urgency=low + + * Upstream released 3.4.2. + * Hmmm... thought about it on my way home. The code to parse 3dfx.conf + is wrong. Redid. Still not tested. (closes: bug#94114) + * debian/README.Debian: document 3dfx.conf + + -- Marcelo E. Magallon Sat, 19 May 2001 11:57:33 +0200 + +mesa (3.4.2-1) unstable; urgency=low + + * New upstream version. + * debian/config.guess, debian/config.sub: newest versions from + http://subversions.gnu.org/cgi-bin/cvsweb/config (closes: bug#95338) + * GAAAAAAARGGH! src/X/xmesa1.c: horrible hack to use /etc/mesa/3dfx.conf + if there's no MESA_GLX_FX environment variable defined. I. Hate. + This. I'll make a deal with you: you find another of these things, + and you send me a nice tested patch. I don't have a 3DFX card and I + *HATE* uploading stuff I can't fully test. (closes: bug#94114) + * debian/rules: use the new files + * debian/rules: s/TMPDIR/DTEMPDIR/g + * gl3DfxSetDitherModeEXT from Zephaniah (closes: bug#65860) + * Disable GL_EXT_shared_texture_palette per default. Patch looks funny, + but I'll blindly trust Zephaniah. + * Hmmm... I hope Zephaniah tested this, because it broke in a rather silly + way at compile time. + * Fancy what people regard as "pretty important". + + -- Marcelo E. Magallon Fri, 18 May 2001 09:23:49 +0200 + +mesa (3.4.1-3) unstable; urgency=low + + * PLEASE SUBMIT NMUs TO THE BTS, DAMN IT! + * debian/control: exclude m68k from libggi2-dev build-dependency. + + -- Marcelo E. Magallon Sat, 17 Mar 2001 19:45:09 +0100 + +mesa (3.4.1-2) unstable; urgency=low + + * debian/control: add missing dependency on xlibs-dev and corrected the + one for libglide2-dev + + -- Marcelo E. Magallon Wed, 14 Mar 2001 00:21:42 +0100 + +mesa (3.4.1-1) unstable; urgency=low + + * New upstream version. + * New maintainer. (closes: bug#81139) + * Some fixes to get it to compile. + * debian/rules: some reorganization happened to allow me test different + builds better. + * debian/control: nuked widgets package, if you miss it, you are doing + something wrong. + * debian/rules: -dev packages will be missing some garbage they used to + install. If you miss any of those files, I'm fairly confident you + are doing something wrong. + * configure, ltmain.sh, aclocal.m4, acinclude.m4, ...: vicious hacks to + allow the GGI version to compile. + * TODO: add the widgets to the packages + * TODO: make OSmesa packages + + -- Marcelo E. Magallon Sat, 10 Feb 2001 18:34:13 +0100 + +mesa (3.2.1-1) unstable; urgency=low + + * New upstream version. + + -- James A. Treacy Mon, 31 Jul 2000 15:13:34 -0400 + +mesa (3.2-2) frozen unstable; urgency=low + + * add MMX and 3Dnow opts for x86. + + -- James A. Treacy Fri, 7 Jul 2000 16:06:43 -0400 + +mesa (3.2-1) frozen unstable; urgency=low + + * New upstream version. + * Made minor changes to README.3DFX. Closes bug#56827 + * Added symlinks for mesa widget libraries. Closes bug#63115 + + -- James A. Treacy Wed, 28 Jun 2000 11:21:09 -0400 + +mesa (3.1-17) frozen unstable; urgency=low + + * Fixed Makefile for demos in mesag-widgets-dev. Closes bug#62674 + + -- James A. Treacy Fri, 19 May 2000 13:23:00 -0400 + +mesa (3.1-16) frozen unstable; urgency=low + + * Add --prefix=/usr to ggi build. Closes bug#61705, #61486 + + -- James A. Treacy Wed, 12 Apr 2000 15:12:48 -0400 + +mesa (3.1-15) frozen unstable; urgency=low + + * Remove ggi from the build on m68k. Closes bug#59273 + + -- James A. Treacy Mon, 6 Mar 2000 13:20:29 -0500 + +mesa (3.1-14) frozen unstable; urgency=low + + * Fixed hard-coded location of config file in library. This is release + critical, even though no bug was filed (relates to bug#58267). + + -- James A. Treacy Mon, 28 Feb 2000 10:58:34 -0500 + +mesa (3.1-13) frozen unstable; urgency=low + + * Add missing ggi libraries. Closes bug#58267, #57760 + + -- James A. Treacy Thu, 24 Feb 2000 00:59:30 -0500 + +mesa (3.1-12) frozen unstable; urgency=low + + * Dependencies are now computed in a more intelligent way. Closes: bug#55861 + + -- James A. Treacy Fri, 21 Jan 2000 16:26:40 -0500 + +mesa (3.1-11) frozen unstable; urgency=low + + * Remove svgalib support from the software only package of mesa + + -- James A. Treacy Sat, 22 Jan 2000 05:33:13 +0000 + +mesa (3.1-10) frozen unstable; urgency=low + + * Fix the mesag3-glide2 postinst. Closes bug#55462 + + -- James A. Treacy Sat, 22 Jan 2000 02:06:27 +0000 + +mesa (3.1-9) frozen unstable; urgency=low + + * The ggi based packages are now built with the other versions of mesa. Closes: bug#49218, #55221 + + -- James A. Treacy Sat, 15 Jan 2000 22:24:13 -0500 + +mesa (3.1-8) unstable; urgency=low + + * fixed the postinst and prerm for the glide packages + * added Provides: mesag-dev to the mesag-glide2-dev package to maintain + backwards compatability + + -- James A. Treacy Sat, 15 Jan 2000 01:01:58 -0500 + +mesa (3.1-7) unstable; urgency=low + + * Fix version number for soname in the shlib file. Closes: bug#54926 + + -- James A. Treacy Thu, 13 Jan 2000 01:37:03 -0500 + +mesa (3.1-6) unstable; urgency=low + + * Include docs/README.3DFX in mesag3-glide2 package. Closes: bug#54625 + * Remove Provides: libgl1 from mesag3-widgets. Closes: bug#54774 + * conflicts with older versions of mesa. Closes: bug#54831 + + -- James A. Treacy Mon, 10 Jan 2000 11:50:49 -0500 + +mesa (3.1-5) unstable; urgency=low + + * now Conflicts: libgl1 + * remove extra '.' in library name + + -- James A. Treacy Sun, 9 Jan 2000 20:47:31 -0500 + +mesa (3.1-4) unstable; urgency=low + + * Added links libGL.so.1 <- libMesaGL.so.3 so existing progs don't break + * Copyright changed for version 3.1 + + -- James A. Treacy Thu, 6 Jan 2000 17:11:11 -0500 + +mesa (3.1-3) unstable; urgency=low + + * copyright file now refers to /usr/share/common-license/LGPL. + + -- James A. Treacy Tue, 4 Jan 2000 11:50:45 -0500 + +mesa (3.1-2) unstable; urgency=low + + * Second try. Fixed shlibs file. + + -- James A. Treacy Tue, 4 Jan 2000 00:00:29 -0500 + +mesa (3.1-1) unstable; urgency=low + + * New upstream version. + * glide version of packages added, since glide is now under the GPL. + * mesa widget libraries are now in a separate package + * library names are changed to lib{GL,GLU}.* + + -- James A. Treacy Tue, 14 Dec 1999 10:06:14 -0500 + +mesa (3.0-2) unstable; urgency=low + + * added symlinks from libMesaGL* -> libGL*. Fixes bug #37160 + * added lines (commented out) for building a glide version of mesa. Fixes bug #39758 + + -- James A. Treacy Thu, 13 May 1999 01:02:42 -0400 + +mesa (3.0-1) unstable; urgency=low + + * mesa libs moved to /usr/lib. Fixes bug #26874 + * motif widget library libMesaGLwM added (compiled using headers from lesstif). Fixes bug #25380 + + -- James A. Treacy Thu, 6 Aug 1998 13:49:37 -0400 + +mesa (2.6-4) unstable; urgency=low + + * call to ldconfig in postinst put back in. Fixes bug #20552 + * changelog.Debian file created for the mesa-doc package. + * deleted miscellaneous files. Fixes bug #21481 + + -- James A. Treacy Sat, 23 May 1998 23:41:34 -0400 + +mesa (2.6-3) frozen unstable; urgency=low + + * No changes. Just trying (again) to get this back in the distribution + + -- James A. Treacy Tue, 24 Mar 1998 00:53:09 -0500 + +mesa (2.6-2) unstable frozen; urgency=low + + * point copyright to LPGL in /usr/doc/copyright. Fixes bug #19633 + + -- James A. Treacy Sun, 15 Mar 1998 14:00:33 -0500 + +mesa (2.6-1) unstable; urgency=low + + * New upstream Release + * strip static lib with --strip-debug and shared with strip--unneeded: Fixes bug#17301 + * create doc package in build-indep: Fixes bug#16090 + * added widgets-mesa library to package: Fixes bug#15729 + * created mesa-glide* packages + + -- James A. Treacy Mon, 19 Jan 1998 23:45:50 -0500 + +mesa (2.5-2) unstable; urgency=low + + * Corrected i386 specific debian/rules file: Fixes bug#15640 + + -- James A. Treacy Fri, 5 Nov 1997 11:46:13 -0500 + +mesa (2.5-1) unstable; urgency=low + + * New upstream release. + + -- James A. Treacy Sun, 23 Nov 1997 20:46:13 -0500 + +mesa (2.4-1) unstable; urgency=low + + * New upstream release. + * New maintainer. + * libc6 release. + + -- James A. Treacy Mon, 3 Nov 1997 01:11:34 -0500 + +mesa (2.2-2) unstable; urgency=low + + * debian/control: mesa-doc no longer depends on mesa (bug #8840). + + -- Karl Sackett Wed, 30 Apr 1997 10:25:25 -0500 + +mesa (2.2-1) unstable; urgency=low + + * New upstream release. + * Make-config: linux-elf libraries compiled with -D_REENTRANT. + + -- Karl Sackett Wed, 19 Mar 1997 09:10:22 -0600 + +mesa (2.1-4) unstable; urgency=low + + * debian/control: lib packages moved from 'graphics' to 'libs'. + * debian/rules: headers moved from /usr/include/mesa to /usr/include + (no more -I/usr/include/mesa). + + -- Karl Sackett Tue, 25 Feb 1997 09:30:23 -0600 + +mesa (2.1-3) unstable; urgency=low + + * debian/control: mesa2 provides mesa and conflicts with mesa + (bug #7394). + + -- Karl Sackett Mon, 17 Feb 1997 09:25:42 -0600 + +mesa (2.1-2) unstable; urgency=low + + * debian/rules: install gmesa.h, osmesa.h, FooMesa.h in mesa-dev + (bug #6864). + + -- Karl Sackett Tue, 28 Jan 1997 09:37:41 -0600 + +mesa (2.1-1) unstable; urgency=low + + * New upstream release. + * Added soname to mesa and mesa-widgets. + * Moved static libraries to mesa2-dbg. + * debian/postinst, postinst-widgets: call ldconfig without explicit + pathname (bugs #6176, 6180). + + -- Karl Sackett Mon, 6 Jan 1997 09:30:10 -0600 + +mesa (2.0-2) unstable; urgency=low + + * Created mesa-widgets and mesa-widgets-dev (Bug #5029). + + -- Karl Sackett Wed, 30 Oct 1996 08:44:19 -0600 + +mesa (2.0-1) unstable; urgency=low + + * src/draw.c: replaced with upstream patch. + * Make-config: linux-elf target builds libMesaGLw.so library, looks + for XLIBS in /usr/X11R6/lib, removed -mieee-mp from CFLAGS. + * widgets-sgi/Makefile: builds libMesaGlw.a library + * New upstream release. + * Converted to new package standard. + * Maintainer address changed. + + -- Karl Sackett Mon, 14 Oct 1996 15:37:19 -0500 + +1.2.8-3 + * Package split into runtime, development, and documentation + packages. + * widgets now made as a sharable library. + * GLUT removed. This will be released as a separate package. + +1.2.8-2 + * Support files now architecture-independent + +1.2.8-1 + * Upgrade to latest release + * Brought support files up to latest packaging requirements + * mondello/Makefile: fixed error in realclean target + +1.2.7-2 + * debian.rules: clean all Makefiles out of widgets directory + * debian.postrm: remove /usr/lib/mesa entry from /etc/ld.so.config + (bug #2817) + +1.2.7-1 + * Added Debian support files + * Included the GLUT OpenGL Utility Toolkit + * Makefile - disable building programs in demos, samples, and book + directories + * mklib.linux - disabled building *.a libraries + * widgets/Makefile.in - disabled building demo programs --- mesa-7.10.2.orig/debian/libgles2-mesa-dev.install +++ mesa-7.10.2/debian/libgles2-mesa-dev.install @@ -0,0 +1,3 @@ +dri/usr/lib/libGLESv2.so usr/lib +dri/usr/include/GLES2 usr/include +dri/usr/lib/pkgconfig/glesv2.pc usr/lib/pkgconfig --- mesa-7.10.2.orig/debian/libgl1-mesa-glx.postinst +++ mesa-7.10.2/debian/libgl1-mesa-glx.postinst @@ -0,0 +1,26 @@ +#!/bin/sh + +set -e + +THIS_PACKAGE=libgl1-mesa-glx +THIS_SCRIPT=postinst + +case "$1" in + configure) + # Use alternatives to make it easier to switch between Mesa and 3rd party modules + update-alternatives --force \ + --install /etc/ld.so.conf.d/GL.conf gl_conf /usr/lib/mesa/ld.so.conf 500 \ + --slave /usr/lib/xorg/extra-modules xorg_extra_modules /usr/lib/xorg/x11-extra-modules + + # ldconfig needs to be run immediately as we're changing /etc/ld.so.conf.d/ with + # alternatives. + LDCONFIG_NOTRIGGER=y ldconfig + +esac + +#DEBHELPER# + +exit 0 + +# vim:set ai et sw=2 ts=2 tw=80: + --- mesa-7.10.2.orig/debian/libgles2-mesa.install +++ mesa-7.10.2/debian/libgles2-mesa.install @@ -0,0 +1,2 @@ +dri/usr/lib/libGLESv2.so.2* usr/lib +dri/usr/lib/egl/st_GLESv2.so usr/lib/egl --- mesa-7.10.2.orig/debian/libglu1-mesa-dev.install +++ mesa-7.10.2/debian/libglu1-mesa-dev.install @@ -0,0 +1,5 @@ +usr/include/GL/glu.h +usr/include/GL/glu_mangle.h +usr/lib/libGLU.a +usr/lib/libGLU.so +usr/lib/pkgconfig/glu.pc --- mesa-7.10.2.orig/debian/libglu1-mesa.install +++ mesa-7.10.2/debian/libglu1-mesa.install @@ -0,0 +1 @@ +usr/lib/libGLU.so.* --- mesa-7.10.2.orig/debian/libgl1-mesa-swx11.prerm +++ mesa-7.10.2/debian/libgl1-mesa-swx11.prerm @@ -0,0 +1,23 @@ +#!/bin/sh + +set -e + +THIS_PACKAGE=libgl1-mesa-swx11 +THIS_SCRIPT=prerm + +case "$1" in + remove) + # Use alternatives to make it easier to switch between Mesa and 3rd party modules + update-alternatives --remove gl_conf /usr/lib/mesa/ld.so.conf + + # explicit ldconfig due to alternatives + ldconfig + +esac + +#DEBHELPER# + +exit 0 + +# vim:set ai et sw=2 ts=2 tw=80: + --- mesa-7.10.2.orig/debian/libegl1-mesa-dev.install +++ mesa-7.10.2/debian/libegl1-mesa-dev.install @@ -0,0 +1,4 @@ +dri/usr/lib/libEGL.so usr/lib +dri/usr/include/EGL usr/include +dri/usr/include/KHR usr/include +dri/usr/lib/pkgconfig/egl.pc usr/lib/pkgconfig --- mesa-7.10.2.orig/debian/libgl1-mesa-glx.lintian-overrides +++ mesa-7.10.2/debian/libgl1-mesa-glx.lintian-overrides @@ -0,0 +1 @@ +package-name-doesnt-match-sonames libGL1 --- mesa-7.10.2.orig/debian/control +++ mesa-7.10.2/debian/control @@ -0,0 +1,677 @@ +Source: mesa +Section: graphics +Priority: optional +Maintainer: Ubuntu X-SWAT +XSBC-Original-Maintainer: Debian X Strike Force +Uploaders: David Nusinow , Brice Goglin , Cyril Brulebois +Standards-Version: 3.8.4 +Build-Depends: debhelper (>= 7.2.7), quilt (>= 0.40), pkg-config, + libdrm-dev (>= 2.4.23) [!hurd-i386], libx11-dev, xutils-dev, + x11proto-gl-dev (>= 1.4.11), libxxf86vm-dev, + libexpat1-dev, dpkg-dev (>= 1.15.6), libxfixes-dev, + libxdamage-dev, libxext-dev, autoconf, automake, x11proto-dri2-dev (>= 2.1), + linux-libc-dev (>= 2.6.31) [linux-any], + libx11-xcb-dev, libxcb-dri2-0-dev, libxcb-xfixes0-dev, python-libxml2, +# libtalloc-dev, libudev-dev [linux-any], + libudev-dev, +Vcs-Git: git://git.debian.org/git/pkg-xorg/lib/mesa +Vcs-Browser: http://git.debian.org/?p=pkg-xorg/lib/mesa.git +Homepage: http://mesa3d.sourceforge.net/ + +Package: libgl1-mesa-swx11 +Section: libs +Priority: extra +Architecture: any +Depends: + libosmesa6 (>= 6.5.2-1), + ${shlibs:Depends}, + ${misc:Depends}, +Conflicts: mesag3-glide, mesag3-glide2, mesag3+ggi, libgl1, nvidia-glx, mesag3, libgl1-mesa-swrast +Provides: libgl1, mesag3, libgl1-mesa-swrast +Replaces: libgl1, mesag3, libgl1-mesa-swrast +Description: A free implementation of the OpenGL API -- runtime + Mesa is a 3-D graphics library with an API which is very similar to + that of OpenGL. To the extent that Mesa utilizes the OpenGL command + syntax or state machine, it is being used with authorization from + Silicon Graphics, Inc. However, the author makes no claim that Mesa + is in any way a compatible replacement for OpenGL or associated with + Silicon Graphics, Inc. + . + This library provides a pure software rasteriser; it does not provide + a direct rendering-capable library, or one which uses GLX. For that, + please see libgl1-mesa-glx. + . + On Linux, this library is also known as libGL or libGL.so.1. + +Package: libgl1-mesa-swx11-dbg +Section: debug +Priority: extra +Architecture: any +Depends: + libgl1-mesa-swx11 (= ${binary:Version}), + ${misc:Depends}, +Conflicts: libgl1-mesa-swrast-dbg +Provides: libgl1-mesa-swrast-dbg +Replaces: libgl1-mesa-swrast-dbg +Description: A free implementation of the OpenGL API -- debugging symbols + Mesa is a 3-D graphics library with an API which is very similar to + that of OpenGL. To the extent that Mesa utilizes the OpenGL command + syntax or state machine, it is being used with authorization from + Silicon Graphics, Inc. However, the author makes no claim that Mesa + is in any way a compatible replacement for OpenGL or associated with + Silicon Graphics, Inc. + . + This library provides a pure software rasteriser; it does not provide + a direct rendering-capable library, or one which uses GLX. For that, + please see libgl1-mesa-glx. + . + On Linux, this library is also known as libGL or libGL.so.1. + . + This package contains debugging symbols for the software rasterization GL + library. + +# Package: libgl1-mesa-swx11-i686 +# Section: libs +# Priority: extra +# Architecture: i386 kfreebsd-i386 hurd-i386 +# Depends: +# libgl1-mesa-swx11 (= ${binary:Version}), +# ${shlibs:Depends}, +# ${misc:Depends}, +# Description: Mesa OpenGL runtime [i686 optimized] +# Mesa is a 3-D graphics library with an API which is very similar to +# that of OpenGL. To the extent that Mesa utilizes the OpenGL command +# syntax or state machine, it is being used with authorization from +# Silicon Graphics, Inc. However, the author makes no claim that Mesa +# is in any way a compatible replacement for OpenGL or associated with +# Silicon Graphics, Inc. +# . +# This library provides a pure software rasteriser; it does not provide +# a direct rendering-capable library, or one which uses GLX. For that, +# please see libgl1-mesa-glx. +# . +# On Linux, this library is also known as libGL or libGL.so.1. +# . +# This set of libraries is optimized for i686 machines and will only be used if +# you are running a 2.6 kernel on an i686 class CPU. This includes Pentium Pro, +# Pentium II/II/IV, Celeron CPU's and similar class CPU's (including clones +# such as AMD Athlon/Opteron, VIA C3 Nehemiah, but not VIA C3 Ezla). + +Package: libgl1-mesa-swx11-dev +Section: libdevel +Priority: extra +Architecture: any +Depends: + libgl1-mesa-swx11 (= ${binary:Version}), + libx11-dev, + libxext6, + mesa-common-dev (= ${binary:Version}), + ${misc:Depends}, +Provides: libgl-dev, mesag-dev, libgl1-mesa-swrast-dev +Conflicts: mesa-dev, libgl-dev, mesag3 (<< 3.1-1), nvidia-glx-dev, mesag-dev, libgl1-mesa-swrast-dev +Replaces: libgl-dev, mesag-dev, libgl1-mesa-swrast-dev +Description: A free implementation of the OpenGL API -- development files + This package provides the development environment required for + compiling programs with Mesa. For a complete description of Mesa, + please look at the libgl1-mesa-swx11 package. + . + This library provides a pure software rasteriser; it does not provide + a direct rendering-capable library, or one which uses GLX. For that, + please see libgl1-mesa-dev. + +Package: libegl1-mesa +Section: libs +Architecture: any +Depends: + ${shlibs:Depends}, + ${misc:Depends}, +Recommends: libegl1-mesa-drivers +Provides: libegl1-x11 +Conflicts: libegl1-x11 +Replaces: libegl1-x11 +Description: A free implementation of the EGL API -- runtime + This package contains the EGL native platform graphics interface library. + EGL provides a platform-agnostic mechanism for creating rendering surfaces + for use with other graphics libraries, such as OpenGL|ES and OpenVG. + . + This package contains modules to interface with the existing system GLX or + DRI2 drivers to provide OpenGL via EGL. The libegl1-mesa-drivers package + provides drivers to provide hardware-accelerated OpenGL|ES and OpenVG support. + +Package: libegl1-mesa-dbg +Section: debug +Priority: extra +Architecture: any +Depends: + libegl1-mesa (= ${binary:Version}), + ${misc:Depends}, +Description: A free implementation of the EGL API -- debugging symbols + This package contains the EGL native platform graphics interface library. + EGL provides a platform-agnostic mechanism for creating rendering surfaces + for use with other graphics libraries, such as OpenGL|ES and OpenVG. + . + This package contains the debugging symbols for the EGL library. + +Package: libegl1-mesa-dev +Section: libdevel +Architecture: any +Depends: + libegl1-mesa (= ${binary:Version}), + libdrm-dev (>= 2.4.19) [!hurd-i386], + x11proto-dri2-dev (>= 2.1), + x11proto-gl-dev (>= 1.4.11), + libx11-dev, + libxext-dev, + libxxf86vm-dev, + libxdamage-dev, + libxfixes-dev, + ${misc:Depends}, +Description: A free implementation of the EGL API -- development files + This package contains the development environment required for compiling + programs against EGL native platform graphics interface library. + EGL provides a platform-agnostic mechanism for creating rendering surfaces + for use with other graphics libraries, such as OpenGL|ES and OpenVG. + . + This package provides the development environment for compiling programs + against the EGL library. + +Package: libegl1-mesa-drivers +Section: libs +Architecture: any +Depends: + ${shlibs:Depends}, + ${misc:Depends}, + libegl1-mesa (= ${binary:Version}), +Description: A free implementation of the EGL API -- hardware drivers + This package contains the EGL native platform graphics interface library. + EGL provides a platform-agnostic mechanism for creating rendering surfaces + for use with other graphics libraries, such as OpenGL|ES and OpenVG. + . + This package contains the drivers required for hardware accelerated rendering + of EGL-based graphics libraries, such as OpenGL|ES and OpenVG. + +Package: libegl1-mesa-drivers-dbg +Section: debug +Priority: extra +Architecture: any +Depends: + libegl1-mesa-drivers (= ${binary:Version}), + ${misc:Depends}, +Description: A free implementation of the EGL API -- driver debugging symbols + This package contains the EGL native platform graphics interface library. + EGL provides a platform-agnostic mechanism for creating rendering surfaces + for use with other graphics libraries, such as OpenGL|ES and OpenVG. + . + This package contains the debugging symbols for the drivers required for + hardware accelerated rendering of EGL-based graphics libraries. + +Package: libopenvg1-mesa +Section: libs +Architecture: any +Depends: + ${shlibs:Depends}, + ${misc:Depends}, +Provides: libopenvg1 +Conflicts: libopenvg1 +Replaces: libopenvg1 +Description: A free implementation of the OpenVG API -- runtime + This package contains the mesa implementation of the OpenVG 2D acceleration + library. OpenVG provides a device independent and vendor-neutral interface + for sophisticated 2D graphical applications, while allowing device + manufacturers to provide hardware acceleration on devices ranging from wrist + watches to full microprocessor-based desktop and server machines. + +Package: libopenvg1-mesa-dbg +Section: debug +Priority: extra +Architecture: any +Depends: + libopenvg1-mesa (= ${binary:Version}), + ${misc:Depends}, +Description: A free implementation of the OpenVG API -- debugging symbols + This package contains the mesa implementation of the OpenVG 2D acceleration + library. OpenVG provides a device independent and vendor-neutral interface + for sophisticated 2D graphical applications, while allowing device + manufacturers to provide hardware acceleration on devices ranging from wrist + watches to full microprocessor-based desktop and server machines. + . + This package contains the debugging symbols for the OpenVG library. + +Package: libopenvg1-mesa-dev +Section: libdevel +Architecture: any +Depends: + libopenvg1-mesa (= ${binary:Version}), + libegl1-mesa-dev, + ${misc:Depends}, +Description: A free implementation of the OpenVG API -- development files + This package contains the mesa implementation of the OpenVG 2D acceleration + library. OpenVG provides a device independent and vendor-neutral interface + for sophisticated 2D graphical applications, while allowing device + manufacturers to provide hardware acceleration on devices ranging from wrist + watches to full microprocessor-based desktop and server machines. + . + This package contains the development environment required for compiling + programs against the OpenVG 2D acceleration library. + +Package: libgles1-mesa +Section: libs +Architecture: any +Depends: + ${shlibs:Depends}, + ${misc:Depends}, +Provides: libgles1 +Conflicts: libgles1 +Replaces: libgles1 +Description: A free implementation of the OpenGL|ES 1.x API -- runtime + OpenGL|ES is a cross-platform API for full-function 2D and 3D graphics on + embedded systems - including consoles, phones, appliances and vehicles. + It contains a subset of OpenGL plus a number of extensions for the + special needs of embedded systems. + . + OpenGL|ES 1.x provides an API for fixed-function hardware. + +Package: libgles1-mesa-dbg +Section: debug +Priority: extra +Architecture: any +Depends: + libgles1-mesa (= ${binary:Version}), + ${misc:Depends}, +Description: A free implementation of the OpenGL|ES 1.x API -- debugging symbols + OpenGL|ES is a cross-platform API for full-function 2D and 3D graphics on + embedded systems - including consoles, phones, appliances and vehicles. + It contains a subset of OpenGL plus a number of extensions for the + special needs of embedded systems. + . + OpenGL|ES 1.x provides an API for fixed-function hardware. + . + This package contains the debugging symbols for the libGLESv1_CM library. + +Package: libgles1-mesa-dev +Section: libdevel +Architecture: any +Depends: + libgles1-mesa (= ${binary:Version}), + libegl1-mesa-dev, + ${misc:Depends}, +Description: A free implementation of the OpenGL|ES 1.x API -- development files + OpenGL|ES is a cross-platform API for full-function 2D and 3D graphics on + embedded systems - including consoles, phones, appliances and vehicles. + It contains a subset of OpenGL plus a number of extensions for the + special needs of embedded systems. + . + OpenGL|ES 1.x provides an API for fixed-function hardware. + . + This package provides a development environment for building programs using + the OpenGL|ES 1.x APIs. + +Package: libgles2-mesa +Section: libs +Architecture: any +Depends: + ${shlibs:Depends}, + ${misc:Depends}, +Provides: libgles2 +Conflicts: libgles2 +Replaces: libgles2 +Description: A free implementation of the OpenGL|ES 2.x API -- runtime + OpenGL|ES is a cross-platform API for full-function 2D and 3D graphics on + embedded systems - including consoles, phones, appliances and vehicles. + It contains a subset of OpenGL plus a number of extensions for the + special needs of embedded systems. + . + OpenGL|ES 2.x provides an API for programmable hardware including vertex + and fragment shaders. + +Package: libgles2-mesa-dbg +Section: debug +Priority: extra +Architecture: any +Depends: + libgles2-mesa (= ${binary:Version}), + ${misc:Depends}, +Description: A free implementation of the OpenGL|ES 2.x API -- debugging symbols + OpenGL|ES is a cross-platform API for full-function 2D and 3D graphics on + embedded systems - including consoles, phones, appliances and vehicles. + It contains a subset of OpenGL plus a number of extensions for the + special needs of embedded systems. + . + OpenGL|ES 2.x provides an API for programmable hardware including vertex + and fragment shaders. + . + This package contains the debugging symbols for the libGLESv2 library. + +Package: libgles2-mesa-dev +Section: libdevel +Architecture: any +Depends: + libgles2-mesa (= ${binary:Version}), + libegl1-mesa-dev, + ${misc:Depends}, +Description: A free implementation of the OpenGL|ES 2.x API -- development files + OpenGL|ES is a cross-platform API for full-function 2D and 3D graphics on + embedded systems - including consoles, phones, appliances and vehicles. + It contains a subset of OpenGL plus a number of extensions for the + special needs of embedded systems. + . + OpenGL|ES 2.x provides an API for programmable hardware including vertex + and fragment shaders. + . + This package provides a development environment for building applications + using the OpenGL|ES 2.x APIs. + +Package: libgl1-mesa-glx +Section: libs +Architecture: any +Depends: + ${shlibs:Depends}, + ${misc:Depends} +Recommends: libgl1-mesa-dri (>= 7.2) +Conflicts: libgl1, libgl1-mesa-dri (<< 6.4.0) +Replaces: libgl1, libgl1-mesa-dri (<< 6.4.0) +Provides: libgl1 +Description: A free implementation of the OpenGL API -- GLX runtime + This version of Mesa provides GLX and DRI capabilities: it is capable of + both direct and indirect rendering. For direct rendering, it can use DRI + modules from the libgl1-mesa-dri package to accelerate drawing. + . + This package does not include the modules themselves: these can be found + in the libgl1-mesa-dri package. + . + For a complete description of Mesa, please look at the + libgl1-mesa-swx11 package. + +Package: libgl1-mesa-glx-dbg +Section: debug +Priority: extra +Architecture: any +Depends: + libgl1-mesa-glx (= ${binary:Version}), + ${misc:Depends}, +Description: Debugging symbols for the Mesa GLX runtime + This version of Mesa provides GLX and DRI capabilities: it is capable of + both direct and indirect rendering. For direct rendering, it can use DRI + modules from the libgl1-mesa-dri package to accelerate drawing. + . + This package does not include the modules themselves: these can be found + in the libgl1-mesa-dri package. + . + For a complete description of Mesa, please look at the + libgl1-mesa-swx11 package. + . + This package contains debugging symbols for the GL library with GLX and DRI + capabilities. + +#Package: libgl1-mesa-glx-i686 +#Section: libs +#Priority: extra +#Architecture: i386 kfreebsd-i386 hurd-i386 +#Pre-Depends: libgl1-mesa-glx +#Description: A free implementation of the OpenGL API -- GLX runtime [i686 optimized] +# This version of Mesa provides GLX and DRI capabilities: it is capable of +# both direct and indirect rendering. For direct rendering, it can use DRI +# modules from the libgl1-mesa-dri package to accelerate drawing. +# . +# This package does not include the modules themselves: these can be found +# in the libgl1-mesa-dri package. +# . +# For a complete description of Mesa, please look at the +# libgl1-mesa-swx11 package. +# . +# This set of libraries is optimized for i686 machines and will only be used if +# you are running a 2.6 kernel on an i686 class CPU. This includes Pentium Pro, +# Pentium II/II/IV, Celeron CPU's and similar class CPU's (including clones +# such as AMD Athlon/Opteron, VIA C3 Nehemiah, but not VIA C3 Ezla). + +Package: libgl1-mesa-dri +Section: libs +Priority: optional +Architecture: any +Depends: + ${shlibs:Depends}, + ${misc:Depends} +Suggests: libglide3 +Conflicts: xlibmesa-dri (<< 1:7.0.0) +Replaces: xlibmesa-dri (<< 1:7.0.0) +Breaks: xserver-xorg-core (<< 2:1.5), libgl1-mesa-glx (<< 7.2) +Description: A free implementation of the OpenGL API -- DRI modules + This version of Mesa provides GLX and DRI capabilities: it is capable of + both direct and indirect rendering. For direct rendering, it can use DRI + modules from the libgl1-mesa-dri package to accelerate drawing. + . + This package does not include the OpenGL library itself, only the DRI + modules for accelerating direct rendering. + . + For a complete description of Mesa, please look at the + libgl1-mesa-swx11 package. + . + The tdfx DRI module needs libglide3 to enable direct rendering. + +Package: libgl1-mesa-dri-dbg +Section: debug +Priority: extra +Architecture: any +Depends: + libgl1-mesa-dri (= ${binary:Version}), + ${misc:Depends}, +Description: Debugging symbols for the Mesa DRI modules + This version of Mesa provides GLX and DRI capabilities: it is capable of + both direct and indirect rendering. For direct rendering, it can use DRI + modules from the libgl1-mesa-dri package to accelerate drawing. + . + This package does not include the OpenGL library itself, only the DRI + modules for accelerating direct rendering. + . + For a complete description of Mesa, please look at the + libgl1-mesa-swx11 package. + . + This package contains debugging symbols for the DRI modules. + +Package: libgl1-mesa-dri-experimental +Section: libs +Architecture: linux-any +Depends: + ${shlibs:Depends}, + ${misc:Depends}, +Description: A free implementation of the OpenGL API -- Extra DRI modules + This version of Mesa provides GLX and DRI capabilities: it is capable of + both direct and indirect rendering. For direct rendering, it can use DRI + modules from the libgl1-mesa-dri package to accelerate drawing. + . + This package does not include the OpenGL library itself, only the DRI + modules for accelerating direct and indirect rendering. The drivers + in this package may provide more features than the drivers in the + libgl1-mesa-dri at the cost of less stability. + . + For a complete description of Mesa, please look at the + libgl1-mesa-swx11 package. + +Package: libgl1-mesa-dri-experimental-dbg +Section: debug +Priority: extra +Architecture: linux-any +Depends: + libgl1-mesa-dri-experimental (= ${binary:Version}), + ${misc:Depends}, +Description: Debugging symbols for the experimental Mesa DRI modules + This version of Mesa provides GLX and DRI capabilities: it is capable of + both direct and indirect rendering. For direct rendering, it can use DRI + modules from the libgl1-mesa-dri package to accelerate drawing. + . + This package does not include the OpenGL library itself, only the DRI + modules for accelerating direct rendering. + . + For a complete description of Mesa, please look at the + libgl1-mesa-swx11 package. + . + This package contains debugging symbols for the extra DRI modules. + +#Package: libgl1-mesa-dri-i686 +#Section: libs +#Priority: extra +#Architecture: i386 kfreebsd-i386 hurd-i386 +#Pre-Depends: libgl1-mesa-dri +#Description: A free implementation of the OpenGL API -- DRI modules [i686 optimized] +# This version of Mesa provides GLX and DRI capabilities: it is capable of +# both direct and indirect rendering. For direct rendering, it can use DRI +# modules from the libgl1-mesa-dri package to accelerate drawing. +# . +# This package does not include the OpenGL library itself, only the DRI +# modules for accelerating direct rendering. +# . +# For a complete description of Mesa, please look at the +# libgl1-mesa-swx11 package. +# . +# This set of libraries is optimized for i686 machines and will only be used if +# you are running a 2.6 kernel on an i686 class CPU. This includes Pentium Pro, +# Pentium II/II/IV, Celeron CPU's and similar class CPU's (including clones +# such as AMD Athlon/Opteron, VIA C3 Nehemiah, but not VIA C3 Ezla). + +Package: libgl1-mesa-dev +Section: libdevel +Architecture: any +Depends: + mesa-common-dev (= ${binary:Version}), + libgl1-mesa-glx (= ${binary:Version}), + libxext-dev, + ${misc:Depends}, +Conflicts: libgl-dev, libgl1-mesa-dri-dev +Replaces: libgl-dev, libgl1-mesa-dri-dev +Provides: libgl-dev, libgl1-mesa-dri-dev +Description: A free implementation of the OpenGL API -- GLX development files + This version of Mesa provides GLX and DRI capabilities: it is capable of + both direct and indirect rendering. For direct rendering, it can use DRI + modules from the libgl1-mesa-dri package to accelerate drawing. + . + This package includes headers and static libraries for compiling + programs with Mesa. + . + For a complete description of Mesa, please look at the libgl1-mesa-swx11 + package. + +Package: mesa-common-dev +Section: libdevel +Architecture: any +Replaces: xlibmesa-gl-dev (<< 1:7), xlibosmesa-dev, libgl1-mesa-swx11-dev (<< 6.5.2), libgl1-mesa-dev (<< 7.5~rc4-2) +Depends: + libx11-dev, + libdrm-dev, + ${misc:Depends}, +Description: Developer documentation for Mesa + This package includes the specifications for the Mesa-specific OpenGL + extensions, the complete set of release notes and the development header + files common to all Mesa packages. + +Package: libosmesa6 +Section: libs +Architecture: any +Depends: + ${shlibs:Depends}, + ${misc:Depends}, +Replaces: libgl1-mesa-swx11 (<< 6.5.2) +Description: Mesa Off-screen rendering extension + OSmesa is a Mesa extension that allows programs to render to an + off-screen buffer using the OpenGL API without having to create a + rendering context on an X Server. It uses a pure software renderer. + . + This package provides both 16-bit and 32-bit versions of the off-screen + renderer which do not require external libraries to work. + +Package: libosmesa6-dev +Section: libdevel +Architecture: any +Depends: + libosmesa6 (= ${binary:Version}), + mesa-common-dev (= ${binary:Version}) | libgl-dev, + ${misc:Depends}, +Conflicts: xlibosmesa-dev, libosmesa4-dev, libosmesa-dev +Replaces: xlibosmesa-dev, libosmesa-dev, libgl1-mesa-swx11-dev (<< 6.5.2), mesa-common-dev (<< 6.5.2) +Provides: xlibosmesa-dev, libosmesa-dev +Description: Mesa Off-screen rendering extension -- development files + This package provides the required environment for developing programs + that use the off-screen rendering extension of Mesa. + . + For more information on OSmesa see the libosmesa6 package. + +Package: libglu1-mesa +Section: libs +Architecture: any +Depends: + ${shlibs:Depends}, + ${misc:Depends}, +Provides: libglu1 +Conflicts: mesag3 (<< 5.0.0-1), xlibmesa3, libglu1 +Replaces: libglu1 +Description: The OpenGL utility library (GLU) + GLU offers simple interfaces for building mipmaps; checking for the + presence of extensions in the OpenGL (or other libraries which follow + the same conventions for advertising extensions); drawing + piecewise-linear curves, NURBS, quadrics and other primitives + (including, but not limited to, teapots); tesselating surfaces; setting + up projection matrices and unprojecting screen coordinates to world + coordinates. + . + On Linux, this library is also known as libGLU or libGLU.so.1. + . + This package provides the SGI implementation of GLU shipped with the + Mesa package (ergo the "-mesa" suffix). + +Package: libglu1-mesa-dev +Section: libdevel +Architecture: any +Depends: + libglu1-mesa (= ${binary:Version}), + libgl1-mesa-dev | libgl-dev, + ${misc:Depends}, +Provides: libglu-dev, xlibmesa-glu-dev +Conflicts: mesag-dev (<< 5.0.0-1), mesa-glide2-dev (<< 5.0.0-1), mesag3+ggi-dev (<< 5.0.0-1), xlibmesa-dev +Replaces: libglu-dev +Description: The OpenGL utility library -- development files + Includes headers and static libraries for compiling programs with GLU. + . + For a complete description of GLU, please look at the libglu1-mesa + package. + +# Package: libglw1-mesa +# Section: libs +# Architecture: any +# Depends: +# ${shlibs:Depends}, +# ${misc:Depends}, +# Provides: libglw1 +# Description: A free implementation of the OpenGL API -- runtime +# Mesa is a 3-D graphics library with an API which is very similar to +# that of OpenGL. To the extent that Mesa utilizes the OpenGL command +# syntax or state machine, it is being used with authorization from +# Silicon Graphics, Inc. However, the author makes no claim that Mesa +# is in any way a compatible replacement for OpenGL or associated with +# Silicon Graphics, Inc. +# . +# This package provides a simple widgets library, libGLw, which +# allows Motif-based applications to embed an OpenGL drawing context. +# . +# On Linux, this library is also known as libGLw or libGLw.so.1. + +# Package: libglw1-mesa-dev +# Section: libdevel +# Architecture: any +# Depends: +# libglw1-mesa (= ${binary:Version}), +# libx11-dev, +# libxt-dev, +# lesstif2-dev, +# mesa-common-dev (= ${binary:Version}), +# ${shlibs:Depends}, +# ${misc:Depends}, +# Provides: mesag3-widgets, mesag-widgets-dev, libglw-dev +# Conflicts: libglw-dev, libgl1-mesa-swx11-dev (<< 6.5.2-4) +# Replaces: libglw-dev +# Description: A free implementation of the OpenGL API -- development files +# This package provides the development environment required for +# compiling programs with the Mesa widgets library, libGLw, which +# allows Motif-based applications to embed an OpenGL drawing context. +# The headers and static libraries for compiling programs that use this +# library are included. + +# vim: tw=0 --- mesa-7.10.2.orig/debian/libglw1-mesa-dev.install +++ mesa-7.10.2/debian/libglw1-mesa-dev.install @@ -0,0 +1,4 @@ +usr/include/GL/GLw*A.h +usr/lib/libGLw.a +usr/lib/libGLw.so +usr/lib/pkgconfig/glw.pc --- mesa-7.10.2.orig/debian/libegl1-mesa.lintian-overrides +++ mesa-7.10.2/debian/libegl1-mesa.lintian-overrides @@ -0,0 +1 @@ +package-name-doesnt-match-sonames libEGL1 --- mesa-7.10.2.orig/debian/libglu1-mesa.lintian-overrides +++ mesa-7.10.2/debian/libglu1-mesa.lintian-overrides @@ -0,0 +1 @@ +package-name-doesnt-match-sonames libGLU1 --- mesa-7.10.2.orig/debian/libgl1-mesa-dri-i686.install +++ mesa-7.10.2/debian/libgl1-mesa-dri-i686.install @@ -0,0 +1 @@ +dri/usr/lib/dri/i686/cmov/*.so --- mesa-7.10.2.orig/debian/libgles1-mesa.lintian-overrides +++ mesa-7.10.2/debian/libgles1-mesa.lintian-overrides @@ -0,0 +1 @@ +package-name-doesnt-match-sonames libGLESv1-CM1 --- mesa-7.10.2.orig/debian/mesa-common-dev.docs +++ mesa-7.10.2/debian/mesa-common-dev.docs @@ -0,0 +1,8 @@ +docs/bugs.html +docs/debugging.html +docs/envvars.html +docs/faq.html +docs/osmesa.html +docs/RELNOTES-* +docs/relnotes* +docs/*.spec --- mesa-7.10.2.orig/debian/libgl1-mesa-dri-experimental.install +++ mesa-7.10.2/debian/libgl1-mesa-dri-experimental.install @@ -0,0 +1 @@ +build/dri/lib/gallium/nouveau_dri.so usr/lib/dri --- mesa-7.10.2.orig/debian/libgl1-mesa-swx11.lintian-overrides +++ mesa-7.10.2/debian/libgl1-mesa-swx11.lintian-overrides @@ -0,0 +1 @@ +package-name-doesnt-match-sonames libGL1 --- mesa-7.10.2.orig/debian/libgl1-mesa-glx.prerm +++ mesa-7.10.2/debian/libgl1-mesa-glx.prerm @@ -0,0 +1,23 @@ +#!/bin/sh + +set -e + +THIS_PACKAGE=libgl1-mesa-glx +THIS_SCRIPT=prerm + +case "$1" in + remove) + # Use alternatives to make it easier to switch between Mesa and 3rd party modules + update-alternatives --remove gl_conf /usr/lib/mesa/ld.so.conf + + # explicit ldconfig due to alternatives + ldconfig + +esac + +#DEBHELPER# + +exit 0 + +# vim:set ai et sw=2 ts=2 tw=80: + --- mesa-7.10.2.orig/debian/libgles2-mesa.symbols +++ mesa-7.10.2/debian/libgles2-mesa.symbols @@ -0,0 +1,161 @@ +libGLESv2.so.2 libgles2-mesa #MINVER# | libgles2 +# _glapi_* are internal GL dispatch symbols. They should probably be hidden. + (regex)"^_glapi_.*@Base$" 7.8.1 + _glthread_GetID@Base 7.8.1 + glActiveTexture@Base 7.8.1 + glAttachShader@Base 7.8.1 + glBindAttribLocation@Base 7.8.1 + glBindBuffer@Base 7.8.1 + glBindFramebuffer@Base 7.8.1 + glBindRenderbuffer@Base 7.8.1 + glBindTexture@Base 7.8.1 + glBlendColor@Base 7.8.1 + glBlendEquation@Base 7.8.1 + glBlendEquationSeparate@Base 7.8.1 + glBlendFunc@Base 7.8.1 + glBlendFuncSeparate@Base 7.8.1 + glBufferData@Base 7.8.1 + glBufferSubData@Base 7.8.1 + glCheckFramebufferStatus@Base 7.8.1 + glClear@Base 7.8.1 + glClearColor@Base 7.8.1 + glClearDepthf@Base 7.8.1 + glClearStencil@Base 7.8.1 + glColorMask@Base 7.8.1 + glCompileShader@Base 7.8.1 + glCompressedTexImage2D@Base 7.8.1 + glCompressedTexImage3DOES@Base 7.8.1 + glCompressedTexSubImage2D@Base 7.8.1 + glCompressedTexSubImage3DOES@Base 7.8.1 + glCopyTexImage2D@Base 7.8.1 + glCopyTexSubImage2D@Base 7.8.1 + glCopyTexSubImage3DOES@Base 7.8.1 + glCreateProgram@Base 7.8.1 + glCreateShader@Base 7.8.1 + glCullFace@Base 7.8.1 + glDeleteBuffers@Base 7.8.1 + glDeleteFramebuffers@Base 7.8.1 + glDeleteProgram@Base 7.8.1 + glDeleteRenderbuffers@Base 7.8.1 + glDeleteShader@Base 7.8.1 + glDeleteTextures@Base 7.8.1 + glDepthFunc@Base 7.8.1 + glDepthMask@Base 7.8.1 + glDepthRangef@Base 7.8.1 + glDetachShader@Base 7.8.1 + glDisable@Base 7.8.1 + glDisableVertexAttribArray@Base 7.8.1 + glDrawArrays@Base 7.8.1 + glDrawElements@Base 7.8.1 + glEGLImageTargetRenderbufferStorageOES@Base 7.8.1 + glEGLImageTargetTexture2DOES@Base 7.8.1 + glEnable@Base 7.8.1 + glEnableVertexAttribArray@Base 7.8.1 + glFinish@Base 7.8.1 + glFlush@Base 7.8.1 + glFramebufferRenderbuffer@Base 7.8.1 + glFramebufferTexture2D@Base 7.8.1 + glFramebufferTexture3DOES@Base 7.8.1 + glFrontFace@Base 7.8.1 + glGenBuffers@Base 7.8.1 + glGenFramebuffers@Base 7.8.1 + glGenRenderbuffers@Base 7.8.1 + glGenTextures@Base 7.8.1 + glGenerateMipmap@Base 7.8.1 + glGetActiveAttrib@Base 7.8.1 + glGetActiveUniform@Base 7.8.1 + glGetAttachedShaders@Base 7.8.1 + glGetAttribLocation@Base 7.8.1 + glGetBooleanv@Base 7.8.1 + glGetBufferParameteriv@Base 7.8.1 + glGetBufferPointervOES@Base 7.8.1 + glGetError@Base 7.8.1 + glGetFloatv@Base 7.8.1 + glGetFramebufferAttachmentParameteriv@Base 7.8.1 + glGetIntegerv@Base 7.8.1 + glGetProgramBinaryOES@Base 7.8.1 + glGetProgramInfoLog@Base 7.8.1 + glGetProgramiv@Base 7.8.1 + glGetRenderbufferParameteriv@Base 7.8.1 + glGetShaderInfoLog@Base 7.8.1 + glGetShaderPrecisionFormat@Base 7.8.1 + glGetShaderSource@Base 7.8.1 + glGetShaderiv@Base 7.8.1 + glGetString@Base 7.8.1 + glGetTexParameterfv@Base 7.8.1 + glGetTexParameteriv@Base 7.8.1 + glGetUniformLocation@Base 7.8.1 + glGetUniformfv@Base 7.8.1 + glGetUniformiv@Base 7.8.1 + glGetVertexAttribPointerv@Base 7.8.1 + glGetVertexAttribfv@Base 7.8.1 + glGetVertexAttribiv@Base 7.8.1 + glHint@Base 7.8.1 + glIsBuffer@Base 7.8.1 + glIsEnabled@Base 7.8.1 + glIsFramebuffer@Base 7.8.1 + glIsProgram@Base 7.8.1 + glIsRenderbuffer@Base 7.8.1 + glIsShader@Base 7.8.1 + glIsTexture@Base 7.8.1 + glLineWidth@Base 7.8.1 + glLinkProgram@Base 7.8.1 + glMapBufferOES@Base 7.8.1 + glMultiDrawArraysEXT@Base 7.8.1 + glMultiDrawElementsEXT@Base 7.8.1 + glPixelStorei@Base 7.8.1 + glPolygonOffset@Base 7.8.1 + glProgramBinaryOES@Base 7.8.1 + glReadPixels@Base 7.8.1 + glReleaseShaderCompiler@Base 7.8.1 + glRenderbufferStorage@Base 7.8.1 + glSampleCoverage@Base 7.8.1 + glScissor@Base 7.8.1 + glShaderBinary@Base 7.8.1 + glShaderSource@Base 7.8.1 + glStencilFunc@Base 7.8.1 + glStencilFuncSeparate@Base 7.8.1 + glStencilMask@Base 7.8.1 + glStencilMaskSeparate@Base 7.8.1 + glStencilOp@Base 7.8.1 + glStencilOpSeparate@Base 7.8.1 + glTexImage2D@Base 7.8.1 + glTexImage3DOES@Base 7.8.1 + glTexParameterf@Base 7.8.1 + glTexParameterfv@Base 7.8.1 + glTexParameteri@Base 7.8.1 + glTexParameteriv@Base 7.8.1 + glTexSubImage2D@Base 7.8.1 + glTexSubImage3DOES@Base 7.8.1 + glUniform1f@Base 7.8.1 + glUniform1fv@Base 7.8.1 + glUniform1i@Base 7.8.1 + glUniform1iv@Base 7.8.1 + glUniform2f@Base 7.8.1 + glUniform2fv@Base 7.8.1 + glUniform2i@Base 7.8.1 + glUniform2iv@Base 7.8.1 + glUniform3f@Base 7.8.1 + glUniform3fv@Base 7.8.1 + glUniform3i@Base 7.8.1 + glUniform3iv@Base 7.8.1 + glUniform4f@Base 7.8.1 + glUniform4fv@Base 7.8.1 + glUniform4i@Base 7.8.1 + glUniform4iv@Base 7.8.1 + glUniformMatrix2fv@Base 7.8.1 + glUniformMatrix3fv@Base 7.8.1 + glUniformMatrix4fv@Base 7.8.1 + glUnmapBufferOES@Base 7.8.1 + glUseProgram@Base 7.8.1 + glValidateProgram@Base 7.8.1 + glVertexAttrib1f@Base 7.8.1 + glVertexAttrib1fv@Base 7.8.1 + glVertexAttrib2f@Base 7.8.1 + glVertexAttrib2fv@Base 7.8.1 + glVertexAttrib3f@Base 7.8.1 + glVertexAttrib3fv@Base 7.8.1 + glVertexAttrib4f@Base 7.8.1 + glVertexAttrib4fv@Base 7.8.1 + glVertexAttribPointer@Base 7.8.1 + glViewport@Base 7.8.1 --- mesa-7.10.2.orig/debian/libopenvg1-mesa.lintian-overrides +++ mesa-7.10.2/debian/libopenvg1-mesa.lintian-overrides @@ -0,0 +1 @@ +package-name-doesnt-match-sonames libOpenVG1 --- mesa-7.10.2.orig/debian/libopenvg1-mesa.install +++ mesa-7.10.2/debian/libopenvg1-mesa.install @@ -0,0 +1,2 @@ +dri/usr/lib/libOpenVG.so.1* usr/lib +dri/usr/lib/egl/st_OpenVG.so usr/lib/egl --- mesa-7.10.2.orig/debian/libgl1-mesa-glx-i686.install +++ mesa-7.10.2/debian/libgl1-mesa-glx-i686.install @@ -0,0 +1 @@ +dri/usr/lib/i686/cmov/libGL.so.* usr/lib/i686/cmov --- mesa-7.10.2.orig/debian/libgles1-mesa.install +++ mesa-7.10.2/debian/libgles1-mesa.install @@ -0,0 +1,2 @@ +dri/usr/lib/libGLESv1_CM.so.1* usr/lib +dri/usr/lib/egl/st_GLESv1_CM.so usr/lib/egl --- mesa-7.10.2.orig/debian/libopenvg1-mesa.symbols +++ mesa-7.10.2/debian/libopenvg1-mesa.symbols @@ -0,0 +1,94 @@ +libOpenVG.so.1 libopenvg1-mesa #MINVER# | libopenvg1 + mapi_get_proc_address@Base 7.9~ + mapi_init@Base 7.9~ + mapi_table_create@Base 7.9~ + mapi_table_destroy@Base 7.9~ + mapi_table_fill@Base 7.9~ + mapi_table_make_current@Base 7.9~ + vgAppendPath@Base 7.8.1 + vgAppendPathData@Base 7.8.1 + vgChildImage@Base 7.8.1 + vgClear@Base 7.8.1 + vgClearGlyph@Base 7.10 + vgClearImage@Base 7.8.1 + vgClearPath@Base 7.8.1 + vgColorMatrix@Base 7.8.1 + vgConvolve@Base 7.8.1 + vgCopyImage@Base 7.8.1 + vgCopyMask@Base 7.10 + vgCopyPixels@Base 7.8.1 + vgCreateFont@Base 7.10 + vgCreateImage@Base 7.8.1 + vgCreateMaskLayer@Base 7.10 + vgCreatePaint@Base 7.8.1 + vgCreatePath@Base 7.8.1 + vgDestroyFont@Base 7.10 + vgDestroyImage@Base 7.8.1 + vgDestroyMaskLayer@Base 7.10 + vgDestroyPaint@Base 7.8.1 + vgDestroyPath@Base 7.8.1 + vgDrawGlyph@Base 7.10 + vgDrawGlyphs@Base 7.10 + vgDrawImage@Base 7.8.1 + vgDrawPath@Base 7.8.1 + vgFillMaskLayer@Base 7.10 + vgFinish@Base 7.8.1 + vgFlush@Base 7.8.1 + vgGaussianBlur@Base 7.8.1 + vgGetColor@Base 7.8.1 + vgGetError@Base 7.8.1 + vgGetImageSubData@Base 7.8.1 + vgGetMatrix@Base 7.8.1 + vgGetPaint@Base 7.8.1 + vgGetParameterVectorSize@Base 7.8.1 + vgGetParameterf@Base 7.8.1 + vgGetParameterfv@Base 7.8.1 + vgGetParameteri@Base 7.8.1 + vgGetParameteriv@Base 7.8.1 + vgGetParent@Base 7.8.1 + vgGetPathCapabilities@Base 7.8.1 + vgGetPixels@Base 7.8.1 + vgGetString@Base 7.8.1 + vgGetVectorSize@Base 7.8.1 + vgGetf@Base 7.8.1 + vgGetfv@Base 7.8.1 + vgGeti@Base 7.8.1 + vgGetiv@Base 7.8.1 + vgHardwareQuery@Base 7.8.1 + vgImageSubData@Base 7.8.1 + vgInterpolatePath@Base 7.8.1 + vgLoadIdentity@Base 7.8.1 + vgLoadMatrix@Base 7.8.1 + vgLookup@Base 7.8.1 + vgLookupSingle@Base 7.8.1 + vgMask@Base 7.8.1 + vgModifyPathCoords@Base 7.8.1 + vgMultMatrix@Base 7.8.1 + vgPaintPattern@Base 7.8.1 + vgPathBounds@Base 7.8.1 + vgPathLength@Base 7.8.1 + vgPathTransformedBounds@Base 7.8.1 + vgPointAlongPath@Base 7.8.1 + vgReadPixels@Base 7.8.1 + vgRemovePathCapabilities@Base 7.8.1 + vgRenderToMask@Base 7.10 + vgRotate@Base 7.8.1 + vgScale@Base 7.8.1 + vgSeparableConvolve@Base 7.8.1 + vgSetColor@Base 7.8.1 + vgSetGlyphToImage@Base 7.10 + vgSetGlyphToPath@Base 7.10 + vgSetPaint@Base 7.8.1 + vgSetParameterf@Base 7.8.1 + vgSetParameterfv@Base 7.8.1 + vgSetParameteri@Base 7.8.1 + vgSetParameteriv@Base 7.8.1 + vgSetPixels@Base 7.8.1 + vgSetf@Base 7.8.1 + vgSetfv@Base 7.8.1 + vgSeti@Base 7.8.1 + vgSetiv@Base 7.8.1 + vgShear@Base 7.8.1 + vgTransformPath@Base 7.8.1 + vgTranslate@Base 7.8.1 + vgWritePixels@Base 7.8.1 --- mesa-7.10.2.orig/debian/libgl1-mesa-dev.install +++ mesa-7.10.2/debian/libgl1-mesa-dev.install @@ -0,0 +1,2 @@ +usr/lib/libGL.so usr/lib/mesa/ +usr/lib/pkgconfig/gl.pc --- mesa-7.10.2.orig/debian/libegl1-mesa.install +++ mesa-7.10.2/debian/libegl1-mesa.install @@ -0,0 +1,4 @@ +dri/usr/lib/libEGL.so.1* usr/lib +dri/usr/lib/egl/egl_dri2.so usr/lib/egl +dri/usr/lib/egl/egl_glx.so usr/lib/egl +dri/usr/lib/egl/st_GL.so usr/lib/egl --- mesa-7.10.2.orig/debian/watch +++ mesa-7.10.2/debian/watch @@ -0,0 +1,4 @@ +#git=git://anongit.freedesktop.org/mesa/mesa +version=3 +opts="uversionmangle=s/-rc/~rc/,dversionmangle=s/\+repack//,pasv" \ +ftp://freedesktop.org/pub/mesa/([\d\.]*)/ MesaLib-(.*)\.tar\.gz --- mesa-7.10.2.orig/debian/libgl1-mesa-swx11.shlibs +++ mesa-7.10.2/debian/libgl1-mesa-swx11.shlibs @@ -0,0 +1 @@ +libGL 1 libgl1-mesa-glx | libgl1 --- mesa-7.10.2.orig/debian/libglw1-mesa.lintian-overrides +++ mesa-7.10.2/debian/libglw1-mesa.lintian-overrides @@ -0,0 +1 @@ +package-name-doesnt-match-sonames libGLw1 --- mesa-7.10.2.orig/debian/not-installed +++ mesa-7.10.2/debian/not-installed @@ -0,0 +1,29 @@ +# Keep track of files we don't install: + +# Common list: +NOT_INSTALLED := \ + dri/usr/include/GL/glfbdev.h \ + dri/usr/include/GL/glu.h \ + dri/usr/include/GL/glu_mangle.h \ + dri/usr/include/GL/mesa_wgl.h \ + dri/usr/include/GL/osmesa.h \ + dri/usr/include/GL/vms_x_fix.h \ + dri/usr/include/GL/wglext.h \ + dri/usr/include/GL/wmesa.h \ + dri/usr/lib/libGL.so \ + dri/usr/lib/pkgconfig/gl.pc \ + usr/include/GL/glext.h \ + usr/include/GL/glfbdev.h \ + usr/include/GL/gl.h \ + usr/include/GL/gl_mangle.h \ + usr/include/GL/glxext.h \ + usr/include/GL/glx.h \ + usr/include/GL/glx_mangle.h \ + usr/include/GL/mesa_wgl.h \ + usr/include/GL/vms_x_fix.h \ + usr/include/GL/wglext.h \ + usr/include/GL/wmesa.h + +# Detect the current architecture and add the files if any: +DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) +NOT_INSTALLED += $(NOT_INSTALLED_$(DEB_HOST_ARCH)) --- mesa-7.10.2.orig/debian/libglu1-mesa.shlibs +++ mesa-7.10.2/debian/libglu1-mesa.shlibs @@ -0,0 +1 @@ +libGLU 1 libglu1-mesa | libglu1 --- mesa-7.10.2.orig/debian/libgl1-mesa-dev.links +++ mesa-7.10.2/debian/libgl1-mesa-dev.links @@ -0,0 +1 @@ +/usr/lib/mesa/libGL.so /usr/lib/libGL.so --- mesa-7.10.2.orig/debian/libgles1-mesa-dev.install +++ mesa-7.10.2/debian/libgles1-mesa-dev.install @@ -0,0 +1,3 @@ +dri/usr/lib/libGLESv1_CM.so usr/lib +dri/usr/include/GLES usr/include +dri/usr/lib/pkgconfig/glesv1_cm.pc usr/lib/pkgconfig --- mesa-7.10.2.orig/debian/libegl1-mesa.symbols +++ mesa-7.10.2/debian/libegl1-mesa.symbols @@ -0,0 +1,62 @@ +libEGL.so.1 libegl1-mesa #MINVER# | libegl1-x11 + # These are all internal symbols between libEGL and the + # drivers. Handle the dependency explicitly in the driver + # package. + (regex)"^_egl.*@Base$" 7.8.1 + eglBindAPI@Base 7.8.1 + eglBindTexImage@Base 7.8.1 + eglChooseConfig@Base 7.8.1 + eglChooseModeMESA@Base 7.8.1 + eglClientWaitSyncKHR@Base 7.9 + eglCopyBuffers@Base 7.8.1 + eglCopyContextMESA@Base 7.8.1 + eglCreateContext@Base 7.8.1 + eglCreateDRMImageMESA@Base 7.9 + eglCreateImageKHR@Base 7.8.1 + eglCreatePbufferFromClientBuffer@Base 7.8.1 + eglCreatePbufferSurface@Base 7.8.1 + eglCreatePixmapSurface@Base 7.8.1 + eglCreateScreenSurfaceMESA@Base 7.8.1 + eglCreateSyncKHR@Base 7.9 + eglCreateWindowSurface@Base 7.8.1 + eglDestroyContext@Base 7.8.1 + eglDestroyImageKHR@Base 7.8.1 + eglDestroySurface@Base 7.8.1 + eglDestroySyncKHR@Base 7.9 + eglExportDRMImageMESA@Base 7.9 + eglGetConfigAttrib@Base 7.8.1 + eglGetConfigs@Base 7.8.1 + eglGetCurrentContext@Base 7.8.1 + eglGetCurrentDisplay@Base 7.8.1 + eglGetCurrentSurface@Base 7.8.1 + eglGetDRMDisplayMESA@Base 7.9 + eglGetDisplay@Base 7.8.1 + eglGetError@Base 7.8.1 + eglGetModeAttribMESA@Base 7.8.1 + eglGetSyncAttribKHR@Base 7.9 + eglGetModesMESA@Base 7.8.1 + eglGetProcAddress@Base 7.8.1 + eglGetScreensMESA@Base 7.8.1 + eglInitialize@Base 7.8.1 + eglMakeCurrent@Base 7.8.1 + eglQueryAPI@Base 7.8.1 + eglQueryContext@Base 7.8.1 + eglQueryModeStringMESA@Base 7.8.1 + eglQueryScreenMESA@Base 7.8.1 + eglQueryScreenModeMESA@Base 7.8.1 + eglQueryScreenSurfaceMESA@Base 7.8.1 + eglQueryString@Base 7.8.1 + eglQuerySurface@Base 7.8.1 + eglReleaseTexImage@Base 7.8.1 + eglReleaseThread@Base 7.8.1 + eglScreenPositionMESA@Base 7.8.1 + eglShowScreenSurfaceMESA@Base 7.8.1 + eglSignalSyncKHR@Base 7.9 + eglSurfaceAttrib@Base 7.8.1 + eglSwapBuffers@Base 7.8.1 + eglSwapBuffersRegionNOK@Base 7.9 + eglSwapInterval@Base 7.8.1 + eglTerminate@Base 7.8.1 + eglWaitClient@Base 7.8.1 + eglWaitGL@Base 7.8.1 + eglWaitNative@Base 7.8.1 --- mesa-7.10.2.orig/debian/compat +++ mesa-7.10.2/debian/compat @@ -0,0 +1 @@ +7 --- mesa-7.10.2.orig/debian/README.source +++ mesa-7.10.2/debian/README.source @@ -0,0 +1,35 @@ +------------------------------------------------------ +Quick Guide To Patching This Package For The Impatient +------------------------------------------------------ + +1. Make sure you have quilt installed +2. Unpack the package as usual with "dpkg-source -x" +3. Run the "patch" target in debian/rules +4. Create a new patch with "quilt new" (see quilt(1)) +5. Edit all the files you want to include in the patch with "quilt edit" + (see quilt(1)). +6. Write the patch with "quilt refresh" (see quilt(1)) +7. Run the "clean" target in debian/rules + +Alternatively, instead of using quilt directly, you can drop the patch in to +debian/patches and add the name of the patch to debian/patches/series. + + +The X Strike Force team maintains X packages in git repositories on +git.debian.org in the pkg-xorg subdirectory. Most upstream packages +are actually maintained in git repositories as well, so they often +just need to be pulled into git.debian.org in a "upstream-*" branch. + +The .orig.tar.gz is upstream's MesaLib tarball. + +The Debian packaging is added by creating the "debian-*" git branch +which contains the aforementioned "upstream-*" branch plus the debian/ +repository files. +When a patch has to be applied to the Debian package, two solutions +are involved: +* If the patch is available in one of the upstream branches, it + may be git'cherry-picked into the Debian repository. In this + case, it appears directly in the .diff.gz. +* Otherwise, the patch is added to debian/patches/ which is managed + with quilt as documented in /usr/share/doc/quilt/README.source. + Thus, the patching system requires a build dependency on quilt. --- mesa-7.10.2.orig/debian/libegl1-mesa-drivers.install +++ mesa-7.10.2/debian/libegl1-mesa-drivers.install @@ -0,0 +1,2 @@ +dri/usr/lib/egl/egl_gallium.so usr/lib/egl +dri/usr/lib/egl/pipe_*.so usr/lib/egl --- mesa-7.10.2.orig/debian/libgl1-mesa-glx.install +++ mesa-7.10.2/debian/libgl1-mesa-glx.install @@ -0,0 +1 @@ +dri/usr/lib/libGL.so.* usr/lib/mesa --- mesa-7.10.2.orig/debian/libgl1-mesa-swx11-i686.shlibs +++ mesa-7.10.2/debian/libgl1-mesa-swx11-i686.shlibs @@ -0,0 +1 @@ +libGL 1 libgl1-mesa-glx | libgl1 --- mesa-7.10.2.orig/debian/mesa-common-dev.install +++ mesa-7.10.2/debian/mesa-common-dev.install @@ -0,0 +1,8 @@ +dri/usr/include/GL/gl.h usr/include/GL +dri/usr/include/GL/glext.h usr/include/GL +dri/usr/include/GL/gl_mangle.h usr/include/GL +dri/usr/include/GL/glx.h usr/include/GL +dri/usr/include/GL/glxext.h usr/include/GL +dri/usr/include/GL/glx_mangle.h usr/include/GL +dri/usr/include/GL/internal/dri_interface.h usr/include/GL/internal +dri/usr/lib/pkgconfig/dri.pc usr/lib/pkgconfig/ --- mesa-7.10.2.orig/debian/libglw1-mesa.shlibs +++ mesa-7.10.2/debian/libglw1-mesa.shlibs @@ -0,0 +1 @@ +libGLw 1 libglw1-mesa | libglw1 --- mesa-7.10.2.orig/debian/rules +++ mesa-7.10.2/debian/rules @@ -0,0 +1,340 @@ +#!/usr/bin/make -f +# debian/rules for the Debian mesa package +# Copyright © 2006 Thierry Reding + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +CFLAGS = -Wall -g +ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + MAKEFLAGS += -j$(NUMJOBS) +endif + +DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) +DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) +DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU) +DEB_BUILD_DIR ?= $(CURDIR)/build +ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + confflags += --build=$(DEB_HOST_GNU_TYPE) +else + confflags += --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) +endif + +# choose which configurations to build +include debian/scripts/choose-configs + +# keep a list of files we don't install (yet), but since it's a bit +# large, use an external file: +include debian/not-installed + +# build the following configurations by default +CONFIGS = $(SWX11_GLU_CONFIGS) \ + dri \ + osmesa \ + osmesa-static \ + osmesa16 \ + osmesa16-static \ + osmesa32 \ + osmesa32-static + +STAMP_DIR = debian/stamp +STAMP = $(STAMP_DIR)/$(DEB_BUILD_GNU_TYPE) +BUILD_STAMPS = $(addprefix $(STAMP)-build-, $(CONFIGS)) + +QUILT_STAMPFN = $(STAMP_DIR)/patch +include /usr/share/quilt/quilt.make + +confflags-common = \ + --disable-glu \ + --disable-glut \ + --disable-glw \ + CFLAGS="$(CFLAGS)" + +DRI_DRIVERS = swrast +GALLIUM_DRIVERS = swrast +EGL_DISPLAYS = x11 + +# hurd doesn't do direct rendering +ifeq ($(DEB_HOST_ARCH_OS), hurd) + DIRECT_RENDERING = --disable-driglx-direct +else + DIRECT_RENDERING = --enable-driglx-direct + + ifeq ($(DEB_HOST_ARCH_OS), linux) +# Gallium drivers require libdrm-{nouveau,radeon}, only available on Linux + GALLIUM_DRIVERS += nouveau radeon r600 +# Classic nouveau driver also requires libdrm-nouveau, only on Linux + DRI_DRIVERS += nouveau +# Although the KMS egl drivers will probably build on kfreebsd & hurd +# only linux actually has KMS drivers implemented at this point. + EGL_DISPLAYS += drm + endif + + ifneq ($(DEB_HOST_ARCH), s390) + DRI_DRIVERS += mga r128 r200 r300 r600 radeon savage tdfx + endif + ifeq ($(DEB_HOST_ARCH_CPU), i386) + DRI_DRIVERS += i810 i915 i965 sis unichrome + GALLIUM_DRIVERS += i915 + else ifeq ($(DEB_HOST_ARCH_CPU), amd64) + DRI_DRIVERS += i915 i965 sis unichrome + GALLIUM_DRIVERS += i915 + endif +endif + +confflags-dri = \ + --with-driver=dri \ + --with-dri-drivers="$(DRI_DRIVERS)" \ + --with-dri-driverdir=/usr/lib/dri \ + --with-egl-platforms="$(EGL_DISPLAYS)" \ + --enable-glx-tls \ + $(addprefix --enable-gallium-,$(GALLIUM_DRIVERS)) \ + --with-state-trackers=egl,glx,dri,vega \ + --enable-gles-overlay \ + --enable-gles1 \ + --enable-gles2 \ + --enable-shared-dricore \ + $(DIRECT_RENDERING) \ + $(confflags-common) + +confflags-osmesa = \ + --disable-egl \ + --disable-gallium \ + --with-driver=osmesa \ + $(confflags-common) + +confflags-osmesa-static = \ + --disable-egl \ + --disable-gallium \ + --with-driver=osmesa \ + --enable-static \ + $(confflags-common) + +confflags-osmesa16 = \ + --disable-egl \ + --disable-gallium \ + --with-driver=osmesa \ + --with-osmesa-bits=16 \ + $(confflags-common) + +confflags-osmesa16-static = \ + --disable-egl \ + --disable-gallium \ + --with-driver=osmesa \ + --with-osmesa-bits=16 \ + --enable-static \ + $(confflags-common) + +confflags-osmesa32 = \ + --disable-egl \ + --disable-gallium \ + --with-driver=osmesa \ + --with-osmesa-bits=32 \ + $(confflags-common) + +confflags-osmesa32-static = \ + --disable-egl \ + --disable-gallium \ + --with-driver=osmesa \ + --with-osmesa-bits=32 \ + --enable-static \ + $(confflags-common) + +confflags-swx11+glu = \ + --disable-egl \ + --disable-gallium \ + --with-driver=xlib \ + --disable-gl-osmesa \ + --disable-egl \ + --disable-glut \ + --disable-glw \ + CFLAGS="$(CFLAGS)" + +confflags-swx11+glu-static = \ + --disable-egl \ + --disable-gallium \ + --with-driver=xlib \ + --disable-gl-osmesa \ + --enable-static \ + --disable-egl \ + --disable-glut \ + --disable-glw \ + CFLAGS="$(CFLAGS)" + +confflags-swx11+glu-i386-i686 = \ + --disable-egl \ + --disable-gallium \ + --with-driver=xlib \ + --disable-gl-osmesa \ + --disable-glut \ + --disable-egl \ + --disable-glw \ + --libdir=/usr/lib/i686/cmov \ + CFLAGS="$(CFLAGS) -march=i686" + +# Add /usr/lib32/dri/ on 32 bit systems so that this path is used +# for 32 bit compatibility on 64 bit systems +# +# Add /usr/lib/dri-alternates for classic fallback for gallium drivers +ifeq ($(DEB_HOST_ARCH),i386) + confflags-dri += --with-dri-searchpath=/usr/lib/dri:/usr/lib/dri-alternates:/usr/lib32/dri:/usr/lib32/dri-alternates +else + confflags-dri += --with-dri-searchpath=/usr/lib/dri:/usr/lib/dri-alternates +endif + +configure: $(QUILT_STAMPFN) configure.ac + autoreconf -vfi + +# list the configurations that will built +configs: + @echo Building the following configurations: $(CONFIGS) + +$(STAMP_DIR)/stamp: + dh_testdir + mkdir -p $(STAMP_DIR) + >$@ + +$(QUILT_STAMPFN): $(STAMP_DIR)/stamp + +build: build-stamp + +build-stamp: $(BUILD_STAMPS) +# Remove gallium drivers which replace existing classic drivers. +# Intel gallium is significantly behind the classic mesa drivers... + rm -f build/dri/lib/gallium/i915_dri.so + >$@ + +$(STAMP)-build-%: configure + dh_testdir + + mkdir -p $(DEB_BUILD_DIR)/$* + find $(CURDIR)/* -maxdepth 0 -not -path '$(DEB_BUILD_DIR)*' | \ + xargs cp -rlf -t $(DEB_BUILD_DIR)/$* + cd $(DEB_BUILD_DIR)/$* && \ + ../../configure --prefix=/usr --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info --sysconfdir=/etc \ + --localstatedir=/var $(confflags) $(confflags-$*) + cd $(DEB_BUILD_DIR)/$* && $(MAKE) + >$@ + +install: build + # Add here commands to install the package into debian/tmp + dh_testdir + dh_testroot + dh_prep + dh_installdirs + set -e; for config in $(filter-out dri, $(CONFIGS)); do \ + $(MAKE) -C $(DEB_BUILD_DIR)/$$config DESTDIR=$(CURDIR)/debian/tmp install; \ + done + $(MAKE) -C $(DEB_BUILD_DIR)/dri DESTDIR=$(CURDIR)/debian/tmp/dri install + +clean: unpatch + dh_testdir + dh_testroot + rm -rf .pc + + rm -f config.cache config.log config.status + rm -f */config.cache */config.log */config.status + rm -f conftest* */conftest* + rm -rf autom4te.cache */autom4te.cache + rm -rf build + rm -rf configure config.guess config.sub config.h.in + rm -rf $$(find -name Makefile.in) + rm -rf aclocal.m4 missing depcomp install-sh ltmain.sh + rm -rf $(STAMP_DIR) + + dh_clean + +# Build architecture-independent files here. +binary-indep: install + + +# Build architecture-dependent files here. +binary-arch: install + dh_testdir + dh_testroot + dh_installchangelogs -s + dh_installchangelogs -pmesa-common-dev + dh_installdocs -s + dh_installexamples -s + + # Classic DRI and Gallium DRI are mixed up together here + # Remove the whole tree to avoid false-positives in --list-missing, and + # install the right files manually. + rm -r debian/tmp/dri/usr/lib/dri + + # Also get rid of other files which aren't installed. Do not + # use -f to ensure we notice disappearing files: + set -e; for file in $(NOT_INSTALLED); do rm debian/tmp/$$file; done + + dh_install -s --fail-missing + + # Create an ld.so.conf which says where to find libGL from Mesa + echo "/usr/lib/mesa" \ + > $(CURDIR)/debian/libgl1-mesa-glx/usr/lib/mesa/ld.so.conf + echo "/usr/lib/mesa" \ + > $(CURDIR)/debian/libgl1-mesa-swx11/usr/lib/mesa/ld.so.conf + +ifeq ($(DEB_HOST_ARCH),amd64) + # Add the path to 32bit libGL from Mesa (on 64 bit) + echo "/usr/lib32/mesa" \ + >> $(CURDIR)/debian/libgl1-mesa-glx/usr/lib/mesa/ld.so.conf + echo "/usr/lib32/mesa" \ + >> $(CURDIR)/debian/libgl1-mesa-swx11/usr/lib/mesa/ld.so.conf +endif + + # Empty directory for the alternative + mkdir -p $(CURDIR)/debian/libgl1-mesa-glx/usr/lib/xorg/x11-extra-modules + mkdir -p $(CURDIR)/debian/libgl1-mesa-swx11/usr/lib/xorg/x11-extra-modules + + dh_installman -s + dh_lintian -s + dh_link -s + dh_strip -plibgl1-mesa-swx11 --dbg-package=libgl1-mesa-swx11-dbg + dh_strip -plibgl1-mesa-glx --dbg-package=libgl1-mesa-glx-dbg + dh_strip -plibgl1-mesa-dri --dbg-package=libgl1-mesa-dri-dbg + dh_strip -plibgl1-mesa-dri-experimental --dbg-package=libgl1-mesa-dri-experimental-dbg + dh_strip -plibopenvg1-mesa --dbg-package=libopenvg1-mesa-dbg + dh_strip -plibegl1-mesa --dbg-package=libegl1-mesa-dbg + dh_strip -plibgles1-mesa --dbg-package=libgles1-mesa-dbg + dh_strip -plibgles2-mesa --dbg-package=libgles2-mesa-dbg + dh_strip -plibegl1-mesa-drivers --dbg-package=libegl1-mesa-drivers-dbg + # dh_strip -s --remaining-packages doesn't work with resumed + # builds (see changelog for mesa 7.10-1): + dh_strip \ + -plibegl1-mesa-dev \ + -plibgl1-mesa-dev \ + -plibgl1-mesa-swx11-dev \ + -plibgles1-mesa-dev \ + -plibgles2-mesa-dev \ + -plibglu1-mesa \ + -plibglu1-mesa-dev \ + -plibopenvg1-mesa-dev \ + -plibosmesa6 \ + -plibosmesa6-dev \ + -pmesa-common-dev + dh_compress -s + dh_fixperms -s +ifneq ($(DEB_HOST_ARCH), sparc) + dh_makeshlibs -s -- -c4 +else + # Temporarily work around FTBFS on sparc, ignore new symbols: + dh_makeshlibs -s -- -c1 +endif + dh_installdeb -s + dh_shlibdeps -s -l/usr/lib/mesa + dh_gencontrol -s + dh_md5sums -s + dh_builddeb -s -- -Zlzma + +binary: binary-indep binary-arch +.PHONY: configs build clean binary-indep binary-arch binary install --- mesa-7.10.2.orig/debian/README.Debian +++ mesa-7.10.2/debian/README.Debian @@ -0,0 +1,18 @@ +Documentation for the libegl1-x11, libgles1, libgles2, and libopenvg1 virtual +packages. + +Although there are is no standardised linux ABI for GL|ES or OpenVG, there is +a “strongly encouraged” set of standard headers, type and linkage definitions +supplied by the Khronos group[1]. The mesa implementation provides this ABI. +Any non-mesa implementation that wants to provide these packages should +conform to the Khronos group's de-facto ABI. + +The case of EGL is similar; Khronos again supplies a de-facto linux ABI. +The EGL ABI is necessarily tied to the native windowing system by the +eglNativeDisplayType, eglNativeWindowType, and eglNativePixmapType typedefs. +The EGL virtual package therefore includes the name of the x11 windowing +system to leave room should further windowing ABIs be standardised. + +[1]: http://www.khronos.org/registry/implementers_guide.html#uncontrolled + + -- Cyril Brulebois , Sat, 22 Jan 2011 06:03:46 +0100 --- mesa-7.10.2.orig/debian/libgl1-mesa-dri.install +++ mesa-7.10.2/debian/libgl1-mesa-dri.install @@ -0,0 +1,4 @@ +# If this part gets modified, make sure to update .install.$os as well: +build/dri/lib/*_dri.so usr/lib/dri +build/dri/lib/libglsl.so usr/lib/dri +build/dri/lib/libdricore.so usr/lib/dri --- mesa-7.10.2.orig/debian/copyright +++ mesa-7.10.2/debian/copyright @@ -0,0 +1,196 @@ +This package was debianized by James A. Treacy treacy@debian.org on Thu, +6 Jan 2000 01:11:34 -0500. It was newly debianized by Marcelo E. +Magallon on Sat, 25 Dec 2004 14:50:02 -0600. It was +again debianized by Thierry Reding on Sat, 14 Oct 2006 +02:01:12 +0200. + +It was downloaded from http://www.mesa3d.org/download.html + +For more information see: + + http://www.mesa3d.org/ + +The tarball was built by combining MesaLib and MesaDemos tarballs, and +deleting the progs/objviewer/ directory. + +Copyright: + +Upstream Author: Brian Paul + +License: + + License / Copyright Information + + The Mesa distribution consists of several components. Different + copyrights and licenses apply to different components. For + example, GLUT is copyrighted by Mark Kilgard, some demo programs + are copyrighted by SGI, some of the Mesa device drivers are + copyrighted by their authors. See below for a list of Mesa's + components and the copyright/license for each. + + The core Mesa library is licensed according to the terms of the + XFree86 copyright (an MIT-style license). This allows integration + with the XFree86/DRI project. Unless otherwise stated, the Mesa + source code and documentation is licensed as follows: + + Copyright (C) 1999-2003 Brian Paul All Rights Reserved. + + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Attention, Contributors + + When contributing to the Mesa project you must agree to relinquish + your work to the holder of the copyright for the particular + component you're contributing to. That is, you can't put your own + copyright on the code, unless it's a modular piece that can be + omitted from Mesa (like a new device driver). If for example, you + contribute a bug fix to Mesa's texture mapping code, your code + will become a part of the body of work which is copyrighted by + Brian Paul and licensed by the above terms. + +---------------------------------------------------------------------- + +Some files, as listed below, are made available under the SGI Free B +license. This license is as follows: + +SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008) + +Copyright (C) [dates of first publication] Silicon Graphics, Inc. All Rights +Reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: +The above copyright notice including the dates of first publication and either +this permission notice or a reference to http://oss.sgi.com/projects/FreeB/ +shall be included in all copies or substantial portions of the Software. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL SILICON GRAPHICS, INC. BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. +Except as contained in this notice, the name of Silicon Graphics, Inc. shall +not be used in advertising or otherwise to promote the sale, use or other +dealings in this Software without prior written authorization from Silicon +Graphics, Inc. + +-------------------------------------------------------------------------- + +Some other files listed below are made available from Silicon Graphics, +Inc. under a more liberal, MIT-style license, as follows: + + Permission to use, copy, modify, and distribute this software for + any purpose and without fee is hereby granted, provided that the above + copyright notice appear in all copies and that both the copyright notice + and this permission notice appear in supporting documentation, and that + the name of Silicon Graphics, Inc. not be used in advertising + or publicity pertaining to distribution of the software without specific, + written prior permission. + + THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS" + AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE + INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR + FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON + GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, + SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY + KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION, + LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF + THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE + POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE. + + US Government Users Restricted Rights + Use, duplication, or disclosure by the Government is subject to + restrictions set forth in FAR 52.227.19(c)(2) or subparagraph + (c)(1)(ii) of the Rights in Technical Data and Computer Software + clause at DFARS 252.227-7013 and/or in similar or successor + clauses in the FAR or the DOD or NASA FAR Supplement. + Unpublished-- rights reserved under the copyright laws of the + United States. Contractor/manufacturer is Silicon Graphics, + Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311. + +-------------------------------------------------------------------------- + + Mesa Component Licenses: + + Component Files Primary Author License + ---------------------------------------------------------------------------- + core Mesa code src/*.[ch] Brian Paul Mesa + include/GL/gl.h + + GLX driver src/X/* Brian Paul Mesa + include/GL/glx.h + include/GL/xmesa.h + + OS/Mesa driver src/OSmesa/* Brian Paul Mesa + include/GL/osmesa.h + + 3Dfx driver src/FX/* David Bucciarelli Mesa + include/GL/fxmesa.h + + BeOS R4 driver mesa/drivers/beos/ Brian Paul Mesa + + MGL driver include/GL/mglmesa.h SciTech, Inc GNU LGPL + + Windows driver mesa/drivers/windows/ Li Wei GNU LGPL + include/GL/wmesa.h + + SVGA driver mesa/drivers/svga/ Brian Paul GNU LGPL + include/GL/svgamesa.h + + DOS driver mesa/drivers/dos/ Charlie Wallace GNU LGPL + include/GL/dosmesa.h + + GGI driver mesa/drivers/ggi/ Uwe Maurer GNU LGPL + include/GL/ggimesa.h + + GLUT src/glut/* Mark Kilgard Mark's copyright + include/GL/*glut*.h + + GLU library src/glu/* Brian Paul GNU LGPL + + SGI GLU library src/glu/sgi/* SGI SGI Free B + include/GL/glu.h + + Ext registry include/GL/glext.h SGI SGI Free B + include/GL/glxext.h + + demo programs progs/demos/* various see source files + + X demos progs/xdemos/* Brian Paul see source files + + SGI demos progs/samples/* SGI SGI MIT-style + + RedBook demos progs/redbook/* SGI SGI MIT-style + + +On Debian systems the full text of the GNU LGPL license is found in +/usr/share/common-licenses/LGPL. + +------------------------------------------------------------------------------ + +The Debian packaging is (C) 2006, Thierry Reding and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. + --- mesa-7.10.2.orig/debian/libosmesa6.install +++ mesa-7.10.2/debian/libosmesa6.install @@ -0,0 +1,3 @@ +usr/lib/libOSMesa.so.* +usr/lib/libOSMesa16.so.* +usr/lib/libOSMesa32.so.* --- mesa-7.10.2.orig/debian/libopenvg1-mesa-dev.install +++ mesa-7.10.2/debian/libopenvg1-mesa-dev.install @@ -0,0 +1,3 @@ +dri/usr/lib/libOpenVG.so usr/lib +dri/usr/include/VG usr/include +dri/usr/lib/pkgconfig/vg.pc usr/lib/pkgconfig --- mesa-7.10.2.orig/debian/libgl1-mesa-swx11-dev.install +++ mesa-7.10.2/debian/libgl1-mesa-swx11-dev.install @@ -0,0 +1,2 @@ +usr/lib/libGL.a usr/lib/mesa/ +usr/lib/libGL.so usr/lib/mesa/ --- mesa-7.10.2.orig/debian/libgles2-mesa.lintian-overrides +++ mesa-7.10.2/debian/libgles2-mesa.lintian-overrides @@ -0,0 +1 @@ +package-name-doesnt-match-sonames libGLESv2-2 --- mesa-7.10.2.orig/debian/libgl1-mesa-swx11-i686.install +++ mesa-7.10.2/debian/libgl1-mesa-swx11-i686.install @@ -0,0 +1 @@ +usr/lib/i686/cmov/libGL.so.* --- mesa-7.10.2.orig/debian/libgles1-mesa.symbols +++ mesa-7.10.2/debian/libgles1-mesa.symbols @@ -0,0 +1,237 @@ +libGLESv1_CM.so.1 libgles1-mesa #MINVER# | libgles1 +# _glapi_* are internal GL dispatch symbols. They should probably be hidden + (regex)"^_glapi_.*@Base$" 7.8.1 + _glthread_GetID@Base 7.8.1 + glActiveTexture@Base 7.8.1 + glAlphaFunc@Base 7.8.1 + glAlphaFuncx@Base 7.8.1 + glAlphaFuncxOES@Base 7.8.1 + glBindBuffer@Base 7.8.1 + glBindFramebufferOES@Base 7.8.1 + glBindRenderbufferOES@Base 7.8.1 + glBindTexture@Base 7.8.1 + glBlendEquationOES@Base 7.8.1 + glBlendEquationSeparateOES@Base 7.8.1 + glBlendFunc@Base 7.8.1 + glBlendFuncSeparateOES@Base 7.8.1 + glBufferData@Base 7.8.1 + glBufferSubData@Base 7.8.1 + glCheckFramebufferStatusOES@Base 7.8.1 + glClear@Base 7.8.1 + glClearColor@Base 7.8.1 + glClearColorx@Base 7.8.1 + glClearColorxOES@Base 7.8.1 + glClearDepthf@Base 7.8.1 + glClearDepthfOES@Base 7.8.1 + glClearDepthx@Base 7.8.1 + glClearDepthxOES@Base 7.8.1 + glClearStencil@Base 7.8.1 + glClientActiveTexture@Base 7.8.1 + glClipPlanef@Base 7.8.1 + glClipPlanefOES@Base 7.8.1 + glClipPlanex@Base 7.8.1 + glClipPlanexOES@Base 7.8.1 + glColor4f@Base 7.8.1 + glColor4ub@Base 7.8.1 + glColor4x@Base 7.8.1 + glColor4xOES@Base 7.8.1 + glColorMask@Base 7.8.1 + glColorPointer@Base 7.8.1 + glCompressedTexImage2D@Base 7.8.1 + glCompressedTexSubImage2D@Base 7.8.1 + glCopyTexImage2D@Base 7.8.1 + glCopyTexSubImage2D@Base 7.8.1 + glCullFace@Base 7.8.1 + glDeleteBuffers@Base 7.8.1 + glDeleteFramebuffersOES@Base 7.8.1 + glDeleteRenderbuffersOES@Base 7.8.1 + glDeleteTextures@Base 7.8.1 + glDepthFunc@Base 7.8.1 + glDepthMask@Base 7.8.1 + glDepthRangef@Base 7.8.1 + glDepthRangefOES@Base 7.8.1 + glDepthRangex@Base 7.8.1 + glDepthRangexOES@Base 7.8.1 + glDisable@Base 7.8.1 + glDisableClientState@Base 7.8.1 + glDrawArrays@Base 7.8.1 + glDrawElements@Base 7.8.1 + glDrawTexfOES@Base 7.8.1 + glDrawTexfvOES@Base 7.8.1 + glDrawTexiOES@Base 7.8.1 + glDrawTexivOES@Base 7.8.1 + glDrawTexsOES@Base 7.8.1 + glDrawTexsvOES@Base 7.8.1 + glDrawTexxOES@Base 7.8.1 + glDrawTexxvOES@Base 7.8.1 + glEGLImageTargetRenderbufferStorageOES@Base 7.8.1 + glEGLImageTargetTexture2DOES@Base 7.8.1 + glEnable@Base 7.8.1 + glEnableClientState@Base 7.8.1 + glFinish@Base 7.8.1 + glFlush@Base 7.8.1 + glFogf@Base 7.8.1 + glFogfv@Base 7.8.1 + glFogx@Base 7.8.1 + glFogxOES@Base 7.8.1 + glFogxv@Base 7.8.1 + glFogxvOES@Base 7.8.1 + glFramebufferRenderbufferOES@Base 7.8.1 + glFramebufferTexture2DOES@Base 7.8.1 + glFrontFace@Base 7.8.1 + glFrustumf@Base 7.8.1 + glFrustumfOES@Base 7.8.1 + glFrustumx@Base 7.8.1 + glFrustumxOES@Base 7.8.1 + glGenBuffers@Base 7.8.1 + glGenFramebuffersOES@Base 7.8.1 + glGenRenderbuffersOES@Base 7.8.1 + glGenTextures@Base 7.8.1 + glGenerateMipmapOES@Base 7.8.1 + glGetBooleanv@Base 7.8.1 + glGetBufferParameteriv@Base 7.8.1 + glGetBufferPointervOES@Base 7.8.1 + glGetClipPlanef@Base 7.8.1 + glGetClipPlanefOES@Base 7.8.1 + glGetClipPlanex@Base 7.8.1 + glGetClipPlanexOES@Base 7.8.1 + glGetError@Base 7.8.1 + glGetFixedv@Base 7.8.1 + glGetFixedvOES@Base 7.8.1 + glGetFloatv@Base 7.8.1 + glGetFramebufferAttachmentParameterivOES@Base 7.8.1 + glGetIntegerv@Base 7.8.1 + glGetLightfv@Base 7.8.1 + glGetLightxv@Base 7.8.1 + glGetLightxvOES@Base 7.8.1 + glGetMaterialfv@Base 7.8.1 + glGetMaterialxv@Base 7.8.1 + glGetMaterialxvOES@Base 7.8.1 + glGetPointerv@Base 7.8.1 + glGetRenderbufferParameterivOES@Base 7.8.1 + glGetString@Base 7.8.1 + glGetTexEnvfv@Base 7.8.1 + glGetTexEnviv@Base 7.8.1 + glGetTexEnvxv@Base 7.8.1 + glGetTexEnvxvOES@Base 7.8.1 + glGetTexGenfvOES@Base 7.8.1 + glGetTexGenivOES@Base 7.8.1 + glGetTexGenxvOES@Base 7.8.1 + glGetTexParameterfv@Base 7.8.1 + glGetTexParameteriv@Base 7.8.1 + glGetTexParameterxv@Base 7.8.1 + glGetTexParameterxvOES@Base 7.8.1 + glHint@Base 7.8.1 + glIsBuffer@Base 7.8.1 + glIsEnabled@Base 7.8.1 + glIsFramebufferOES@Base 7.8.1 + glIsRenderbufferOES@Base 7.8.1 + glIsTexture@Base 7.8.1 + glLightModelf@Base 7.8.1 + glLightModelfv@Base 7.8.1 + glLightModelx@Base 7.8.1 + glLightModelxOES@Base 7.8.1 + glLightModelxv@Base 7.8.1 + glLightModelxvOES@Base 7.8.1 + glLightf@Base 7.8.1 + glLightfv@Base 7.8.1 + glLightx@Base 7.8.1 + glLightxOES@Base 7.8.1 + glLightxv@Base 7.8.1 + glLightxvOES@Base 7.8.1 + glLineWidth@Base 7.8.1 + glLineWidthx@Base 7.8.1 + glLineWidthxOES@Base 7.8.1 + glLoadIdentity@Base 7.8.1 + glLoadMatrixf@Base 7.8.1 + glLoadMatrixx@Base 7.8.1 + glLoadMatrixxOES@Base 7.8.1 + glLogicOp@Base 7.8.1 + glMapBufferOES@Base 7.8.1 + glMaterialf@Base 7.8.1 + glMaterialfv@Base 7.8.1 + glMaterialx@Base 7.8.1 + glMaterialxOES@Base 7.8.1 + glMaterialxv@Base 7.8.1 + glMaterialxvOES@Base 7.8.1 + glMatrixMode@Base 7.8.1 + glMultMatrixf@Base 7.8.1 + glMultMatrixx@Base 7.8.1 + glMultMatrixxOES@Base 7.8.1 + glMultiDrawArraysEXT@Base 7.8.1 + glMultiDrawElementsEXT@Base 7.8.1 + glMultiTexCoord4f@Base 7.8.1 + glMultiTexCoord4x@Base 7.8.1 + glMultiTexCoord4xOES@Base 7.8.1 + glNormal3f@Base 7.8.1 + glNormal3x@Base 7.8.1 + glNormal3xOES@Base 7.8.1 + glNormalPointer@Base 7.8.1 + glOrthof@Base 7.8.1 + glOrthofOES@Base 7.8.1 + glOrthox@Base 7.8.1 + glOrthoxOES@Base 7.8.1 + glPixelStorei@Base 7.8.1 + glPointParameterf@Base 7.8.1 + glPointParameterfv@Base 7.8.1 + glPointParameterx@Base 7.8.1 + glPointParameterxOES@Base 7.8.1 + glPointParameterxv@Base 7.8.1 + glPointParameterxvOES@Base 7.8.1 + glPointSize@Base 7.8.1 + glPointSizePointerOES@Base 7.8.1 + glPointSizex@Base 7.8.1 + glPointSizexOES@Base 7.8.1 + glPolygonOffset@Base 7.8.1 + glPolygonOffsetx@Base 7.8.1 + glPolygonOffsetxOES@Base 7.8.1 + glPopMatrix@Base 7.8.1 + glPushMatrix@Base 7.8.1 + glQueryMatrixxOES@Base 7.8.1 + glReadPixels@Base 7.8.1 + glRenderbufferStorageOES@Base 7.8.1 + glRotatef@Base 7.8.1 + glRotatex@Base 7.8.1 + glRotatexOES@Base 7.8.1 + glSampleCoverage@Base 7.8.1 + glSampleCoveragex@Base 7.8.1 + glSampleCoveragexOES@Base 7.8.1 + glScalef@Base 7.8.1 + glScalex@Base 7.8.1 + glScalexOES@Base 7.8.1 + glScissor@Base 7.8.1 + glShadeModel@Base 7.8.1 + glStencilFunc@Base 7.8.1 + glStencilMask@Base 7.8.1 + glStencilOp@Base 7.8.1 + glTexCoordPointer@Base 7.8.1 + glTexEnvf@Base 7.8.1 + glTexEnvfv@Base 7.8.1 + glTexEnvi@Base 7.8.1 + glTexEnviv@Base 7.8.1 + glTexEnvx@Base 7.8.1 + glTexEnvxOES@Base 7.8.1 + glTexEnvxv@Base 7.8.1 + glTexEnvxvOES@Base 7.8.1 + glTexGenfOES@Base 7.8.1 + glTexGenfvOES@Base 7.8.1 + glTexGeniOES@Base 7.8.1 + glTexGenivOES@Base 7.8.1 + glTexGenxOES@Base 7.8.1 + glTexGenxvOES@Base 7.8.1 + glTexImage2D@Base 7.8.1 + glTexParameterf@Base 7.8.1 + glTexParameterfv@Base 7.8.1 + glTexParameteri@Base 7.8.1 + glTexParameteriv@Base 7.8.1 + glTexParameterx@Base 7.8.1 + glTexParameterxOES@Base 7.8.1 + glTexParameterxv@Base 7.8.1 + glTexParameterxvOES@Base 7.8.1 + glTexSubImage2D@Base 7.8.1 + glTranslatef@Base 7.8.1 + glTranslatex@Base 7.8.1 + glTranslatexOES@Base 7.8.1 + glUnmapBufferOES@Base 7.8.1 + glVertexPointer@Base 7.8.1 + glViewport@Base 7.8.1 --- mesa-7.10.2.orig/debian/libgl1-mesa-swx11.install +++ mesa-7.10.2/debian/libgl1-mesa-swx11.install @@ -0,0 +1 @@ +usr/lib/libGL.so.* usr/lib/mesa/ --- mesa-7.10.2.orig/debian/patches/114_intel_dri_renderer_string.diff +++ mesa-7.10.2/debian/patches/114_intel_dri_renderer_string.diff @@ -0,0 +1,27 @@ +Description: Re-add "GEM" to the dri renderer string of the intel driver. + Removing it breaks KDE's detection for the blur effect. + Should be dropped with mesa 7.11 +Bug-Ubuntu: https://bugs.launchpad.net/bugs/753370 + +--- a/src/mesa/drivers/dri/intel/intel_context.c ++++ b/src/mesa/drivers/dri/intel/intel_context.c +@@ -62,6 +62,10 @@ + #endif + + ++#define DRIVER_DATE "20100330 DEVELOPMENT" ++#define DRIVER_DATE_GEM "GEM " DRIVER_DATE ++ ++ + static const GLubyte * + intelGetString(struct gl_context * ctx, GLenum name) + { +@@ -178,7 +182,7 @@ + break; + } + +- (void) driGetRendererString(buffer, chipset, "", 0); ++ (void) driGetRendererString(buffer, chipset, DRIVER_DATE_GEM, 0); + return (GLubyte *) buffer; + + default: --- mesa-7.10.2.orig/debian/patches/103_savage-expose_fbmodes_with_nonzero_alpha.patch +++ mesa-7.10.2/debian/patches/103_savage-expose_fbmodes_with_nonzero_alpha.patch @@ -0,0 +1,81 @@ +Index: mesa/src/mesa/drivers/dri/savage/savage_xmesa.c +=================================================================== +--- mesa.orig/src/mesa/drivers/dri/savage/savage_xmesa.c 2011-01-24 18:31:53.000000000 +1100 ++++ mesa/src/mesa/drivers/dri/savage/savage_xmesa.c 2011-01-24 18:42:07.157623000 +1100 +@@ -61,6 +61,8 @@ + + #include "xmlpool.h" + ++#define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) ++ + /* Driver-specific options + */ + #define SAVAGE_ENABLE_VDMA(def) \ +@@ -891,11 +893,11 @@ + unsigned stencil_bits, GLboolean have_back_buffer ) + { + __DRIconfig **configs; ++ __DRIconfig **configs_a8r8g8b8; ++ __DRIconfig **configs_x8r8g8b8; + struct gl_config * m; + unsigned depth_buffer_factor; + unsigned back_buffer_factor; +- GLenum fb_format; +- GLenum fb_type; + int i; + + /* Right now GLX_SWAP_COPY_OML isn't supported, but it would be easy +@@ -914,6 +916,11 @@ + uint8_t stencil_bits_array[2]; + uint8_t msaa_samples_array[1]; + ++ /* This being a DRI1 driver the depth buffer is always allocated, ++ * so it does not make sense to expose visuals without it. If this ++ * driver ever gets ported to DRI2 the first array value should be ++ * changed to 0 to expose modes without a depth buffer. ++ */ + depth_bits_array[0] = depth_bits; + depth_bits_array[1] = depth_bits; + +@@ -930,19 +937,32 @@ + back_buffer_factor = (have_back_buffer) ? 2 : 1; + + if ( pixel_bits == 16 ) { +- fb_format = GL_RGB; +- fb_type = GL_UNSIGNED_SHORT_5_6_5; ++ configs = driCreateConfigs(GL_RGB, GL_UNSIGNED_SHORT_5_6_5, ++ depth_bits_array, stencil_bits_array, ++ depth_buffer_factor, ++ back_buffer_modes, back_buffer_factor, ++ msaa_samples_array, 1, GL_TRUE); + } + else { +- fb_format = GL_BGR; +- fb_type = GL_UNSIGNED_INT_8_8_8_8_REV; ++ configs_a8r8g8b8 = driCreateConfigs(GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, ++ depth_bits_array, ++ stencil_bits_array, ++ depth_buffer_factor, ++ back_buffer_modes, ++ back_buffer_factor, ++ msaa_samples_array, 1, ++ GL_TRUE); ++ configs_x8r8g8b8 = driCreateConfigs(GL_BGR, GL_UNSIGNED_INT_8_8_8_8_REV, ++ depth_bits_array, ++ stencil_bits_array, ++ depth_buffer_factor, ++ back_buffer_modes, ++ back_buffer_factor, ++ msaa_samples_array, 1, ++ GL_TRUE); ++ configs = driConcatConfigs(configs_a8r8g8b8, configs_x8r8g8b8); + } + +- configs = driCreateConfigs(fb_format, fb_type, +- depth_bits_array, stencil_bits_array, +- depth_buffer_factor, +- back_buffer_modes, back_buffer_factor, +- msaa_samples_array, 1, GL_TRUE); + if (configs == NULL) { + fprintf( stderr, "[%s:%u] Error creating FBConfig!\n", + __func__, __LINE__ ); --- mesa-7.10.2.orig/debian/patches/104_i915_fragment_shader_disable.patch +++ mesa-7.10.2/debian/patches/104_i915_fragment_shader_disable.patch @@ -0,0 +1,26 @@ +From e5a4106be7c8b87821f6b5d21fec99a402825740 Mon Sep 17 00:00:00 2001 +From: Robert Hooker +Date: Wed, 8 Sep 2010 12:33:09 -0400 +Subject: [PATCH] Revert "i915: Enable ARB_fragment_shader by default." + +This reverts commit a58514cc9c5cc5867f9140700462c5ac5749550d. +--- + src/mesa/drivers/dri/intel/intel_screen.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/src/mesa/drivers/dri/intel/intel_screen.c b/src/mesa/drivers/dri/intel/intel_screen.c +index 0a542a7..8ae2cd2 100644 +--- a/src/mesa/drivers/dri/intel/intel_screen.c ++++ b/src/mesa/drivers/dri/intel/intel_screen.c +@@ -70,7 +70,7 @@ PUBLIC const char __driConfigOptions[] = + DRI_CONF_DESC(en, "Enable early Z in classic mode (unstable, 945-only).") + DRI_CONF_OPT_END + +- DRI_CONF_OPT_BEGIN(fragment_shader, bool, true) ++ DRI_CONF_OPT_BEGIN(fragment_shader, bool, false) + DRI_CONF_DESC(en, "Enable limited ARB_fragment_shader support on 915/945.") + DRI_CONF_OPT_END + +-- +1.7.2 + --- mesa-7.10.2.orig/debian/patches/115_fix_dri2_errors_when_indirect.diff +++ mesa-7.10.2/debian/patches/115_fix_dri2_errors_when_indirect.diff @@ -0,0 +1,36 @@ +commit fbc2fcf685d22ec9bc9465e1f731529979497eaa +Author: Christopher James Halse Rogers +Date: Thu Aug 4 12:06:13 2011 +1000 + + glx/dri2: Paper over errors in DRI2Connect when indirect + + DRI2 will throw BadRequest for this when the client is not local, but + DRI2 is an implementation detail and not something callers should have + to know about. Silently swallow errors in this case, and just propagate + the failure through DRI2Connect's return code. + + Note: This is a candidate for the stable release branches. + + Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=28125 + Signed-off-by: Christopher James Halse Rogers + +diff --git a/src/glx/dri2.c b/src/glx/dri2.c +index 229840d..b1b5013 100644 +--- a/src/glx/dri2.c ++++ b/src/glx/dri2.c +@@ -190,6 +190,15 @@ DRI2Error(Display *display, xError *err, XExtCodes *codes, int *ret_code) + err->minorCode == X_DRI2DestroyDrawable) + return True; + ++ /* If the server is non-local DRI2Connect will raise BadRequest. ++ * Swallow this so that DRI2Connect can signal this in its return code */ ++ if (err->majorCode == codes->major_opcode && ++ err->minorCode == X_DRI2Connect && ++ err->errorCode == BadRequest) { ++ *ret_code = False; ++ return True; ++ } ++ + return False; + } + --- mesa-7.10.2.orig/debian/patches/112_fix_segfault_on_nvAF.diff +++ mesa-7.10.2/debian/patches/112_fix_segfault_on_nvAF.diff @@ -0,0 +1,47 @@ +Subject: [Nouveau] [PATCH] gallium/nv50: use 0x8697 class on NVAF +Upstream: No (but fixed in mesa master, so drop after 7.10) +Addresses: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-nouveau/+bug/723012 + +Reported-and-tested-by: Alan Pope +--- + src/gallium/drivers/nv50/nv50_reg.h | 4 ++++ + src/gallium/drivers/nv50/nv50_screen.c | 3 +++ + 2 files changed, 7 insertions(+), 0 deletions(-) + +diff --git a/src/gallium/drivers/nv50/nv50_reg.h b/src/gallium/drivers/nv50/nv50_reg.h +index 949838b..90d77e5 100644 +--- a/src/gallium/drivers/nv50/nv50_reg.h ++++ b/src/gallium/drivers/nv50/nv50_reg.h +@@ -1685,6 +1685,10 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + + ++#define NVAFTCL 0x00008697 ++ ++ ++ + #define NV50_COMPUTE 0x000050c0 + + #define NV50_COMPUTE_NOP 0x00000100 +diff --git a/src/gallium/drivers/nv50/nv50_screen.c b/src/gallium/drivers/nv50/nv50_screen.c +index edc3d54..8069509 100644 +--- a/src/gallium/drivers/nv50/nv50_screen.c ++++ b/src/gallium/drivers/nv50/nv50_screen.c +@@ -389,6 +389,9 @@ nv50_screen_create(struct pipe_winsys *ws, struct nouveau_device *dev) + case 0xac: + tesla_class = NVA0TCL; + break; ++ case 0xaf: ++ tesla_class = NVAFTCL; ++ break; + default: + tesla_class = NVA8TCL; + break; +-- +1.7.4.rc3 + +_______________________________________________ +Nouveau mailing list +Nouveau@lists.freedesktop.org +http://lists.freedesktop.org/mailman/listinfo/nouveau + --- mesa-7.10.2.orig/debian/patches/105_use_shared_libdricore.patch +++ mesa-7.10.2/debian/patches/105_use_shared_libdricore.patch @@ -0,0 +1,469 @@ +commit 2bf2b08a97a65327bfb9d511f3cc6792aa560cbc +Author: Christopher James Halse Rogers +Date: Wed Nov 17 14:28:34 2010 +1100 + + mesa: Optionally build a dricore support library. + + This an adds --enable-shared-dricore option to configure. When enabled, + DRI modules will link against a shared copy of the common mesa routines + rather than statically linking these. + + This saves about 30MB on disc with a full complement of classic DRI + drivers. + +Index: mesa/configs/autoconf.in +=================================================================== +--- mesa.orig/configs/autoconf.in 2011-04-11 11:17:43.692242067 +1000 ++++ mesa/configs/autoconf.in 2011-04-11 11:18:11.463257267 +1000 +@@ -33,6 +33,8 @@ + LLVM_LIBS = @LLVM_LIBS@ + GLW_CFLAGS = @GLW_CFLAGS@ + GLUT_CFLAGS = @GLUT_CFLAGS@ ++DRI_CFLAGS = @DRI_CFLAGS@ ++DRI_CXXFLAGS = @DRI_CXXFLAGS@ + + # dlopen + DLOPEN_LIBS = @DLOPEN_LIBS@ +@@ -100,7 +102,10 @@ + GALLIUM_DRIVERS = $(foreach DIR,$(GALLIUM_DRIVERS_DIRS),$(TOP)/src/gallium/drivers/$(DIR)/lib$(DIR).a) + + # Driver specific build vars +-DRI_DIRS = @DRI_DIRS@ ++DRI_DIRS = @DRI_DIRS@ ++DRICORE_GLSL_LIBS = @DRICORE_GLSL_LIBS@ ++DRICORE_LIBS = @DRICORE_LIBS@ ++DRICORE_LIB_DEPS = @DRICORE_LIB_DEPS@ + EGL_PLATFORMS = @EGL_PLATFORMS@ + EGL_CLIENT_APIS = @EGL_CLIENT_APIS@ + +@@ -128,6 +133,7 @@ + VG_LIB_DEPS = $(EXTRA_LIB_PATH) @VG_LIB_DEPS@ + + # DRI dependencies ++MESA_MODULES = @MESA_MODULES@ + DRI_LIB_DEPS = $(EXTRA_LIB_PATH) @DRI_LIB_DEPS@ + LIBDRM_CFLAGS = @LIBDRM_CFLAGS@ + LIBDRM_LIB = @LIBDRM_LIBS@ +Index: mesa/configs/default +=================================================================== +--- mesa.orig/configs/default 2011-04-11 11:17:43.722243160 +1000 ++++ mesa/configs/default 2011-04-11 11:18:11.463257267 +1000 +@@ -82,6 +82,9 @@ + GLESv2_LIB_GLOB = $(GLESv2_LIB_NAME)* + VG_LIB_GLOB = $(VG_LIB_NAME)* + ++DRI_CFLAGS = $(CFLAGS) ++DRI_CXXFLAGS = $(CXXFLAGS) ++ + # Optional assembly language optimization files for libGL + MESA_ASM_SOURCES = + +Index: mesa/configs/freebsd-dri +=================================================================== +--- mesa.orig/configs/freebsd-dri 2011-04-11 11:17:43.702242435 +1000 ++++ mesa/configs/freebsd-dri 2011-04-11 11:18:11.463257267 +1000 +@@ -30,9 +30,11 @@ + MESA_ASM_SOURCES = + + # Library/program dependencies ++MESA_MODULES = $(TOP)/src/mesa/libmesa.a ++ + LIBDRM_CFLAGS = `pkg-config --cflags libdrm` + LIBDRM_LIB = `pkg-config --libs libdrm` +-DRI_LIB_DEPS = -L/usr/local/lib -lm -pthread -lexpat $(LIBDRM_LIB) ++DRI_LIB_DEPS = $(MESA_MODULES) -L/usr/local/lib -lm -pthread -lexpat $(LIBDRM_LIB) + GL_LIB_DEPS = -L/usr/local/lib -lX11 -lXext -lXxf86vm -lXdamage -lXfixes \ + -lm -pthread $(LIBDRM_LIB) + +Index: mesa/configs/linux-dri +=================================================================== +--- mesa.orig/configs/linux-dri 2011-04-11 11:17:43.662240971 +1000 ++++ mesa/configs/linux-dri 2011-04-11 11:18:11.473257629 +1000 +@@ -43,9 +43,11 @@ + # Library/program dependencies + EXTRA_LIB_PATH=-L/usr/X11R6/lib + ++MESA_MODULES = $(TOP)/src/mesa/libmesa.a ++ + LIBDRM_CFLAGS = $(shell pkg-config --cflags libdrm) + LIBDRM_LIB = $(shell pkg-config --libs libdrm) +-DRI_LIB_DEPS = $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl $(LIBDRM_LIB) ++DRI_LIB_DEPS = $(MESA_MODULES) $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl $(LIBDRM_LIB) + GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lXdamage -lXfixes \ + -lm -lpthread -ldl $(LIBDRM_LIB) + +Index: mesa/configs/linux-dri-xcb +=================================================================== +--- mesa.orig/configs/linux-dri-xcb 2011-04-11 11:17:43.682241704 +1000 ++++ mesa/configs/linux-dri-xcb 2011-04-11 11:18:11.473257629 +1000 +@@ -41,9 +41,11 @@ + # Library/program dependencies + EXTRA_LIB_PATH=$(shell pkg-config --libs-only-L x11) + ++MESA_MODULES = $(TOP)/src/mesa/libmesa.a ++ + LIBDRM_CFLAGS = $(shell pkg-config --cflags libdrm) + LIBDRM_LIB = $(shell pkg-config --libs libdrm) +-DRI_LIB_DEPS = $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl $(LIBDRM_LIB) ++DRI_LIB_DEPS = $(MESA_MODULES) $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl $(LIBDRM_LIB) + GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lm -lpthread -ldl \ + $(LIBDRM_LIB) $(shell pkg-config --libs xcb) $(shell pkg-config --libs x11-xcb) $(shell pkg-config --libs xcb-glx) + +Index: mesa/configs/linux-egl +=================================================================== +--- mesa.orig/configs/linux-egl 2011-04-11 11:17:43.732243530 +1000 ++++ mesa/configs/linux-egl 2011-04-11 11:18:11.473257629 +1000 +@@ -38,9 +38,11 @@ + # Library/program dependencies + EXTRA_LIB_PATH=-L/usr/X11R6/lib + ++MESA_MODULES = $(TOP)/src/mesa/libmesa.a ++ + LIBDRM_CFLAGS = $(shell pkg-config --cflags libdrm) + LIBDRM_LIB = $(shell pkg-config --libs libdrm) +-DRI_LIB_DEPS = $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl $(LIBDRM_LIB) ++DRI_LIB_DEPS = $(MESA_MODULES) $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl $(LIBDRM_LIB) + GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lXdamage -lXfixes \ + -lm -lpthread -ldl \ + $(LIBDRM_LIB) +Index: mesa/configs/linux-indirect +=================================================================== +--- mesa.orig/configs/linux-indirect 2011-04-11 11:17:43.742243890 +1000 ++++ mesa/configs/linux-indirect 2011-04-11 11:18:11.473257629 +1000 +@@ -42,7 +42,8 @@ + # Library/program dependencies + EXTRA_LIB_PATH=-L/usr/X11R6/lib + +-DRI_LIB_DEPS = $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl ++MESA_MODULES = $(TOP)/src/mesa/libmesa.a ++DRI_LIB_DEPS = $(MESA_MODULES) $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl + GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lm -lpthread -ldl + + +Index: mesa/configure.ac +=================================================================== +--- mesa.orig/configure.ac 2011-04-11 11:18:08.543150386 +1000 ++++ mesa/configure.ac 2011-04-11 11:20:12.507714770 +1000 +@@ -801,6 +801,34 @@ + AC_SUBST([GLESv2_PC_LIB_PRIV]) + + ++AC_ARG_ENABLE([shared-dricore], ++ [AS_HELP_STRING([--enable-shared-dricore], ++ [link DRI modules with shared core DRI routines @<:@default=disabled@:>@])], ++ [enable_dricore="$enableval"], ++ [enable_dricore=no]) ++if test "$mesa_driver" = dri ; then ++ if test "$enable_dricore" = yes ; then ++ DRICORE_GLSL_LIBS='$(TOP)/$(LIB_DIR)/libglsl.so' ++ DRICORE_LIBS='$(TOP)/$(LIB_DIR)/libdricore.so' ++ DRICORE_LIB_DEPS='-L$(TOP)/$(LIB_DIR) -Wl,-R$(DRI_DRIVER_INSTALL_DIR) -lglsl' ++ DRI_LIB_DEPS='-L$(TOP)/$(LIB_DIR) -Wl,--rpath=$(DRI_DRIVER_SEARCH_DIR) -ldricore -lglsl' ++ DRI_CFLAGS='$(filter-out -fvisibility=hidden,$(CFLAGS)) -DUSE_DRICORE' ++ DRI_CXXFLAGS='$(filter-out -fvisibility=hidden,$(CXXFLAGS)) -DUSE_DRICORE' ++ MESA_MODULES='$(DRICORE_LIBS) $(DRICORE_GLSL_LIBS)' ++ else ++ DRI_CFLAGS='$(CFLAGS)' ++ DRI_CXXFLAGS='$(CXXFLAGS)' ++ DRI_LIB_DEPS='$(TOP)/src/mesa/libmesa.a' ++ MESA_MODULES='$(TOP)/src/mesa/libmesa.a' ++ fi ++fi ++AC_SUBST([DRICORE_LIBS]) ++AC_SUBST([DRICORE_GLSL_LIBS]) ++AC_SUBST([DRICORE_LIB_DEPS]) ++AC_SUBST([DRI_CXXFLAGS]) ++AC_SUBST([DRI_CFLAGS]) ++AC_SUBST([MESA_MODULES]) ++ + AC_SUBST([HAVE_XF86VIDMODE]) + + PKG_CHECK_MODULES([LIBDRM_RADEON], +@@ -962,8 +990,8 @@ + [AC_MSG_ERROR([Expat required for DRI.])]) + fi + +- # put all the necessary libs together +- DRI_LIB_DEPS="$SELINUX_LIBS $LIBDRM_LIBS $EXPAT_LIB -lm -lpthread $DLOPEN_LIBS" ++ # put all the necessary libs together, including possibly libdricore ++ DRI_LIB_DEPS="$DRI_LIB_DEPS $SELINUX_LIBS $LIBDRM_LIBS $EXPAT_LIB -lm -lpthread $DLOPEN_LIBS" + fi + AC_SUBST([DRI_DIRS]) + AC_SUBST([EXPAT_INCLUDES]) +Index: mesa/src/glsl/Makefile +=================================================================== +--- mesa.orig/src/glsl/Makefile 2011-04-11 11:17:43.652240611 +1000 ++++ mesa/src/glsl/Makefile 2011-04-11 11:18:11.473257629 +1000 +@@ -112,6 +112,9 @@ + $(C_SOURCES:.c=.o) \ + $(CXX_SOURCES:.cpp=.o) + ++DRICORE_OBJ_DIR = obj-visible ++OBJECTS_DRICORE = $(addprefix $(DRICORE_OBJ_DIR)/,$(OBJECTS)) ++ + INCLUDES = \ + -I. \ + -I../mesa \ +@@ -127,7 +130,14 @@ + + ##### TARGETS ##### + +-default: depend lib$(LIBNAME).a $(APPS) ++default: depend lib$(LIBNAME).a $(APPS) $(DRICORE_GLSL_LIBS) ++ ++libglsl.so : $(OBJECTS_DRICORE) Makefile ++ $(MKLIB) -cplusplus -noprefix -o $@ $(OBJECTS_DRICORE) ++ ++$(TOP)/$(LIB_DIR)/libglsl.so: libglsl.so ++ $(INSTALL) -d $(TOP)/$(LIB_DIR) ++ $(INSTALL) -m 755 libglsl.so $(TOP)/$(LIB_DIR) + + lib$(LIBNAME).a: $(OBJECTS) Makefile $(TOP)/src/glsl/Makefile.template + $(MKLIB) -cplusplus -o $(LIBNAME) -static $(OBJECTS) +@@ -161,6 +171,14 @@ + .c.o: + $(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@ + ++$(DRICORE_OBJ_DIR)/%.o : %.cpp ++ @mkdir -p $(dir $@) ++ $(CXX) -c $(INCLUDES) $(DRI_CXXFLAGS) $(DEFINES) $< -o $@ ++ ++$(DRICORE_OBJ_DIR)/%.o : %.c ++ @mkdir -p $(dir $@) ++ $(CC) -c $(INCLUDES) $(DRI_CFLAGS) $(DEFINES) $< -o $@ ++ + glsl_lexer.cpp: glsl_lexer.lpp + flex --nounistd -o$@ $< + +Index: mesa/src/mesa/Makefile +=================================================================== +--- mesa.orig/src/mesa/Makefile 2011-04-11 11:17:43.592238416 +1000 ++++ mesa/src/mesa/Makefile 2011-04-11 11:18:11.473257629 +1000 +@@ -15,6 +15,7 @@ + MESA_OBJ_DIR := . + ES1_OBJ_DIR := objs-es1 + ES2_OBJ_DIR := objs-es2 ++DRICORE_OBJ_DIR := objs-dricore + + + include sources.mak +@@ -23,6 +24,7 @@ + ES1_OBJECTS := $(addprefix $(ES1_OBJ_DIR)/, $(MESA_OBJECTS)) + ES2_OBJECTS := $(addprefix $(ES2_OBJ_DIR)/, $(MESA_OBJECTS)) + MESA_OBJECTS := $(addprefix $(MESA_OBJ_DIR)/, $(MESA_OBJECTS)) ++DRICORE_OBJECTS := $(addprefix $(DRICORE_OBJ_DIR)/, $(MESA_OBJECTS)) + + ES1_GALLIUM_OBJECTS := $(addprefix $(ES1_OBJ_DIR)/, $(MESA_GALLIUM_OBJECTS)) + ES2_GALLIUM_OBJECTS := $(addprefix $(ES2_OBJ_DIR)/, $(MESA_GALLIUM_OBJECTS)) +@@ -32,6 +34,7 @@ + MESA_CPPFLAGS := $(API_DEFINES) $(DEFINES) + ES1_CPPFLAGS := -DFEATURE_ES1=1 $(DEFINES) + ES2_CPPFLAGS := -DFEATURE_ES2=1 $(DEFINES) ++DRICORE_CPPFLAGS = $(MESA_CPPFLAGS) + + # append include dirs + MESA_CPPFLAGS += $(INCLUDE_DIRS) +@@ -43,18 +46,24 @@ + CXXFLAGS := $(filter-out $(DEFINES), $(CXXFLAGS)) + + # LLVM is needed for the state tracker +-MESA_CFLAGS := $(LLVM_CFLAGS) +-ES1_CFLAGS := $(LLVM_CFLAGS) +-ES2_CFLAGS := $(LLVM_CFLAGS) ++MESA_CFLAGS := $(LLVM_CFLAGS) $(CFLAGS) ++ES1_CFLAGS := $(LLVM_CFLAGS) $(CFLAGS) ++ES2_CFLAGS := $(LLVM_CFLAGS) $(CFLAGS) ++DRICORE_CFLAGS := $(LLVM_CFLAGS) $(DRI_CFLAGS) ++ ++MESA_CXXFLAGS := $(LLVM_CFLAGS) $(CXXFLAGS) ++ES1_CXXFLAGS := $(LLVM_CFLAGS) $(CXXFLAGS) ++ES2_CXXFLAGS := $(LLVM_CFLAGS) $(CXXFLAGS) ++DRICORE_CXXFLAGS := $(LLVM_CFLAGS) $(DRI_CXXFLAGS) + + define mesa-cc-c + @mkdir -p $(dir $@) +- $(CC) -c -o $@ $< $($(1)_CPPFLAGS) $($(1)_CFLAGS) $(CFLAGS) ++ $(CC) -c -o $@ $< $($(1)_CPPFLAGS) $($(1)_CFLAGS) + endef + + define mesa-cxx-c + @mkdir -p $(dir $@) +- $(CXX) -c -o $@ $< $($(1)_CPPFLAGS) $($(1)_CFLAGS) $(CXXFLAGS) ++ $(CXX) -c -o $@ $< $($(1)_CPPFLAGS) $($(1)_CFLAGS) + endef + + $(MESA_OBJ_DIR)/%.o: %.c +@@ -84,11 +93,20 @@ + $(ES2_OBJ_DIR)/%.o: %.S + $(call mesa-cc-c,ES2) + ++$(DRICORE_OBJ_DIR)/%.o: %.c ++ $(call mesa-cc-c,DRICORE) ++ ++$(DRICORE_OBJ_DIR)/%.o: %.cpp ++ $(call mesa-cxx-c,DRICORE) ++ ++$(DRICORE_OBJ_DIR)/%.o: %.S ++ $(call mesa-cc-c,DRICORE) ++ + + # Default: build dependencies, then asm_subdirs, GLSL built-in lib, + # then convenience libs (.a) and finally the device drivers: + default: $(DEPENDS) asm_subdirs \ +- $(MESA_LIBS) $(ES1_LIBS) $(ES2_LIBS) driver_subdirs ++ $(MESA_LIBS) $(ES1_LIBS) $(ES2_LIBS) $(DRICORE_LIBS) driver_subdirs + + main/api_exec_es1.c: main/APIspec.xml main/es_generator.py main/APIspecutil.py main/APIspec.py + $(PYTHON2) $(PYTHON_FLAGS) main/es_generator.py -S main/APIspec.xml -V GLES1.1 > $@ +@@ -109,6 +127,15 @@ + libes2.a: $(ES2_OBJECTS) $(GLSL_LIBS) + @$(MKLIB) -o es2 -static $(ES2_OBJECTS) $(GLSL_LIBS) + ++# Shared dricore library for classic DRI drivers ++libdricore.so: $(DRICORE_OBJECTS) $(DRICORE_GLSL_LIBS) ++ @$(MKLIB) -o libdricore.so -noprefix -cplusplus \ ++ $(DRICORE_LIB_DEPS) $(DRICORE_OBJECTS) ++ ++$(TOP)/$(LIB_DIR)/libdricore.so: libdricore.so ++ @$(INSTALL) -d $(TOP)/$(LIB_DIR) ++ @$(INSTALL) -m 755 libdricore.so $(TOP)/$(LIB_DIR) ++ + # Make archive of subset of core mesa object files for gallium + libmesagallium.a: $(MESA_GALLIUM_OBJECTS) $(GLSL_LIBS) + @ $(MKLIB) -o mesagallium -static $(MESA_GALLIUM_OBJECTS) $(GLSL_LIBS) +@@ -121,7 +148,7 @@ + + ###################################################################### + # Device drivers +-driver_subdirs: $(MESA_LIBS) ++driver_subdirs: $(MESA_LIBS) $(DRICORE_LIBS) + @ (cd drivers && $(MAKE)) + + +@@ -165,9 +192,12 @@ + new_install: + (cd drivers && $(MAKE) install) + ++ifneq (,$(DRICORE_LIBS)) ++DRICORE_INSTALL_TARGET = install-dricore ++endif + + # XXX replace this with new_install above someday +-install: default ++install: default $(DRICORE_INSTALL_TARGET) + @for driver in $(DRIVER_DIRS) ; do \ + case "$$driver" in \ + osmesa) if [ "$(DRIVER_DIRS)" = osmesa ]; then \ +@@ -229,6 +259,12 @@ + cd drivers/dri && $(MAKE) install + + ++install-dricore: default ++ $(INSTALL) -d $(DESTDIR)$(DRI_DRIVER_INSTALL_DIR) ++ $(INSTALL) -m 755 $(DRICORE_LIBS) $(DESTDIR)$(DRI_DRIVER_INSTALL_DIR) ++ $(INSTALL) -m 755 $(DRICORE_GLSL_LIBS) $(DESTDIR)$(DRI_DRIVER_INSTALL_DIR$) ++ ++ + + # Emacs tags + tags: +@@ -244,7 +280,12 @@ + -rm -rf $(ES2_OBJ_DIR) + -rm -f depend.es2 depend.es2.bak + +-clean: clean-es1 clean-es2 ++clean-dricore: ++ -rm -f libdricore.so ++ -rm -f $(DRICORE_LIBS) ++ -rm -rf $(DRICORE_OBJ_DIR) ++ ++clean: clean-es1 clean-es2 clean-dricore + -rm -f */*.o + -rm -f */*/*.o + -rm -f depend depend.bak libmesa.a libmesagallium.a +Index: mesa/src/mesa/drivers/dri/Makefile.template +=================================================================== +--- mesa.orig/src/mesa/drivers/dri/Makefile.template 2011-04-11 11:17:43.622239515 +1000 ++++ mesa/src/mesa/drivers/dri/Makefile.template 2011-04-11 11:18:11.473257629 +1000 +@@ -1,7 +1,5 @@ + # -*-makefile-*- + +-MESA_MODULES = $(TOP)/src/mesa/libmesa.a +- + COMMON_GALLIUM_SOURCES = \ + ../common/utils.c \ + ../common/vblank.c \ +@@ -39,13 +37,13 @@ + ##### RULES ##### + + .c.o: +- $(CC) -c $(INCLUDES) $(CFLAGS) $(DRIVER_DEFINES) $< -o $@ ++ $(CC) -c $(INCLUDES) $(DRI_CFLAGS) $(DRIVER_DEFINES) $< -o $@ + + .cpp.o: +- $(CC) -c $(INCLUDES) $(CXXFLAGS) $(DRIVER_DEFINES) $< -o $@ ++ $(CC) -c $(INCLUDES) $(DRI_CXXFLAGS) $(DRIVER_DEFINES) $< -o $@ + + .S.o: +- $(CC) -c $(INCLUDES) $(CFLAGS) $(DRIVER_DEFINES) $< -o $@ ++ $(CC) -c $(INCLUDES) $(DRI_CFLAGS) $(DRIVER_DEFINES) $< -o $@ + + + ##### TARGETS ##### +@@ -57,10 +55,10 @@ + lib: symlinks subdirs depend + @$(MAKE) $(LIBNAME) $(TOP)/$(LIB_DIR)/$(LIBNAME) + +-$(LIBNAME): $(OBJECTS) $(MESA_MODULES) $(EXTRA_MODULES) Makefile \ ++$(LIBNAME): $(OBJECTS) $(EXTRA_MODULES) $(MESA_MODULES) Makefile \ + $(TOP)/src/mesa/drivers/dri/Makefile.template $(TOP)/src/mesa/drivers/dri/common/dri_test.o + $(MKLIB) -o $@.tmp -noprefix -linker '$(CXX)' -ldflags '$(LDFLAGS)' \ +- $(OBJECTS) $(MESA_MODULES) $(EXTRA_MODULES) $(DRI_LIB_DEPS) ++ $(OBJECTS) $(EXTRA_MODULES) $(DRI_LIB_DEPS) + $(CXX) $(CFLAGS) -o $@.test $(TOP)/src/mesa/drivers/dri/common/dri_test.o $@.tmp $(DRI_LIB_DEPS) + @rm -f $@.test + mv -f $@.tmp $@ +Index: mesa/src/mesa/x86/read_rgba_span_x86.S +=================================================================== +--- mesa.orig/src/mesa/x86/read_rgba_span_x86.S 2011-04-11 11:17:43.602238784 +1000 ++++ mesa/src/mesa/x86/read_rgba_span_x86.S 2011-04-11 11:18:11.473257629 +1000 +@@ -77,7 +77,9 @@ + */ + + .globl _generic_read_RGBA_span_BGRA8888_REV_MMX ++#ifndef USE_DRICORE + .hidden _generic_read_RGBA_span_BGRA8888_REV_MMX ++#endif + .type _generic_read_RGBA_span_BGRA8888_REV_MMX, @function + _generic_read_RGBA_span_BGRA8888_REV_MMX: + pushl %ebx +@@ -172,7 +174,9 @@ + */ + + .globl _generic_read_RGBA_span_BGRA8888_REV_SSE ++#ifndef USE_DRICORE + .hidden _generic_read_RGBA_span_BGRA8888_REV_SSE ++#endif + .type _generic_read_RGBA_span_BGRA8888_REV_SSE, @function + _generic_read_RGBA_span_BGRA8888_REV_SSE: + pushl %esi +@@ -335,7 +339,9 @@ + + .text + .globl _generic_read_RGBA_span_BGRA8888_REV_SSE2 ++#ifndef USE_DRICORE + .hidden _generic_read_RGBA_span_BGRA8888_REV_SSE2 ++#endif + .type _generic_read_RGBA_span_BGRA8888_REV_SSE2, @function + _generic_read_RGBA_span_BGRA8888_REV_SSE2: + pushl %esi +@@ -494,7 +500,9 @@ + + .text + .globl _generic_read_RGBA_span_RGB565_MMX ++#ifndef USE_DRICORE + .hidden _generic_read_RGBA_span_RGB565_MMX ++#endif + .type _generic_read_RGBA_span_RGB565_MMX, @function + + _generic_read_RGBA_span_RGB565_MMX: --- mesa-7.10.2.orig/debian/patches/08-kfreebsd-gallium.diff +++ mesa-7.10.2/debian/patches/08-kfreebsd-gallium.diff @@ -0,0 +1,26 @@ +Index: mesa/src/gallium/auxiliary/rtasm/rtasm_execmem.c +=================================================================== +--- mesa.orig/src/gallium/auxiliary/rtasm/rtasm_execmem.c ++++ mesa/src/gallium/auxiliary/rtasm/rtasm_execmem.c +@@ -37,7 +37,7 @@ + + #include "rtasm_execmem.h" + +-#if defined(PIPE_OS_BSD) ++#ifndef MAP_ANONYMOUS + #define MAP_ANONYMOUS MAP_ANON + #endif + +Index: mesa/src/gallium/include/pipe/p_config.h +=================================================================== +--- mesa.orig/src/gallium/include/pipe/p_config.h ++++ mesa/src/gallium/include/pipe/p_config.h +@@ -133,7 +133,7 @@ + #define PIPE_OS_UNIX + #endif + +-#if defined(__FreeBSD__) ++#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) + #define PIPE_OS_FREEBSD + #define PIPE_OS_BSD + #define PIPE_OS_UNIX --- mesa-7.10.2.orig/debian/patches/113_fix_tls.diff +++ mesa-7.10.2/debian/patches/113_fix_tls.diff @@ -0,0 +1,13097 @@ +commit 7354b4a95976915f4496f24944cbe9df93d1f8af +Author: Christopher James Halse Rogers +Date: Tue Mar 15 09:56:23 2011 +1100 + + Stage changes to extract interesting ones + +Index: mesa/src/egl/main/eglcurrent.c +=================================================================== +--- mesa.orig/src/egl/main/eglcurrent.c 2011-03-16 19:23:13.308777938 +1100 ++++ mesa/src/egl/main/eglcurrent.c 2011-03-16 19:24:08.830795461 +1100 +@@ -24,7 +24,7 @@ + + #ifdef GLX_USE_TLS + static __thread const _EGLThreadInfo *_egl_TLS +- __attribute__ ((tls_model("initial-exec"))); ++ __attribute__ ((tls_model("global-dynamic"))); + #endif + + static INLINE void _eglSetTSD(const _EGLThreadInfo *t) +Index: mesa/src/glx/glxclient.h +=================================================================== +--- mesa.orig/src/glx/glxclient.h 2011-03-16 19:24:08.780793647 +1100 ++++ mesa/src/glx/glxclient.h 2011-03-16 19:24:08.830795461 +1100 +@@ -619,7 +619,7 @@ + # if defined( GLX_USE_TLS ) + + extern __thread void *__glX_tls_Context +- __attribute__ ((tls_model("initial-exec"))); ++ __attribute__ ((tls_model("global-dynamic"))); + + # define __glXGetCurrentContext() __glX_tls_Context + +Index: mesa/src/glx/glxcurrent.c +=================================================================== +--- mesa.orig/src/glx/glxcurrent.c 2011-03-16 19:23:13.868798280 +1100 ++++ mesa/src/glx/glxcurrent.c 2011-03-16 19:24:08.830795461 +1100 +@@ -86,7 +86,7 @@ + * \b never be \c NULL. This is important! Because of this + * \c __glXGetCurrentContext can be implemented as trivial macro. + */ +-__thread void *__glX_tls_Context __attribute__ ((tls_model("initial-exec"))) ++__thread void *__glX_tls_Context __attribute__ ((tls_model("global-dynamic"))) + = &dummyContext; + + _X_HIDDEN void +Index: mesa/src/mapi/glapi/gen/gl_x86-64_asm.py +=================================================================== +--- mesa.orig/src/mapi/glapi/gen/gl_x86-64_asm.py 2011-03-16 19:23:13.888799008 +1100 ++++ mesa/src/mapi/glapi/gen/gl_x86-64_asm.py 2011-03-16 19:24:08.830795461 +1100 +@@ -153,8 +153,16 @@ + print '' + print '\t.p2align\t4,,15' + print '_x86_64_get_dispatch:' +- print '\tmovq\t_glapi_tls_Dispatch@GOTTPOFF(%rip), %rax' +- print '\tmovq\t%fs:(%rax), %rax' ++# print '\tpush\t%rdi' ++ # print '\tmovq\t_glapi_tls_Dispatch@GOTTPOFF(%rip), %rax' ++ # print '\tmovq\t%fs:(%rax), %rax' ++ print '\t.byte\t0x66' ++ print '\tleaq\t_glapi_tls_Dispatch@tlsgd(%rip), %rdi' ++ print '\t.word\t0x6666' ++ print '\trex64' ++ print '\tcall\t__tls_get_addr@plt' ++ print '\tmovq\t(%rax), %rax' ++# print '\tpop\t%rdi' + print '\tret' + print '\t.size\t_x86_64_get_dispatch, .-_x86_64_get_dispatch' + print '' +@@ -248,7 +256,9 @@ + print '\tHIDDEN(GL_PREFIX(%s))' % (name) + print 'GL_PREFIX(%s):' % (name) + print '#if defined(GLX_USE_TLS)' ++ save_all_regs(registers) + print '\tcall\t_x86_64_get_dispatch@PLT' ++ restore_all_regs(registers) + print '\tmovq\t%u(%%rax), %%r11' % (f.offset * 8) + print '\tjmp\t*%r11' + print '#elif defined(PTHREADS)' +Index: mesa/src/mapi/glapi/glapi.h +=================================================================== +--- mesa.orig/src/mapi/glapi/glapi.h 2011-03-16 19:23:13.888799008 +1100 ++++ mesa/src/mapi/glapi/glapi.h 2011-03-16 19:24:08.830795461 +1100 +@@ -86,10 +86,10 @@ + #if defined (GLX_USE_TLS) + + _GLAPI_EXPORT extern __thread struct _glapi_table * _glapi_tls_Dispatch +- __attribute__((tls_model("initial-exec"))); ++ __attribute__((tls_model("global-dynamic"))); + + _GLAPI_EXPORT extern __thread void * _glapi_tls_Context +- __attribute__((tls_model("initial-exec"))); ++ __attribute__((tls_model("global-dynamic"))); + + _GLAPI_EXPORT extern const struct _glapi_table *_glapi_Dispatch; + _GLAPI_EXPORT extern const void *_glapi_Context; +Index: mesa/src/mapi/mapi/u_current.c +=================================================================== +--- mesa.orig/src/mapi/mapi/u_current.c 2011-03-16 19:23:13.918800098 +1100 ++++ mesa/src/mapi/mapi/u_current.c 2011-03-16 19:24:08.830795461 +1100 +@@ -100,11 +100,11 @@ + #if defined(GLX_USE_TLS) + + __thread struct mapi_table *u_current_table_tls +- __attribute__((tls_model("initial-exec"))) ++ __attribute__((tls_model("global-dynamic"))) + = (struct mapi_table *) table_noop_array; + + __thread void *u_current_user_tls +- __attribute__((tls_model("initial-exec"))); ++ __attribute__((tls_model("global-dynamic"))); + + const struct mapi_table *u_current_table; + const void *u_current_user; +Index: mesa/src/mapi/mapi/u_current.h +=================================================================== +--- mesa.orig/src/mapi/mapi/u_current.h 2011-03-16 19:23:13.918800098 +1100 ++++ mesa/src/mapi/mapi/u_current.h 2011-03-16 19:24:08.830795461 +1100 +@@ -31,10 +31,10 @@ + #ifdef GLX_USE_TLS + + extern __thread struct mapi_table *u_current_table_tls +- __attribute__((tls_model("initial-exec"))); ++ __attribute__((tls_model("global-dynamic"))); + + extern __thread void *u_current_user_tls +- __attribute__((tls_model("initial-exec"))); ++ __attribute__((tls_model("global-dynamic"))); + + extern const struct mapi_table *u_current_table; + extern const void *u_current_user; +Index: mesa/src/mesa/drivers/x11/glxapi.c +=================================================================== +--- mesa.orig/src/mesa/drivers/x11/glxapi.c 2011-03-16 19:23:14.108807000 +1100 ++++ mesa/src/mesa/drivers/x11/glxapi.c 2011-03-16 19:24:08.830795461 +1100 +@@ -160,7 +160,7 @@ + */ + #if defined(GLX_USE_TLS) + PUBLIC __thread void * CurrentContext +- __attribute__((tls_model("initial-exec"))); ++ __attribute__((tls_model("global-dynamic"))); + #elif defined(THREADS) + static _glthread_TSD ContextTSD; /**< Per-thread context pointer */ + #else +Index: mesa/src/mapi/glapi/glapi_x86-64.S +=================================================================== +--- mesa.orig/src/mapi/glapi/glapi_x86-64.S 2011-03-16 19:24:08.710791106 +1100 ++++ mesa/src/mapi/glapi/glapi_x86-64.S 2011-03-16 19:24:08.850796197 +1100 +@@ -60,8 +60,12 @@ + + .p2align 4,,15 + _x86_64_get_dispatch: +- movq _glapi_tls_Dispatch@GOTTPOFF(%rip), %rax +- movq %fs:(%rax), %rax ++ .byte 0x66 ++ leaq _glapi_tls_Dispatch@tlsgd(%rip), %rdi ++ .word 0x6666 ++ rex64 ++ call __tls_get_addr@plt ++ movq (%rax), %rax + ret + .size _x86_64_get_dispatch, .-_x86_64_get_dispatch + +@@ -88,7 +92,13 @@ + .type GL_PREFIX(NewList), @function + GL_PREFIX(NewList): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 0(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -125,7 +135,9 @@ + .type GL_PREFIX(EndList), @function + GL_PREFIX(EndList): + #if defined(GLX_USE_TLS) ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp + movq 8(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -154,7 +166,9 @@ + .type GL_PREFIX(CallList), @function + GL_PREFIX(CallList): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 16(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -183,7 +197,13 @@ + .type GL_PREFIX(CallLists), @function + GL_PREFIX(CallLists): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 24(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -220,7 +240,13 @@ + .type GL_PREFIX(DeleteLists), @function + GL_PREFIX(DeleteLists): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 32(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -257,7 +283,9 @@ + .type GL_PREFIX(GenLists), @function + GL_PREFIX(GenLists): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 40(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -286,7 +314,9 @@ + .type GL_PREFIX(ListBase), @function + GL_PREFIX(ListBase): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 48(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -315,7 +345,9 @@ + .type GL_PREFIX(Begin), @function + GL_PREFIX(Begin): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 56(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -344,7 +376,23 @@ + .type GL_PREFIX(Bitmap), @function + GL_PREFIX(Bitmap): + #if defined(GLX_USE_TLS) ++ subq $56, %rsp ++ movq %rdi, (%rsp) ++ movq %rsi, 8(%rsp) ++ movq %xmm0, 16(%rsp) ++ movq %xmm1, 24(%rsp) ++ movq %xmm2, 32(%rsp) ++ movq %xmm3, 40(%rsp) ++ movq %rdx, 48(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 48(%rsp), %rdx ++ movq 40(%rsp), %xmm3 ++ movq 32(%rsp), %xmm2 ++ movq 24(%rsp), %xmm1 ++ movq 16(%rsp), %xmm0 ++ movq 8(%rsp), %rsi ++ movq (%rsp), %rdi ++ addq $56, %rsp + movq 64(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -401,7 +449,13 @@ + .type GL_PREFIX(Color3b), @function + GL_PREFIX(Color3b): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 72(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -438,7 +492,9 @@ + .type GL_PREFIX(Color3bv), @function + GL_PREFIX(Color3bv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 80(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -467,7 +523,15 @@ + .type GL_PREFIX(Color3d), @function + GL_PREFIX(Color3d): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) ++ movq %xmm2, 16(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 16(%rsp), %xmm2 ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $24, %rsp + movq 88(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -508,7 +572,9 @@ + .type GL_PREFIX(Color3dv), @function + GL_PREFIX(Color3dv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 96(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -537,7 +603,15 @@ + .type GL_PREFIX(Color3f), @function + GL_PREFIX(Color3f): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) ++ movq %xmm2, 16(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 16(%rsp), %xmm2 ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $24, %rsp + movq 104(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -578,7 +652,9 @@ + .type GL_PREFIX(Color3fv), @function + GL_PREFIX(Color3fv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 112(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -607,7 +683,13 @@ + .type GL_PREFIX(Color3i), @function + GL_PREFIX(Color3i): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 120(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -644,7 +726,9 @@ + .type GL_PREFIX(Color3iv), @function + GL_PREFIX(Color3iv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 128(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -673,7 +757,13 @@ + .type GL_PREFIX(Color3s), @function + GL_PREFIX(Color3s): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 136(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -710,7 +800,9 @@ + .type GL_PREFIX(Color3sv), @function + GL_PREFIX(Color3sv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 144(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -739,7 +831,13 @@ + .type GL_PREFIX(Color3ub), @function + GL_PREFIX(Color3ub): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 152(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -776,7 +874,9 @@ + .type GL_PREFIX(Color3ubv), @function + GL_PREFIX(Color3ubv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 160(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -805,7 +905,13 @@ + .type GL_PREFIX(Color3ui), @function + GL_PREFIX(Color3ui): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 168(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -842,7 +948,9 @@ + .type GL_PREFIX(Color3uiv), @function + GL_PREFIX(Color3uiv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 176(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -871,7 +979,13 @@ + .type GL_PREFIX(Color3us), @function + GL_PREFIX(Color3us): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 184(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -908,7 +1022,9 @@ + .type GL_PREFIX(Color3usv), @function + GL_PREFIX(Color3usv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 192(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -937,7 +1053,17 @@ + .type GL_PREFIX(Color4b), @function + GL_PREFIX(Color4b): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 200(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -982,7 +1108,9 @@ + .type GL_PREFIX(Color4bv), @function + GL_PREFIX(Color4bv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 208(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -1011,7 +1139,17 @@ + .type GL_PREFIX(Color4d), @function + GL_PREFIX(Color4d): + #if defined(GLX_USE_TLS) ++ subq $40, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) ++ movq %xmm2, 16(%rsp) ++ movq %xmm3, 24(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 24(%rsp), %xmm3 ++ movq 16(%rsp), %xmm2 ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $40, %rsp + movq 216(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -1056,7 +1194,9 @@ + .type GL_PREFIX(Color4dv), @function + GL_PREFIX(Color4dv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 224(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -1085,7 +1225,17 @@ + .type GL_PREFIX(Color4f), @function + GL_PREFIX(Color4f): + #if defined(GLX_USE_TLS) ++ subq $40, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) ++ movq %xmm2, 16(%rsp) ++ movq %xmm3, 24(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 24(%rsp), %xmm3 ++ movq 16(%rsp), %xmm2 ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $40, %rsp + movq 232(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -1130,7 +1280,9 @@ + .type GL_PREFIX(Color4fv), @function + GL_PREFIX(Color4fv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 240(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -1159,7 +1311,17 @@ + .type GL_PREFIX(Color4i), @function + GL_PREFIX(Color4i): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 248(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -1204,7 +1366,9 @@ + .type GL_PREFIX(Color4iv), @function + GL_PREFIX(Color4iv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 256(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -1233,7 +1397,17 @@ + .type GL_PREFIX(Color4s), @function + GL_PREFIX(Color4s): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 264(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -1278,7 +1452,9 @@ + .type GL_PREFIX(Color4sv), @function + GL_PREFIX(Color4sv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 272(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -1307,7 +1483,17 @@ + .type GL_PREFIX(Color4ub), @function + GL_PREFIX(Color4ub): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 280(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -1352,7 +1538,9 @@ + .type GL_PREFIX(Color4ubv), @function + GL_PREFIX(Color4ubv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 288(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -1381,7 +1569,17 @@ + .type GL_PREFIX(Color4ui), @function + GL_PREFIX(Color4ui): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 296(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -1426,7 +1624,9 @@ + .type GL_PREFIX(Color4uiv), @function + GL_PREFIX(Color4uiv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 304(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -1455,7 +1655,17 @@ + .type GL_PREFIX(Color4us), @function + GL_PREFIX(Color4us): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 312(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -1500,7 +1710,9 @@ + .type GL_PREFIX(Color4usv), @function + GL_PREFIX(Color4usv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 320(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -1529,7 +1741,9 @@ + .type GL_PREFIX(EdgeFlag), @function + GL_PREFIX(EdgeFlag): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 328(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -1558,7 +1772,9 @@ + .type GL_PREFIX(EdgeFlagv), @function + GL_PREFIX(EdgeFlagv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 336(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -1587,7 +1803,9 @@ + .type GL_PREFIX(End), @function + GL_PREFIX(End): + #if defined(GLX_USE_TLS) ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp + movq 344(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -1616,7 +1834,11 @@ + .type GL_PREFIX(Indexd), @function + GL_PREFIX(Indexd): + #if defined(GLX_USE_TLS) ++ subq $8, %rsp ++ movq %xmm0, (%rsp) + call _x86_64_get_dispatch@PLT ++ movq (%rsp), %xmm0 ++ addq $8, %rsp + movq 352(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -1649,7 +1871,9 @@ + .type GL_PREFIX(Indexdv), @function + GL_PREFIX(Indexdv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 360(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -1678,7 +1902,11 @@ + .type GL_PREFIX(Indexf), @function + GL_PREFIX(Indexf): + #if defined(GLX_USE_TLS) ++ subq $8, %rsp ++ movq %xmm0, (%rsp) + call _x86_64_get_dispatch@PLT ++ movq (%rsp), %xmm0 ++ addq $8, %rsp + movq 368(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -1711,7 +1939,9 @@ + .type GL_PREFIX(Indexfv), @function + GL_PREFIX(Indexfv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 376(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -1740,7 +1970,9 @@ + .type GL_PREFIX(Indexi), @function + GL_PREFIX(Indexi): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 384(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -1769,7 +2001,9 @@ + .type GL_PREFIX(Indexiv), @function + GL_PREFIX(Indexiv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 392(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -1798,7 +2032,9 @@ + .type GL_PREFIX(Indexs), @function + GL_PREFIX(Indexs): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 400(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -1827,7 +2063,9 @@ + .type GL_PREFIX(Indexsv), @function + GL_PREFIX(Indexsv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 408(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -1856,7 +2094,13 @@ + .type GL_PREFIX(Normal3b), @function + GL_PREFIX(Normal3b): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 416(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -1893,7 +2137,9 @@ + .type GL_PREFIX(Normal3bv), @function + GL_PREFIX(Normal3bv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 424(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -1922,7 +2168,15 @@ + .type GL_PREFIX(Normal3d), @function + GL_PREFIX(Normal3d): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) ++ movq %xmm2, 16(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 16(%rsp), %xmm2 ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $24, %rsp + movq 432(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -1963,7 +2217,9 @@ + .type GL_PREFIX(Normal3dv), @function + GL_PREFIX(Normal3dv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 440(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -1992,7 +2248,15 @@ + .type GL_PREFIX(Normal3f), @function + GL_PREFIX(Normal3f): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) ++ movq %xmm2, 16(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 16(%rsp), %xmm2 ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $24, %rsp + movq 448(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -2033,7 +2297,9 @@ + .type GL_PREFIX(Normal3fv), @function + GL_PREFIX(Normal3fv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 456(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -2062,7 +2328,13 @@ + .type GL_PREFIX(Normal3i), @function + GL_PREFIX(Normal3i): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 464(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -2099,7 +2371,9 @@ + .type GL_PREFIX(Normal3iv), @function + GL_PREFIX(Normal3iv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 472(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -2128,7 +2402,13 @@ + .type GL_PREFIX(Normal3s), @function + GL_PREFIX(Normal3s): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 480(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -2165,7 +2445,9 @@ + .type GL_PREFIX(Normal3sv), @function + GL_PREFIX(Normal3sv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 488(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -2194,7 +2476,13 @@ + .type GL_PREFIX(RasterPos2d), @function + GL_PREFIX(RasterPos2d): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $24, %rsp + movq 496(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -2231,7 +2519,9 @@ + .type GL_PREFIX(RasterPos2dv), @function + GL_PREFIX(RasterPos2dv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 504(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -2260,7 +2550,13 @@ + .type GL_PREFIX(RasterPos2f), @function + GL_PREFIX(RasterPos2f): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $24, %rsp + movq 512(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -2297,7 +2593,9 @@ + .type GL_PREFIX(RasterPos2fv), @function + GL_PREFIX(RasterPos2fv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 520(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -2326,7 +2624,13 @@ + .type GL_PREFIX(RasterPos2i), @function + GL_PREFIX(RasterPos2i): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 528(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -2363,7 +2667,9 @@ + .type GL_PREFIX(RasterPos2iv), @function + GL_PREFIX(RasterPos2iv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 536(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -2392,7 +2698,13 @@ + .type GL_PREFIX(RasterPos2s), @function + GL_PREFIX(RasterPos2s): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 544(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -2429,7 +2741,9 @@ + .type GL_PREFIX(RasterPos2sv), @function + GL_PREFIX(RasterPos2sv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 552(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -2458,7 +2772,15 @@ + .type GL_PREFIX(RasterPos3d), @function + GL_PREFIX(RasterPos3d): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) ++ movq %xmm2, 16(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 16(%rsp), %xmm2 ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $24, %rsp + movq 560(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -2499,7 +2821,9 @@ + .type GL_PREFIX(RasterPos3dv), @function + GL_PREFIX(RasterPos3dv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 568(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -2528,7 +2852,15 @@ + .type GL_PREFIX(RasterPos3f), @function + GL_PREFIX(RasterPos3f): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) ++ movq %xmm2, 16(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 16(%rsp), %xmm2 ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $24, %rsp + movq 576(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -2569,7 +2901,9 @@ + .type GL_PREFIX(RasterPos3fv), @function + GL_PREFIX(RasterPos3fv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 584(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -2598,7 +2932,13 @@ + .type GL_PREFIX(RasterPos3i), @function + GL_PREFIX(RasterPos3i): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 592(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -2635,7 +2975,9 @@ + .type GL_PREFIX(RasterPos3iv), @function + GL_PREFIX(RasterPos3iv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 600(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -2664,7 +3006,13 @@ + .type GL_PREFIX(RasterPos3s), @function + GL_PREFIX(RasterPos3s): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 608(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -2701,7 +3049,9 @@ + .type GL_PREFIX(RasterPos3sv), @function + GL_PREFIX(RasterPos3sv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 616(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -2730,7 +3080,17 @@ + .type GL_PREFIX(RasterPos4d), @function + GL_PREFIX(RasterPos4d): + #if defined(GLX_USE_TLS) ++ subq $40, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) ++ movq %xmm2, 16(%rsp) ++ movq %xmm3, 24(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 24(%rsp), %xmm3 ++ movq 16(%rsp), %xmm2 ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $40, %rsp + movq 624(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -2775,7 +3135,9 @@ + .type GL_PREFIX(RasterPos4dv), @function + GL_PREFIX(RasterPos4dv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 632(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -2804,7 +3166,17 @@ + .type GL_PREFIX(RasterPos4f), @function + GL_PREFIX(RasterPos4f): + #if defined(GLX_USE_TLS) ++ subq $40, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) ++ movq %xmm2, 16(%rsp) ++ movq %xmm3, 24(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 24(%rsp), %xmm3 ++ movq 16(%rsp), %xmm2 ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $40, %rsp + movq 640(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -2849,7 +3221,9 @@ + .type GL_PREFIX(RasterPos4fv), @function + GL_PREFIX(RasterPos4fv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 648(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -2878,7 +3252,17 @@ + .type GL_PREFIX(RasterPos4i), @function + GL_PREFIX(RasterPos4i): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 656(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -2923,7 +3307,9 @@ + .type GL_PREFIX(RasterPos4iv), @function + GL_PREFIX(RasterPos4iv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 664(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -2952,7 +3338,17 @@ + .type GL_PREFIX(RasterPos4s), @function + GL_PREFIX(RasterPos4s): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 672(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -2997,7 +3393,9 @@ + .type GL_PREFIX(RasterPos4sv), @function + GL_PREFIX(RasterPos4sv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 680(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -3026,7 +3424,17 @@ + .type GL_PREFIX(Rectd), @function + GL_PREFIX(Rectd): + #if defined(GLX_USE_TLS) ++ subq $40, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) ++ movq %xmm2, 16(%rsp) ++ movq %xmm3, 24(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 24(%rsp), %xmm3 ++ movq 16(%rsp), %xmm2 ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $40, %rsp + movq 688(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -3071,7 +3479,13 @@ + .type GL_PREFIX(Rectdv), @function + GL_PREFIX(Rectdv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 696(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -3108,7 +3522,17 @@ + .type GL_PREFIX(Rectf), @function + GL_PREFIX(Rectf): + #if defined(GLX_USE_TLS) ++ subq $40, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) ++ movq %xmm2, 16(%rsp) ++ movq %xmm3, 24(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 24(%rsp), %xmm3 ++ movq 16(%rsp), %xmm2 ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $40, %rsp + movq 704(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -3153,7 +3577,13 @@ + .type GL_PREFIX(Rectfv), @function + GL_PREFIX(Rectfv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 712(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -3190,7 +3620,17 @@ + .type GL_PREFIX(Recti), @function + GL_PREFIX(Recti): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 720(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -3235,7 +3675,13 @@ + .type GL_PREFIX(Rectiv), @function + GL_PREFIX(Rectiv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 728(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -3272,7 +3718,17 @@ + .type GL_PREFIX(Rects), @function + GL_PREFIX(Rects): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 736(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -3317,7 +3773,13 @@ + .type GL_PREFIX(Rectsv), @function + GL_PREFIX(Rectsv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 744(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -3354,7 +3816,11 @@ + .type GL_PREFIX(TexCoord1d), @function + GL_PREFIX(TexCoord1d): + #if defined(GLX_USE_TLS) ++ subq $8, %rsp ++ movq %xmm0, (%rsp) + call _x86_64_get_dispatch@PLT ++ movq (%rsp), %xmm0 ++ addq $8, %rsp + movq 752(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -3387,7 +3853,9 @@ + .type GL_PREFIX(TexCoord1dv), @function + GL_PREFIX(TexCoord1dv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 760(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -3416,7 +3884,11 @@ + .type GL_PREFIX(TexCoord1f), @function + GL_PREFIX(TexCoord1f): + #if defined(GLX_USE_TLS) ++ subq $8, %rsp ++ movq %xmm0, (%rsp) + call _x86_64_get_dispatch@PLT ++ movq (%rsp), %xmm0 ++ addq $8, %rsp + movq 768(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -3449,7 +3921,9 @@ + .type GL_PREFIX(TexCoord1fv), @function + GL_PREFIX(TexCoord1fv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 776(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -3478,7 +3952,9 @@ + .type GL_PREFIX(TexCoord1i), @function + GL_PREFIX(TexCoord1i): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 784(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -3507,7 +3983,9 @@ + .type GL_PREFIX(TexCoord1iv), @function + GL_PREFIX(TexCoord1iv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 792(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -3536,7 +4014,9 @@ + .type GL_PREFIX(TexCoord1s), @function + GL_PREFIX(TexCoord1s): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 800(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -3565,7 +4045,9 @@ + .type GL_PREFIX(TexCoord1sv), @function + GL_PREFIX(TexCoord1sv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 808(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -3594,7 +4076,13 @@ + .type GL_PREFIX(TexCoord2d), @function + GL_PREFIX(TexCoord2d): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $24, %rsp + movq 816(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -3631,7 +4119,9 @@ + .type GL_PREFIX(TexCoord2dv), @function + GL_PREFIX(TexCoord2dv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 824(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -3660,7 +4150,13 @@ + .type GL_PREFIX(TexCoord2f), @function + GL_PREFIX(TexCoord2f): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $24, %rsp + movq 832(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -3697,7 +4193,9 @@ + .type GL_PREFIX(TexCoord2fv), @function + GL_PREFIX(TexCoord2fv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 840(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -3726,7 +4224,13 @@ + .type GL_PREFIX(TexCoord2i), @function + GL_PREFIX(TexCoord2i): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 848(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -3763,7 +4267,9 @@ + .type GL_PREFIX(TexCoord2iv), @function + GL_PREFIX(TexCoord2iv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 856(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -3792,7 +4298,13 @@ + .type GL_PREFIX(TexCoord2s), @function + GL_PREFIX(TexCoord2s): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 864(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -3829,7 +4341,9 @@ + .type GL_PREFIX(TexCoord2sv), @function + GL_PREFIX(TexCoord2sv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 872(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -3858,8 +4372,16 @@ + .type GL_PREFIX(TexCoord3d), @function + GL_PREFIX(TexCoord3d): + #if defined(GLX_USE_TLS) +- call _x86_64_get_dispatch@PLT +- movq 880(%rax), %r11 ++ subq $24, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) ++ movq %xmm2, 16(%rsp) ++ call _x86_64_get_dispatch@PLT ++ movq 16(%rsp), %xmm2 ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $24, %rsp ++ movq 880(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) + subq $24, %rsp +@@ -3899,7 +4421,9 @@ + .type GL_PREFIX(TexCoord3dv), @function + GL_PREFIX(TexCoord3dv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 888(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -3928,7 +4452,15 @@ + .type GL_PREFIX(TexCoord3f), @function + GL_PREFIX(TexCoord3f): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) ++ movq %xmm2, 16(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 16(%rsp), %xmm2 ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $24, %rsp + movq 896(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -3969,7 +4501,9 @@ + .type GL_PREFIX(TexCoord3fv), @function + GL_PREFIX(TexCoord3fv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 904(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -3998,7 +4532,13 @@ + .type GL_PREFIX(TexCoord3i), @function + GL_PREFIX(TexCoord3i): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 912(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -4035,7 +4575,9 @@ + .type GL_PREFIX(TexCoord3iv), @function + GL_PREFIX(TexCoord3iv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 920(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -4064,7 +4606,13 @@ + .type GL_PREFIX(TexCoord3s), @function + GL_PREFIX(TexCoord3s): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 928(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -4101,7 +4649,9 @@ + .type GL_PREFIX(TexCoord3sv), @function + GL_PREFIX(TexCoord3sv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 936(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -4130,7 +4680,17 @@ + .type GL_PREFIX(TexCoord4d), @function + GL_PREFIX(TexCoord4d): + #if defined(GLX_USE_TLS) ++ subq $40, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) ++ movq %xmm2, 16(%rsp) ++ movq %xmm3, 24(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 24(%rsp), %xmm3 ++ movq 16(%rsp), %xmm2 ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $40, %rsp + movq 944(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -4175,7 +4735,9 @@ + .type GL_PREFIX(TexCoord4dv), @function + GL_PREFIX(TexCoord4dv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 952(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -4204,7 +4766,17 @@ + .type GL_PREFIX(TexCoord4f), @function + GL_PREFIX(TexCoord4f): + #if defined(GLX_USE_TLS) ++ subq $40, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) ++ movq %xmm2, 16(%rsp) ++ movq %xmm3, 24(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 24(%rsp), %xmm3 ++ movq 16(%rsp), %xmm2 ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $40, %rsp + movq 960(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -4249,7 +4821,9 @@ + .type GL_PREFIX(TexCoord4fv), @function + GL_PREFIX(TexCoord4fv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 968(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -4278,7 +4852,17 @@ + .type GL_PREFIX(TexCoord4i), @function + GL_PREFIX(TexCoord4i): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 976(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -4323,7 +4907,9 @@ + .type GL_PREFIX(TexCoord4iv), @function + GL_PREFIX(TexCoord4iv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 984(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -4352,7 +4938,17 @@ + .type GL_PREFIX(TexCoord4s), @function + GL_PREFIX(TexCoord4s): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 992(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -4397,7 +4993,9 @@ + .type GL_PREFIX(TexCoord4sv), @function + GL_PREFIX(TexCoord4sv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1000(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -4426,7 +5024,13 @@ + .type GL_PREFIX(Vertex2d), @function + GL_PREFIX(Vertex2d): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $24, %rsp + movq 1008(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -4463,7 +5067,9 @@ + .type GL_PREFIX(Vertex2dv), @function + GL_PREFIX(Vertex2dv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1016(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -4492,7 +5098,13 @@ + .type GL_PREFIX(Vertex2f), @function + GL_PREFIX(Vertex2f): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $24, %rsp + movq 1024(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -4529,7 +5141,9 @@ + .type GL_PREFIX(Vertex2fv), @function + GL_PREFIX(Vertex2fv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1032(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -4558,7 +5172,13 @@ + .type GL_PREFIX(Vertex2i), @function + GL_PREFIX(Vertex2i): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 1040(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -4595,7 +5215,9 @@ + .type GL_PREFIX(Vertex2iv), @function + GL_PREFIX(Vertex2iv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1048(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -4624,7 +5246,13 @@ + .type GL_PREFIX(Vertex2s), @function + GL_PREFIX(Vertex2s): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 1056(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -4661,7 +5289,9 @@ + .type GL_PREFIX(Vertex2sv), @function + GL_PREFIX(Vertex2sv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1064(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -4690,7 +5320,15 @@ + .type GL_PREFIX(Vertex3d), @function + GL_PREFIX(Vertex3d): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) ++ movq %xmm2, 16(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 16(%rsp), %xmm2 ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $24, %rsp + movq 1072(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -4731,7 +5369,9 @@ + .type GL_PREFIX(Vertex3dv), @function + GL_PREFIX(Vertex3dv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1080(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -4760,7 +5400,15 @@ + .type GL_PREFIX(Vertex3f), @function + GL_PREFIX(Vertex3f): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) ++ movq %xmm2, 16(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 16(%rsp), %xmm2 ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $24, %rsp + movq 1088(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -4801,7 +5449,9 @@ + .type GL_PREFIX(Vertex3fv), @function + GL_PREFIX(Vertex3fv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1096(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -4830,7 +5480,13 @@ + .type GL_PREFIX(Vertex3i), @function + GL_PREFIX(Vertex3i): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 1104(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -4867,7 +5523,9 @@ + .type GL_PREFIX(Vertex3iv), @function + GL_PREFIX(Vertex3iv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1112(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -4896,7 +5554,13 @@ + .type GL_PREFIX(Vertex3s), @function + GL_PREFIX(Vertex3s): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 1120(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -4933,7 +5597,9 @@ + .type GL_PREFIX(Vertex3sv), @function + GL_PREFIX(Vertex3sv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1128(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -4962,7 +5628,17 @@ + .type GL_PREFIX(Vertex4d), @function + GL_PREFIX(Vertex4d): + #if defined(GLX_USE_TLS) ++ subq $40, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) ++ movq %xmm2, 16(%rsp) ++ movq %xmm3, 24(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 24(%rsp), %xmm3 ++ movq 16(%rsp), %xmm2 ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $40, %rsp + movq 1136(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -5007,7 +5683,9 @@ + .type GL_PREFIX(Vertex4dv), @function + GL_PREFIX(Vertex4dv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1144(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -5036,7 +5714,17 @@ + .type GL_PREFIX(Vertex4f), @function + GL_PREFIX(Vertex4f): + #if defined(GLX_USE_TLS) ++ subq $40, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) ++ movq %xmm2, 16(%rsp) ++ movq %xmm3, 24(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 24(%rsp), %xmm3 ++ movq 16(%rsp), %xmm2 ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $40, %rsp + movq 1152(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -5081,7 +5769,9 @@ + .type GL_PREFIX(Vertex4fv), @function + GL_PREFIX(Vertex4fv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1160(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -5110,7 +5800,17 @@ + .type GL_PREFIX(Vertex4i), @function + GL_PREFIX(Vertex4i): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 1168(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -5155,7 +5855,9 @@ + .type GL_PREFIX(Vertex4iv), @function + GL_PREFIX(Vertex4iv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1176(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -5184,7 +5886,17 @@ + .type GL_PREFIX(Vertex4s), @function + GL_PREFIX(Vertex4s): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 1184(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -5229,7 +5941,9 @@ + .type GL_PREFIX(Vertex4sv), @function + GL_PREFIX(Vertex4sv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1192(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -5258,7 +5972,13 @@ + .type GL_PREFIX(ClipPlane), @function + GL_PREFIX(ClipPlane): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 1200(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -5295,7 +6015,13 @@ + .type GL_PREFIX(ColorMaterial), @function + GL_PREFIX(ColorMaterial): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 1208(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -5332,7 +6058,9 @@ + .type GL_PREFIX(CullFace), @function + GL_PREFIX(CullFace): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1216(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -5361,7 +6089,13 @@ + .type GL_PREFIX(Fogf), @function + GL_PREFIX(Fogf): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $24, %rsp + movq 1224(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -5398,7 +6132,13 @@ + .type GL_PREFIX(Fogfv), @function + GL_PREFIX(Fogfv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 1232(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -5435,7 +6175,13 @@ + .type GL_PREFIX(Fogi), @function + GL_PREFIX(Fogi): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 1240(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -5472,7 +6218,13 @@ + .type GL_PREFIX(Fogiv), @function + GL_PREFIX(Fogiv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 1248(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -5509,7 +6261,9 @@ + .type GL_PREFIX(FrontFace), @function + GL_PREFIX(FrontFace): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1256(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -5538,7 +6292,13 @@ + .type GL_PREFIX(Hint), @function + GL_PREFIX(Hint): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 1264(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -5575,7 +6335,15 @@ + .type GL_PREFIX(Lightf), @function + GL_PREFIX(Lightf): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %rdi, (%rsp) ++ movq %rsi, 8(%rsp) ++ movq %xmm0, 16(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 16(%rsp), %xmm0 ++ movq 8(%rsp), %rsi ++ movq (%rsp), %rdi ++ addq $24, %rsp + movq 1272(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -5616,7 +6384,13 @@ + .type GL_PREFIX(Lightfv), @function + GL_PREFIX(Lightfv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 1280(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -5653,7 +6427,13 @@ + .type GL_PREFIX(Lighti), @function + GL_PREFIX(Lighti): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 1288(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -5690,7 +6470,13 @@ + .type GL_PREFIX(Lightiv), @function + GL_PREFIX(Lightiv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 1296(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -5727,7 +6513,13 @@ + .type GL_PREFIX(LightModelf), @function + GL_PREFIX(LightModelf): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $24, %rsp + movq 1304(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -5764,7 +6556,13 @@ + .type GL_PREFIX(LightModelfv), @function + GL_PREFIX(LightModelfv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 1312(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -5801,7 +6599,13 @@ + .type GL_PREFIX(LightModeli), @function + GL_PREFIX(LightModeli): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 1320(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -5838,7 +6642,13 @@ + .type GL_PREFIX(LightModeliv), @function + GL_PREFIX(LightModeliv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 1328(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -5875,7 +6685,13 @@ + .type GL_PREFIX(LineStipple), @function + GL_PREFIX(LineStipple): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 1336(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -5912,7 +6728,11 @@ + .type GL_PREFIX(LineWidth), @function + GL_PREFIX(LineWidth): + #if defined(GLX_USE_TLS) ++ subq $8, %rsp ++ movq %xmm0, (%rsp) + call _x86_64_get_dispatch@PLT ++ movq (%rsp), %xmm0 ++ addq $8, %rsp + movq 1344(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -5945,7 +6765,15 @@ + .type GL_PREFIX(Materialf), @function + GL_PREFIX(Materialf): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %rdi, (%rsp) ++ movq %rsi, 8(%rsp) ++ movq %xmm0, 16(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 16(%rsp), %xmm0 ++ movq 8(%rsp), %rsi ++ movq (%rsp), %rdi ++ addq $24, %rsp + movq 1352(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -5986,7 +6814,13 @@ + .type GL_PREFIX(Materialfv), @function + GL_PREFIX(Materialfv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 1360(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -6023,7 +6857,13 @@ + .type GL_PREFIX(Materiali), @function + GL_PREFIX(Materiali): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 1368(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -6060,7 +6900,13 @@ + .type GL_PREFIX(Materialiv), @function + GL_PREFIX(Materialiv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 1376(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -6097,7 +6943,11 @@ + .type GL_PREFIX(PointSize), @function + GL_PREFIX(PointSize): + #if defined(GLX_USE_TLS) ++ subq $8, %rsp ++ movq %xmm0, (%rsp) + call _x86_64_get_dispatch@PLT ++ movq (%rsp), %xmm0 ++ addq $8, %rsp + movq 1384(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -6130,7 +6980,13 @@ + .type GL_PREFIX(PolygonMode), @function + GL_PREFIX(PolygonMode): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 1392(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -6167,7 +7023,9 @@ + .type GL_PREFIX(PolygonStipple), @function + GL_PREFIX(PolygonStipple): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1400(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -6196,7 +7054,17 @@ + .type GL_PREFIX(Scissor), @function + GL_PREFIX(Scissor): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 1408(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -6241,7 +7109,9 @@ + .type GL_PREFIX(ShadeModel), @function + GL_PREFIX(ShadeModel): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1416(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -6270,7 +7140,15 @@ + .type GL_PREFIX(TexParameterf), @function + GL_PREFIX(TexParameterf): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %rdi, (%rsp) ++ movq %rsi, 8(%rsp) ++ movq %xmm0, 16(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 16(%rsp), %xmm0 ++ movq 8(%rsp), %rsi ++ movq (%rsp), %rdi ++ addq $24, %rsp + movq 1424(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -6311,7 +7189,13 @@ + .type GL_PREFIX(TexParameterfv), @function + GL_PREFIX(TexParameterfv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 1432(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -6348,7 +7232,13 @@ + .type GL_PREFIX(TexParameteri), @function + GL_PREFIX(TexParameteri): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 1440(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -6385,7 +7275,13 @@ + .type GL_PREFIX(TexParameteriv), @function + GL_PREFIX(TexParameteriv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 1448(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -6422,7 +7318,21 @@ + .type GL_PREFIX(TexImage1D), @function + GL_PREFIX(TexImage1D): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 1456(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -6475,7 +7385,21 @@ + .type GL_PREFIX(TexImage2D), @function + GL_PREFIX(TexImage2D): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 1464(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -6528,7 +7452,15 @@ + .type GL_PREFIX(TexEnvf), @function + GL_PREFIX(TexEnvf): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %rdi, (%rsp) ++ movq %rsi, 8(%rsp) ++ movq %xmm0, 16(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 16(%rsp), %xmm0 ++ movq 8(%rsp), %rsi ++ movq (%rsp), %rdi ++ addq $24, %rsp + movq 1472(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -6569,7 +7501,13 @@ + .type GL_PREFIX(TexEnvfv), @function + GL_PREFIX(TexEnvfv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 1480(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -6606,7 +7544,13 @@ + .type GL_PREFIX(TexEnvi), @function + GL_PREFIX(TexEnvi): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 1488(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -6643,7 +7587,13 @@ + .type GL_PREFIX(TexEnviv), @function + GL_PREFIX(TexEnviv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 1496(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -6680,7 +7630,15 @@ + .type GL_PREFIX(TexGend), @function + GL_PREFIX(TexGend): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %rdi, (%rsp) ++ movq %rsi, 8(%rsp) ++ movq %xmm0, 16(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 16(%rsp), %xmm0 ++ movq 8(%rsp), %rsi ++ movq (%rsp), %rdi ++ addq $24, %rsp + movq 1504(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -6721,7 +7679,13 @@ + .type GL_PREFIX(TexGendv), @function + GL_PREFIX(TexGendv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 1512(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -6758,7 +7722,15 @@ + .type GL_PREFIX(TexGenf), @function + GL_PREFIX(TexGenf): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %rdi, (%rsp) ++ movq %rsi, 8(%rsp) ++ movq %xmm0, 16(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 16(%rsp), %xmm0 ++ movq 8(%rsp), %rsi ++ movq (%rsp), %rdi ++ addq $24, %rsp + movq 1520(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -6799,7 +7771,13 @@ + .type GL_PREFIX(TexGenfv), @function + GL_PREFIX(TexGenfv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 1528(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -6836,7 +7814,13 @@ + .type GL_PREFIX(TexGeni), @function + GL_PREFIX(TexGeni): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 1536(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -6873,7 +7857,13 @@ + .type GL_PREFIX(TexGeniv), @function + GL_PREFIX(TexGeniv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 1544(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -6910,7 +7900,13 @@ + .type GL_PREFIX(FeedbackBuffer), @function + GL_PREFIX(FeedbackBuffer): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 1552(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -6947,7 +7943,13 @@ + .type GL_PREFIX(SelectBuffer), @function + GL_PREFIX(SelectBuffer): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 1560(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -6984,7 +7986,9 @@ + .type GL_PREFIX(RenderMode), @function + GL_PREFIX(RenderMode): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1568(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -7013,7 +8017,9 @@ + .type GL_PREFIX(InitNames), @function + GL_PREFIX(InitNames): + #if defined(GLX_USE_TLS) ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp + movq 1576(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -7042,7 +8048,9 @@ + .type GL_PREFIX(LoadName), @function + GL_PREFIX(LoadName): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1584(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -7071,7 +8079,11 @@ + .type GL_PREFIX(PassThrough), @function + GL_PREFIX(PassThrough): + #if defined(GLX_USE_TLS) ++ subq $8, %rsp ++ movq %xmm0, (%rsp) + call _x86_64_get_dispatch@PLT ++ movq (%rsp), %xmm0 ++ addq $8, %rsp + movq 1592(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -7104,7 +8116,9 @@ + .type GL_PREFIX(PopName), @function + GL_PREFIX(PopName): + #if defined(GLX_USE_TLS) ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp + movq 1600(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -7133,7 +8147,9 @@ + .type GL_PREFIX(PushName), @function + GL_PREFIX(PushName): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1608(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -7162,7 +8178,9 @@ + .type GL_PREFIX(DrawBuffer), @function + GL_PREFIX(DrawBuffer): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1616(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -7191,7 +8209,9 @@ + .type GL_PREFIX(Clear), @function + GL_PREFIX(Clear): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1624(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -7220,10 +8240,20 @@ + .type GL_PREFIX(ClearAccum), @function + GL_PREFIX(ClearAccum): + #if defined(GLX_USE_TLS) +- call _x86_64_get_dispatch@PLT +- movq 1632(%rax), %r11 +- jmp *%r11 +-#elif defined(PTHREADS) ++ subq $40, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) ++ movq %xmm2, 16(%rsp) ++ movq %xmm3, 24(%rsp) ++ call _x86_64_get_dispatch@PLT ++ movq 24(%rsp), %xmm3 ++ movq 16(%rsp), %xmm2 ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $40, %rsp ++ movq 1632(%rax), %r11 ++ jmp *%r11 ++#elif defined(PTHREADS) + subq $40, %rsp + movq %xmm0, (%rsp) + movq %xmm1, 8(%rsp) +@@ -7265,7 +8295,11 @@ + .type GL_PREFIX(ClearIndex), @function + GL_PREFIX(ClearIndex): + #if defined(GLX_USE_TLS) ++ subq $8, %rsp ++ movq %xmm0, (%rsp) + call _x86_64_get_dispatch@PLT ++ movq (%rsp), %xmm0 ++ addq $8, %rsp + movq 1640(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -7298,7 +8332,17 @@ + .type GL_PREFIX(ClearColor), @function + GL_PREFIX(ClearColor): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 1648(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -7343,7 +8387,9 @@ + .type GL_PREFIX(ClearStencil), @function + GL_PREFIX(ClearStencil): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1656(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -7372,7 +8418,9 @@ + .type GL_PREFIX(ClearDepth), @function + GL_PREFIX(ClearDepth): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1664(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -7401,7 +8449,9 @@ + .type GL_PREFIX(StencilMask), @function + GL_PREFIX(StencilMask): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1672(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -7430,7 +8480,17 @@ + .type GL_PREFIX(ColorMask), @function + GL_PREFIX(ColorMask): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 1680(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -7475,7 +8535,9 @@ + .type GL_PREFIX(DepthMask), @function + GL_PREFIX(DepthMask): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1688(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -7504,7 +8566,9 @@ + .type GL_PREFIX(IndexMask), @function + GL_PREFIX(IndexMask): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1696(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -7533,7 +8597,13 @@ + .type GL_PREFIX(Accum), @function + GL_PREFIX(Accum): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $24, %rsp + movq 1704(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -7570,7 +8640,9 @@ + .type GL_PREFIX(Disable), @function + GL_PREFIX(Disable): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1712(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -7599,7 +8671,9 @@ + .type GL_PREFIX(Enable), @function + GL_PREFIX(Enable): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1720(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -7628,7 +8702,9 @@ + .type GL_PREFIX(Finish), @function + GL_PREFIX(Finish): + #if defined(GLX_USE_TLS) ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp + movq 1728(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -7657,7 +8733,9 @@ + .type GL_PREFIX(Flush), @function + GL_PREFIX(Flush): + #if defined(GLX_USE_TLS) ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp + movq 1736(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -7686,7 +8764,9 @@ + .type GL_PREFIX(PopAttrib), @function + GL_PREFIX(PopAttrib): + #if defined(GLX_USE_TLS) ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp + movq 1744(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -7715,7 +8795,9 @@ + .type GL_PREFIX(PushAttrib), @function + GL_PREFIX(PushAttrib): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1752(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -7744,7 +8826,21 @@ + .type GL_PREFIX(Map1d), @function + GL_PREFIX(Map1d): + #if defined(GLX_USE_TLS) ++ subq $56, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) ++ movq %xmm1, 16(%rsp) ++ movq %rsi, 24(%rsp) ++ movq %rdx, 32(%rsp) ++ movq %rcx, 40(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 40(%rsp), %rcx ++ movq 32(%rsp), %rdx ++ movq 24(%rsp), %rsi ++ movq 16(%rsp), %xmm1 ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $56, %rsp + movq 1760(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -7797,7 +8893,21 @@ + .type GL_PREFIX(Map1f), @function + GL_PREFIX(Map1f): + #if defined(GLX_USE_TLS) ++ subq $56, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) ++ movq %xmm1, 16(%rsp) ++ movq %rsi, 24(%rsp) ++ movq %rdx, 32(%rsp) ++ movq %rcx, 40(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 40(%rsp), %rcx ++ movq 32(%rsp), %rdx ++ movq 24(%rsp), %rsi ++ movq 16(%rsp), %xmm1 ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $56, %rsp + movq 1768(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -7850,7 +8960,29 @@ + .type GL_PREFIX(Map2d), @function + GL_PREFIX(Map2d): + #if defined(GLX_USE_TLS) ++ subq $88, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) ++ movq %xmm1, 16(%rsp) ++ movq %rsi, 24(%rsp) ++ movq %rdx, 32(%rsp) ++ movq %xmm2, 40(%rsp) ++ movq %xmm3, 48(%rsp) ++ movq %rcx, 56(%rsp) ++ movq %r8, 64(%rsp) ++ movq %r9, 72(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 72(%rsp), %r9 ++ movq 64(%rsp), %r8 ++ movq 56(%rsp), %rcx ++ movq 48(%rsp), %xmm3 ++ movq 40(%rsp), %xmm2 ++ movq 32(%rsp), %rdx ++ movq 24(%rsp), %rsi ++ movq 16(%rsp), %xmm1 ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $88, %rsp + movq 1776(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -7919,7 +9051,29 @@ + .type GL_PREFIX(Map2f), @function + GL_PREFIX(Map2f): + #if defined(GLX_USE_TLS) ++ subq $88, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) ++ movq %xmm1, 16(%rsp) ++ movq %rsi, 24(%rsp) ++ movq %rdx, 32(%rsp) ++ movq %xmm2, 40(%rsp) ++ movq %xmm3, 48(%rsp) ++ movq %rcx, 56(%rsp) ++ movq %r8, 64(%rsp) ++ movq %r9, 72(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 72(%rsp), %r9 ++ movq 64(%rsp), %r8 ++ movq 56(%rsp), %rcx ++ movq 48(%rsp), %xmm3 ++ movq 40(%rsp), %xmm2 ++ movq 32(%rsp), %rdx ++ movq 24(%rsp), %rsi ++ movq 16(%rsp), %xmm1 ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $88, %rsp + movq 1784(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -7988,7 +9142,15 @@ + .type GL_PREFIX(MapGrid1d), @function + GL_PREFIX(MapGrid1d): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) ++ movq %xmm1, 16(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 16(%rsp), %xmm1 ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $24, %rsp + movq 1792(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -8029,7 +9191,15 @@ + .type GL_PREFIX(MapGrid1f), @function + GL_PREFIX(MapGrid1f): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) ++ movq %xmm1, 16(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 16(%rsp), %xmm1 ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $24, %rsp + movq 1800(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -8070,7 +9240,21 @@ + .type GL_PREFIX(MapGrid2d), @function + GL_PREFIX(MapGrid2d): + #if defined(GLX_USE_TLS) ++ subq $56, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) ++ movq %xmm1, 16(%rsp) ++ movq %rsi, 24(%rsp) ++ movq %xmm2, 32(%rsp) ++ movq %xmm3, 40(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 40(%rsp), %xmm3 ++ movq 32(%rsp), %xmm2 ++ movq 24(%rsp), %rsi ++ movq 16(%rsp), %xmm1 ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $56, %rsp + movq 1808(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -8123,7 +9307,21 @@ + .type GL_PREFIX(MapGrid2f), @function + GL_PREFIX(MapGrid2f): + #if defined(GLX_USE_TLS) ++ subq $56, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) ++ movq %xmm1, 16(%rsp) ++ movq %rsi, 24(%rsp) ++ movq %xmm2, 32(%rsp) ++ movq %xmm3, 40(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 40(%rsp), %xmm3 ++ movq 32(%rsp), %xmm2 ++ movq 24(%rsp), %rsi ++ movq 16(%rsp), %xmm1 ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $56, %rsp + movq 1816(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -8176,7 +9374,11 @@ + .type GL_PREFIX(EvalCoord1d), @function + GL_PREFIX(EvalCoord1d): + #if defined(GLX_USE_TLS) ++ subq $8, %rsp ++ movq %xmm0, (%rsp) + call _x86_64_get_dispatch@PLT ++ movq (%rsp), %xmm0 ++ addq $8, %rsp + movq 1824(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -8209,7 +9411,9 @@ + .type GL_PREFIX(EvalCoord1dv), @function + GL_PREFIX(EvalCoord1dv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1832(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -8238,7 +9442,11 @@ + .type GL_PREFIX(EvalCoord1f), @function + GL_PREFIX(EvalCoord1f): + #if defined(GLX_USE_TLS) ++ subq $8, %rsp ++ movq %xmm0, (%rsp) + call _x86_64_get_dispatch@PLT ++ movq (%rsp), %xmm0 ++ addq $8, %rsp + movq 1840(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -8271,7 +9479,9 @@ + .type GL_PREFIX(EvalCoord1fv), @function + GL_PREFIX(EvalCoord1fv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1848(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -8300,7 +9510,13 @@ + .type GL_PREFIX(EvalCoord2d), @function + GL_PREFIX(EvalCoord2d): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $24, %rsp + movq 1856(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -8337,7 +9553,9 @@ + .type GL_PREFIX(EvalCoord2dv), @function + GL_PREFIX(EvalCoord2dv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1864(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -8366,7 +9584,13 @@ + .type GL_PREFIX(EvalCoord2f), @function + GL_PREFIX(EvalCoord2f): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $24, %rsp + movq 1872(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -8403,7 +9627,9 @@ + .type GL_PREFIX(EvalCoord2fv), @function + GL_PREFIX(EvalCoord2fv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1880(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -8432,7 +9658,13 @@ + .type GL_PREFIX(EvalMesh1), @function + GL_PREFIX(EvalMesh1): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 1888(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -8469,7 +9701,9 @@ + .type GL_PREFIX(EvalPoint1), @function + GL_PREFIX(EvalPoint1): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1896(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -8498,7 +9732,17 @@ + .type GL_PREFIX(EvalMesh2), @function + GL_PREFIX(EvalMesh2): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 1904(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -8543,7 +9787,13 @@ + .type GL_PREFIX(EvalPoint2), @function + GL_PREFIX(EvalPoint2): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 1912(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -8580,7 +9830,13 @@ + .type GL_PREFIX(AlphaFunc), @function + GL_PREFIX(AlphaFunc): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 1920(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -8617,7 +9873,13 @@ + .type GL_PREFIX(BlendFunc), @function + GL_PREFIX(BlendFunc): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 1928(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -8654,7 +9916,9 @@ + .type GL_PREFIX(LogicOp), @function + GL_PREFIX(LogicOp): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1936(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -8683,7 +9947,13 @@ + .type GL_PREFIX(StencilFunc), @function + GL_PREFIX(StencilFunc): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 1944(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -8720,7 +9990,13 @@ + .type GL_PREFIX(StencilOp), @function + GL_PREFIX(StencilOp): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 1952(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -8757,7 +10033,9 @@ + .type GL_PREFIX(DepthFunc), @function + GL_PREFIX(DepthFunc): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 1960(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -8786,7 +10064,13 @@ + .type GL_PREFIX(PixelZoom), @function + GL_PREFIX(PixelZoom): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $24, %rsp + movq 1968(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -8823,7 +10107,13 @@ + .type GL_PREFIX(PixelTransferf), @function + GL_PREFIX(PixelTransferf): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $24, %rsp + movq 1976(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -8860,7 +10150,13 @@ + .type GL_PREFIX(PixelTransferi), @function + GL_PREFIX(PixelTransferi): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 1984(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -8897,7 +10193,13 @@ + .type GL_PREFIX(PixelStoref), @function + GL_PREFIX(PixelStoref): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $24, %rsp + movq 1992(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -8934,7 +10236,13 @@ + .type GL_PREFIX(PixelStorei), @function + GL_PREFIX(PixelStorei): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 2000(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -8971,7 +10279,13 @@ + .type GL_PREFIX(PixelMapfv), @function + GL_PREFIX(PixelMapfv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2008(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -9008,7 +10322,13 @@ + .type GL_PREFIX(PixelMapuiv), @function + GL_PREFIX(PixelMapuiv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2016(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -9045,7 +10365,13 @@ + .type GL_PREFIX(PixelMapusv), @function + GL_PREFIX(PixelMapusv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2024(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -9082,7 +10408,9 @@ + .type GL_PREFIX(ReadBuffer), @function + GL_PREFIX(ReadBuffer): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 2032(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -9111,7 +10439,17 @@ + .type GL_PREFIX(CopyPixels), @function + GL_PREFIX(CopyPixels): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2040(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -9156,7 +10494,21 @@ + .type GL_PREFIX(ReadPixels), @function + GL_PREFIX(ReadPixels): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2048(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -9209,7 +10561,17 @@ + .type GL_PREFIX(DrawPixels), @function + GL_PREFIX(DrawPixels): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2056(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -9254,7 +10616,13 @@ + .type GL_PREFIX(GetBooleanv), @function + GL_PREFIX(GetBooleanv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 2064(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -9291,7 +10659,13 @@ + .type GL_PREFIX(GetClipPlane), @function + GL_PREFIX(GetClipPlane): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 2072(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -9328,7 +10702,13 @@ + .type GL_PREFIX(GetDoublev), @function + GL_PREFIX(GetDoublev): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 2080(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -9365,7 +10745,9 @@ + .type GL_PREFIX(GetError), @function + GL_PREFIX(GetError): + #if defined(GLX_USE_TLS) ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp + movq 2088(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -9394,7 +10776,13 @@ + .type GL_PREFIX(GetFloatv), @function + GL_PREFIX(GetFloatv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 2096(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -9431,7 +10819,13 @@ + .type GL_PREFIX(GetIntegerv), @function + GL_PREFIX(GetIntegerv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 2104(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -9468,7 +10862,13 @@ + .type GL_PREFIX(GetLightfv), @function + GL_PREFIX(GetLightfv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2112(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -9505,7 +10905,13 @@ + .type GL_PREFIX(GetLightiv), @function + GL_PREFIX(GetLightiv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2120(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -9542,7 +10948,13 @@ + .type GL_PREFIX(GetMapdv), @function + GL_PREFIX(GetMapdv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2128(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -9579,7 +10991,13 @@ + .type GL_PREFIX(GetMapfv), @function + GL_PREFIX(GetMapfv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2136(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -9616,7 +11034,13 @@ + .type GL_PREFIX(GetMapiv), @function + GL_PREFIX(GetMapiv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2144(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -9653,7 +11077,13 @@ + .type GL_PREFIX(GetMaterialfv), @function + GL_PREFIX(GetMaterialfv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2152(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -9690,7 +11120,13 @@ + .type GL_PREFIX(GetMaterialiv), @function + GL_PREFIX(GetMaterialiv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2160(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -9727,7 +11163,13 @@ + .type GL_PREFIX(GetPixelMapfv), @function + GL_PREFIX(GetPixelMapfv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 2168(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -9764,7 +11206,13 @@ + .type GL_PREFIX(GetPixelMapuiv), @function + GL_PREFIX(GetPixelMapuiv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 2176(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -9801,7 +11249,13 @@ + .type GL_PREFIX(GetPixelMapusv), @function + GL_PREFIX(GetPixelMapusv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 2184(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -9838,7 +11292,9 @@ + .type GL_PREFIX(GetPolygonStipple), @function + GL_PREFIX(GetPolygonStipple): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 2192(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -9867,7 +11323,9 @@ + .type GL_PREFIX(GetString), @function + GL_PREFIX(GetString): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 2200(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -9896,7 +11354,13 @@ + .type GL_PREFIX(GetTexEnvfv), @function + GL_PREFIX(GetTexEnvfv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2208(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -9933,7 +11397,13 @@ + .type GL_PREFIX(GetTexEnviv), @function + GL_PREFIX(GetTexEnviv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2216(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -9970,7 +11440,13 @@ + .type GL_PREFIX(GetTexGendv), @function + GL_PREFIX(GetTexGendv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2224(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -10007,7 +11483,13 @@ + .type GL_PREFIX(GetTexGenfv), @function + GL_PREFIX(GetTexGenfv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2232(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -10044,7 +11526,13 @@ + .type GL_PREFIX(GetTexGeniv), @function + GL_PREFIX(GetTexGeniv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2240(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -10081,7 +11569,17 @@ + .type GL_PREFIX(GetTexImage), @function + GL_PREFIX(GetTexImage): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2248(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -10126,7 +11624,13 @@ + .type GL_PREFIX(GetTexParameterfv), @function + GL_PREFIX(GetTexParameterfv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2256(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -10163,7 +11667,13 @@ + .type GL_PREFIX(GetTexParameteriv), @function + GL_PREFIX(GetTexParameteriv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2264(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -10200,7 +11710,17 @@ + .type GL_PREFIX(GetTexLevelParameterfv), @function + GL_PREFIX(GetTexLevelParameterfv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2272(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -10245,10 +11765,6 @@ + .type GL_PREFIX(GetTexLevelParameteriv), @function + GL_PREFIX(GetTexLevelParameteriv): + #if defined(GLX_USE_TLS) +- call _x86_64_get_dispatch@PLT +- movq 2280(%rax), %r11 +- jmp *%r11 +-#elif defined(PTHREADS) + pushq %rdi + pushq %rsi + pushq %rdx +@@ -10262,10 +11778,24 @@ + popq %rdi + movq 2280(%rax), %r11 + jmp *%r11 +-#else +- movq _glapi_Dispatch(%rip), %rax +- testq %rax, %rax +- je 1f ++#elif defined(PTHREADS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp ++ call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi ++ movq 2280(%rax), %r11 ++ jmp *%r11 ++#else ++ movq _glapi_Dispatch(%rip), %rax ++ testq %rax, %rax ++ je 1f + movq 2280(%rax), %r11 + jmp *%r11 + 1: +@@ -10290,7 +11820,9 @@ + .type GL_PREFIX(IsEnabled), @function + GL_PREFIX(IsEnabled): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 2288(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -10319,7 +11851,9 @@ + .type GL_PREFIX(IsList), @function + GL_PREFIX(IsList): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 2296(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -10348,7 +11882,13 @@ + .type GL_PREFIX(DepthRange), @function + GL_PREFIX(DepthRange): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 2304(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -10385,7 +11925,21 @@ + .type GL_PREFIX(Frustum), @function + GL_PREFIX(Frustum): + #if defined(GLX_USE_TLS) ++ subq $56, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) ++ movq %xmm2, 16(%rsp) ++ movq %xmm3, 24(%rsp) ++ movq %xmm4, 32(%rsp) ++ movq %xmm5, 40(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 40(%rsp), %xmm5 ++ movq 32(%rsp), %xmm4 ++ movq 24(%rsp), %xmm3 ++ movq 16(%rsp), %xmm2 ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $56, %rsp + movq 2312(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -10438,7 +11992,9 @@ + .type GL_PREFIX(LoadIdentity), @function + GL_PREFIX(LoadIdentity): + #if defined(GLX_USE_TLS) ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp + movq 2320(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -10467,7 +12023,9 @@ + .type GL_PREFIX(LoadMatrixf), @function + GL_PREFIX(LoadMatrixf): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 2328(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -10496,7 +12054,9 @@ + .type GL_PREFIX(LoadMatrixd), @function + GL_PREFIX(LoadMatrixd): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 2336(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -10525,7 +12085,9 @@ + .type GL_PREFIX(MatrixMode), @function + GL_PREFIX(MatrixMode): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 2344(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -10554,7 +12116,9 @@ + .type GL_PREFIX(MultMatrixf), @function + GL_PREFIX(MultMatrixf): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 2352(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -10583,7 +12147,9 @@ + .type GL_PREFIX(MultMatrixd), @function + GL_PREFIX(MultMatrixd): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 2360(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -10612,7 +12178,21 @@ + .type GL_PREFIX(Ortho), @function + GL_PREFIX(Ortho): + #if defined(GLX_USE_TLS) ++ subq $56, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) ++ movq %xmm2, 16(%rsp) ++ movq %xmm3, 24(%rsp) ++ movq %xmm4, 32(%rsp) ++ movq %xmm5, 40(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 40(%rsp), %xmm5 ++ movq 32(%rsp), %xmm4 ++ movq 24(%rsp), %xmm3 ++ movq 16(%rsp), %xmm2 ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $56, %rsp + movq 2368(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -10665,7 +12245,9 @@ + .type GL_PREFIX(PopMatrix), @function + GL_PREFIX(PopMatrix): + #if defined(GLX_USE_TLS) ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp + movq 2376(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -10694,7 +12276,9 @@ + .type GL_PREFIX(PushMatrix), @function + GL_PREFIX(PushMatrix): + #if defined(GLX_USE_TLS) ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp + movq 2384(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -10723,7 +12307,17 @@ + .type GL_PREFIX(Rotated), @function + GL_PREFIX(Rotated): + #if defined(GLX_USE_TLS) ++ subq $40, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) ++ movq %xmm2, 16(%rsp) ++ movq %xmm3, 24(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 24(%rsp), %xmm3 ++ movq 16(%rsp), %xmm2 ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $40, %rsp + movq 2392(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -10768,7 +12362,17 @@ + .type GL_PREFIX(Rotatef), @function + GL_PREFIX(Rotatef): + #if defined(GLX_USE_TLS) ++ subq $40, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) ++ movq %xmm2, 16(%rsp) ++ movq %xmm3, 24(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 24(%rsp), %xmm3 ++ movq 16(%rsp), %xmm2 ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $40, %rsp + movq 2400(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -10813,7 +12417,15 @@ + .type GL_PREFIX(Scaled), @function + GL_PREFIX(Scaled): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) ++ movq %xmm2, 16(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 16(%rsp), %xmm2 ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $24, %rsp + movq 2408(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -10854,7 +12466,15 @@ + .type GL_PREFIX(Scalef), @function + GL_PREFIX(Scalef): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) ++ movq %xmm2, 16(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 16(%rsp), %xmm2 ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $24, %rsp + movq 2416(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -10895,7 +12515,15 @@ + .type GL_PREFIX(Translated), @function + GL_PREFIX(Translated): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) ++ movq %xmm2, 16(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 16(%rsp), %xmm2 ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $24, %rsp + movq 2424(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -10936,7 +12564,15 @@ + .type GL_PREFIX(Translatef), @function + GL_PREFIX(Translatef): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) ++ movq %xmm2, 16(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 16(%rsp), %xmm2 ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $24, %rsp + movq 2432(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -10977,7 +12613,17 @@ + .type GL_PREFIX(Viewport), @function + GL_PREFIX(Viewport): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2440(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -11022,7 +12668,9 @@ + .type GL_PREFIX(ArrayElement), @function + GL_PREFIX(ArrayElement): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 2448(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -11051,7 +12699,13 @@ + .type GL_PREFIX(BindTexture), @function + GL_PREFIX(BindTexture): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 2456(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -11088,7 +12742,17 @@ + .type GL_PREFIX(ColorPointer), @function + GL_PREFIX(ColorPointer): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2464(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -11133,7 +12797,9 @@ + .type GL_PREFIX(DisableClientState), @function + GL_PREFIX(DisableClientState): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 2472(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -11162,7 +12828,13 @@ + .type GL_PREFIX(DrawArrays), @function + GL_PREFIX(DrawArrays): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2480(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -11199,7 +12871,17 @@ + .type GL_PREFIX(DrawElements), @function + GL_PREFIX(DrawElements): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2488(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -11244,7 +12926,13 @@ + .type GL_PREFIX(EdgeFlagPointer), @function + GL_PREFIX(EdgeFlagPointer): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 2496(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -11281,7 +12969,9 @@ + .type GL_PREFIX(EnableClientState), @function + GL_PREFIX(EnableClientState): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 2504(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -11310,7 +13000,13 @@ + .type GL_PREFIX(IndexPointer), @function + GL_PREFIX(IndexPointer): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2512(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -11347,7 +13043,9 @@ + .type GL_PREFIX(Indexub), @function + GL_PREFIX(Indexub): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 2520(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -11376,7 +13074,9 @@ + .type GL_PREFIX(Indexubv), @function + GL_PREFIX(Indexubv): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 2528(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -11405,7 +13105,13 @@ + .type GL_PREFIX(InterleavedArrays), @function + GL_PREFIX(InterleavedArrays): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2536(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -11442,7 +13148,13 @@ + .type GL_PREFIX(NormalPointer), @function + GL_PREFIX(NormalPointer): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2544(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -11479,7 +13191,13 @@ + .type GL_PREFIX(PolygonOffset), @function + GL_PREFIX(PolygonOffset): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $24, %rsp + movq 2552(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -11516,7 +13234,17 @@ + .type GL_PREFIX(TexCoordPointer), @function + GL_PREFIX(TexCoordPointer): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2560(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -11561,7 +13289,17 @@ + .type GL_PREFIX(VertexPointer), @function + GL_PREFIX(VertexPointer): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2568(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -11606,7 +13344,13 @@ + .type GL_PREFIX(AreTexturesResident), @function + GL_PREFIX(AreTexturesResident): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2576(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -11643,7 +13387,21 @@ + .type GL_PREFIX(CopyTexImage1D), @function + GL_PREFIX(CopyTexImage1D): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2584(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -11696,7 +13454,21 @@ + .type GL_PREFIX(CopyTexImage2D), @function + GL_PREFIX(CopyTexImage2D): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2592(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -11749,7 +13521,21 @@ + .type GL_PREFIX(CopyTexSubImage1D), @function + GL_PREFIX(CopyTexSubImage1D): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2600(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -11802,7 +13588,21 @@ + .type GL_PREFIX(CopyTexSubImage2D), @function + GL_PREFIX(CopyTexSubImage2D): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2608(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -11855,7 +13655,13 @@ + .type GL_PREFIX(DeleteTextures), @function + GL_PREFIX(DeleteTextures): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 2616(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -11892,7 +13698,13 @@ + .type GL_PREFIX(GenTextures), @function + GL_PREFIX(GenTextures): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 2624(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -11929,7 +13741,13 @@ + .type GL_PREFIX(GetPointerv), @function + GL_PREFIX(GetPointerv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 2632(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -11966,7 +13784,9 @@ + .type GL_PREFIX(IsTexture), @function + GL_PREFIX(IsTexture): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 2640(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -11995,7 +13815,13 @@ + .type GL_PREFIX(PrioritizeTextures), @function + GL_PREFIX(PrioritizeTextures): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2648(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -12032,7 +13858,21 @@ + .type GL_PREFIX(TexSubImage1D), @function + GL_PREFIX(TexSubImage1D): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2656(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -12085,7 +13925,21 @@ + .type GL_PREFIX(TexSubImage2D), @function + GL_PREFIX(TexSubImage2D): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2664(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -12138,7 +13992,9 @@ + .type GL_PREFIX(PopClientAttrib), @function + GL_PREFIX(PopClientAttrib): + #if defined(GLX_USE_TLS) ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp + movq 2672(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -12167,7 +14023,9 @@ + .type GL_PREFIX(PushClientAttrib), @function + GL_PREFIX(PushClientAttrib): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 2680(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -12196,7 +14054,17 @@ + .type GL_PREFIX(BlendColor), @function + GL_PREFIX(BlendColor): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2688(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -12241,7 +14109,9 @@ + .type GL_PREFIX(BlendEquation), @function + GL_PREFIX(BlendEquation): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 2696(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -12270,7 +14140,21 @@ + .type GL_PREFIX(DrawRangeElements), @function + GL_PREFIX(DrawRangeElements): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2704(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -12323,7 +14207,21 @@ + .type GL_PREFIX(ColorTable), @function + GL_PREFIX(ColorTable): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2712(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -12376,7 +14274,13 @@ + .type GL_PREFIX(ColorTableParameterfv), @function + GL_PREFIX(ColorTableParameterfv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2720(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -12413,7 +14317,13 @@ + .type GL_PREFIX(ColorTableParameteriv), @function + GL_PREFIX(ColorTableParameteriv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2728(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -12450,7 +14360,17 @@ + .type GL_PREFIX(CopyColorTable), @function + GL_PREFIX(CopyColorTable): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2736(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -12495,7 +14415,17 @@ + .type GL_PREFIX(GetColorTable), @function + GL_PREFIX(GetColorTable): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2744(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -12540,7 +14470,13 @@ + .type GL_PREFIX(GetColorTableParameterfv), @function + GL_PREFIX(GetColorTableParameterfv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2752(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -12577,7 +14513,13 @@ + .type GL_PREFIX(GetColorTableParameteriv), @function + GL_PREFIX(GetColorTableParameteriv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2760(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -12614,7 +14556,21 @@ + .type GL_PREFIX(ColorSubTable), @function + GL_PREFIX(ColorSubTable): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2768(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -12667,7 +14623,17 @@ + .type GL_PREFIX(CopyColorSubTable), @function + GL_PREFIX(CopyColorSubTable): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2776(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -12712,7 +14678,21 @@ + .type GL_PREFIX(ConvolutionFilter1D), @function + GL_PREFIX(ConvolutionFilter1D): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2784(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -12765,7 +14745,21 @@ + .type GL_PREFIX(ConvolutionFilter2D), @function + GL_PREFIX(ConvolutionFilter2D): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2792(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -12818,7 +14812,15 @@ + .type GL_PREFIX(ConvolutionParameterf), @function + GL_PREFIX(ConvolutionParameterf): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %rdi, (%rsp) ++ movq %rsi, 8(%rsp) ++ movq %xmm0, 16(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 16(%rsp), %xmm0 ++ movq 8(%rsp), %rsi ++ movq (%rsp), %rdi ++ addq $24, %rsp + movq 2800(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -12859,7 +14861,13 @@ + .type GL_PREFIX(ConvolutionParameterfv), @function + GL_PREFIX(ConvolutionParameterfv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2808(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -12896,7 +14904,13 @@ + .type GL_PREFIX(ConvolutionParameteri), @function + GL_PREFIX(ConvolutionParameteri): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2816(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -12933,7 +14947,13 @@ + .type GL_PREFIX(ConvolutionParameteriv), @function + GL_PREFIX(ConvolutionParameteriv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2824(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -12970,7 +14990,17 @@ + .type GL_PREFIX(CopyConvolutionFilter1D), @function + GL_PREFIX(CopyConvolutionFilter1D): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2832(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -13015,7 +15045,21 @@ + .type GL_PREFIX(CopyConvolutionFilter2D), @function + GL_PREFIX(CopyConvolutionFilter2D): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2840(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -13068,7 +15112,17 @@ + .type GL_PREFIX(GetConvolutionFilter), @function + GL_PREFIX(GetConvolutionFilter): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2848(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -13113,7 +15167,13 @@ + .type GL_PREFIX(GetConvolutionParameterfv), @function + GL_PREFIX(GetConvolutionParameterfv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2856(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -13150,7 +15210,13 @@ + .type GL_PREFIX(GetConvolutionParameteriv), @function + GL_PREFIX(GetConvolutionParameteriv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2864(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -13187,7 +15253,21 @@ + .type GL_PREFIX(GetSeparableFilter), @function + GL_PREFIX(GetSeparableFilter): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2872(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -13240,7 +15320,21 @@ + .type GL_PREFIX(SeparableFilter2D), @function + GL_PREFIX(SeparableFilter2D): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2880(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -13293,7 +15387,17 @@ + .type GL_PREFIX(GetHistogram), @function + GL_PREFIX(GetHistogram): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2888(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -13338,7 +15442,13 @@ + .type GL_PREFIX(GetHistogramParameterfv), @function + GL_PREFIX(GetHistogramParameterfv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2896(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -13375,7 +15485,13 @@ + .type GL_PREFIX(GetHistogramParameteriv), @function + GL_PREFIX(GetHistogramParameteriv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2904(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -13412,7 +15528,17 @@ + .type GL_PREFIX(GetMinmax), @function + GL_PREFIX(GetMinmax): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2912(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -13457,7 +15583,13 @@ + .type GL_PREFIX(GetMinmaxParameterfv), @function + GL_PREFIX(GetMinmaxParameterfv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2920(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -13494,7 +15626,13 @@ + .type GL_PREFIX(GetMinmaxParameteriv), @function + GL_PREFIX(GetMinmaxParameteriv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2928(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -13531,7 +15669,17 @@ + .type GL_PREFIX(Histogram), @function + GL_PREFIX(Histogram): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2936(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -13576,7 +15724,13 @@ + .type GL_PREFIX(Minmax), @function + GL_PREFIX(Minmax): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2944(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -13613,7 +15767,9 @@ + .type GL_PREFIX(ResetHistogram), @function + GL_PREFIX(ResetHistogram): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 2952(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -13642,7 +15798,9 @@ + .type GL_PREFIX(ResetMinmax), @function + GL_PREFIX(ResetMinmax): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 2960(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -13671,7 +15829,21 @@ + .type GL_PREFIX(TexImage3D), @function + GL_PREFIX(TexImage3D): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2968(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -13724,7 +15896,21 @@ + .type GL_PREFIX(TexSubImage3D), @function + GL_PREFIX(TexSubImage3D): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2976(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -13777,7 +15963,21 @@ + .type GL_PREFIX(CopyTexSubImage3D), @function + GL_PREFIX(CopyTexSubImage3D): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 2984(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -13830,7 +16030,9 @@ + .type GL_PREFIX(ActiveTextureARB), @function + GL_PREFIX(ActiveTextureARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 2992(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -13859,7 +16061,9 @@ + .type GL_PREFIX(ClientActiveTextureARB), @function + GL_PREFIX(ClientActiveTextureARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 3000(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -13888,7 +16092,13 @@ + .type GL_PREFIX(MultiTexCoord1dARB), @function + GL_PREFIX(MultiTexCoord1dARB): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $24, %rsp + movq 3008(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -13925,7 +16135,13 @@ + .type GL_PREFIX(MultiTexCoord1dvARB), @function + GL_PREFIX(MultiTexCoord1dvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3016(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -13962,7 +16178,13 @@ + .type GL_PREFIX(MultiTexCoord1fARB), @function + GL_PREFIX(MultiTexCoord1fARB): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $24, %rsp + movq 3024(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -13999,7 +16221,13 @@ + .type GL_PREFIX(MultiTexCoord1fvARB), @function + GL_PREFIX(MultiTexCoord1fvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3032(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -14036,7 +16264,13 @@ + .type GL_PREFIX(MultiTexCoord1iARB), @function + GL_PREFIX(MultiTexCoord1iARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3040(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -14073,7 +16307,13 @@ + .type GL_PREFIX(MultiTexCoord1ivARB), @function + GL_PREFIX(MultiTexCoord1ivARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3048(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -14110,7 +16350,13 @@ + .type GL_PREFIX(MultiTexCoord1sARB), @function + GL_PREFIX(MultiTexCoord1sARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3056(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -14147,7 +16393,13 @@ + .type GL_PREFIX(MultiTexCoord1svARB), @function + GL_PREFIX(MultiTexCoord1svARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3064(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -14184,7 +16436,15 @@ + .type GL_PREFIX(MultiTexCoord2dARB), @function + GL_PREFIX(MultiTexCoord2dARB): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) ++ movq %xmm1, 16(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 16(%rsp), %xmm1 ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $24, %rsp + movq 3072(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -14225,7 +16485,13 @@ + .type GL_PREFIX(MultiTexCoord2dvARB), @function + GL_PREFIX(MultiTexCoord2dvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3080(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -14262,7 +16528,15 @@ + .type GL_PREFIX(MultiTexCoord2fARB), @function + GL_PREFIX(MultiTexCoord2fARB): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) ++ movq %xmm1, 16(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 16(%rsp), %xmm1 ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $24, %rsp + movq 3088(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -14303,7 +16577,13 @@ + .type GL_PREFIX(MultiTexCoord2fvARB), @function + GL_PREFIX(MultiTexCoord2fvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3096(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -14340,7 +16620,13 @@ + .type GL_PREFIX(MultiTexCoord2iARB), @function + GL_PREFIX(MultiTexCoord2iARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3104(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -14377,7 +16663,13 @@ + .type GL_PREFIX(MultiTexCoord2ivARB), @function + GL_PREFIX(MultiTexCoord2ivARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3112(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -14414,7 +16706,13 @@ + .type GL_PREFIX(MultiTexCoord2sARB), @function + GL_PREFIX(MultiTexCoord2sARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3120(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -14451,7 +16749,13 @@ + .type GL_PREFIX(MultiTexCoord2svARB), @function + GL_PREFIX(MultiTexCoord2svARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3128(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -14488,7 +16792,17 @@ + .type GL_PREFIX(MultiTexCoord3dARB), @function + GL_PREFIX(MultiTexCoord3dARB): + #if defined(GLX_USE_TLS) ++ subq $40, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) ++ movq %xmm1, 16(%rsp) ++ movq %xmm2, 24(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 24(%rsp), %xmm2 ++ movq 16(%rsp), %xmm1 ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $40, %rsp + movq 3136(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -14533,7 +16847,13 @@ + .type GL_PREFIX(MultiTexCoord3dvARB), @function + GL_PREFIX(MultiTexCoord3dvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3144(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -14570,7 +16890,17 @@ + .type GL_PREFIX(MultiTexCoord3fARB), @function + GL_PREFIX(MultiTexCoord3fARB): + #if defined(GLX_USE_TLS) ++ subq $40, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) ++ movq %xmm1, 16(%rsp) ++ movq %xmm2, 24(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 24(%rsp), %xmm2 ++ movq 16(%rsp), %xmm1 ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $40, %rsp + movq 3152(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -14615,7 +16945,13 @@ + .type GL_PREFIX(MultiTexCoord3fvARB), @function + GL_PREFIX(MultiTexCoord3fvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3160(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -14652,7 +16988,17 @@ + .type GL_PREFIX(MultiTexCoord3iARB), @function + GL_PREFIX(MultiTexCoord3iARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3168(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -14697,7 +17043,13 @@ + .type GL_PREFIX(MultiTexCoord3ivARB), @function + GL_PREFIX(MultiTexCoord3ivARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3176(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -14734,7 +17086,17 @@ + .type GL_PREFIX(MultiTexCoord3sARB), @function + GL_PREFIX(MultiTexCoord3sARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3184(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -14779,7 +17141,13 @@ + .type GL_PREFIX(MultiTexCoord3svARB), @function + GL_PREFIX(MultiTexCoord3svARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3192(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -14816,7 +17184,19 @@ + .type GL_PREFIX(MultiTexCoord4dARB), @function + GL_PREFIX(MultiTexCoord4dARB): + #if defined(GLX_USE_TLS) ++ subq $40, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) ++ movq %xmm1, 16(%rsp) ++ movq %xmm2, 24(%rsp) ++ movq %xmm3, 32(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 32(%rsp), %xmm3 ++ movq 24(%rsp), %xmm2 ++ movq 16(%rsp), %xmm1 ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $40, %rsp + movq 3200(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -14865,7 +17245,13 @@ + .type GL_PREFIX(MultiTexCoord4dvARB), @function + GL_PREFIX(MultiTexCoord4dvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3208(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -14902,7 +17288,19 @@ + .type GL_PREFIX(MultiTexCoord4fARB), @function + GL_PREFIX(MultiTexCoord4fARB): + #if defined(GLX_USE_TLS) ++ subq $40, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) ++ movq %xmm1, 16(%rsp) ++ movq %xmm2, 24(%rsp) ++ movq %xmm3, 32(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 32(%rsp), %xmm3 ++ movq 24(%rsp), %xmm2 ++ movq 16(%rsp), %xmm1 ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $40, %rsp + movq 3216(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -14951,7 +17349,13 @@ + .type GL_PREFIX(MultiTexCoord4fvARB), @function + GL_PREFIX(MultiTexCoord4fvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3224(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -14988,7 +17392,17 @@ + .type GL_PREFIX(MultiTexCoord4iARB), @function + GL_PREFIX(MultiTexCoord4iARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3232(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -15033,7 +17447,13 @@ + .type GL_PREFIX(MultiTexCoord4ivARB), @function + GL_PREFIX(MultiTexCoord4ivARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3240(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -15070,7 +17490,17 @@ + .type GL_PREFIX(MultiTexCoord4sARB), @function + GL_PREFIX(MultiTexCoord4sARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3248(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -15115,7 +17545,13 @@ + .type GL_PREFIX(MultiTexCoord4svARB), @function + GL_PREFIX(MultiTexCoord4svARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3256(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -15152,7 +17588,13 @@ + .type GL_PREFIX(AttachShader), @function + GL_PREFIX(AttachShader): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3264(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -15189,7 +17631,9 @@ + .type GL_PREFIX(CreateProgram), @function + GL_PREFIX(CreateProgram): + #if defined(GLX_USE_TLS) ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp + movq 3272(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -15218,7 +17662,9 @@ + .type GL_PREFIX(CreateShader), @function + GL_PREFIX(CreateShader): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 3280(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -15247,7 +17693,9 @@ + .type GL_PREFIX(DeleteProgram), @function + GL_PREFIX(DeleteProgram): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 3288(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -15276,7 +17724,9 @@ + .type GL_PREFIX(DeleteShader), @function + GL_PREFIX(DeleteShader): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 3296(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -15305,7 +17755,13 @@ + .type GL_PREFIX(DetachShader), @function + GL_PREFIX(DetachShader): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3304(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -15342,7 +17798,17 @@ + .type GL_PREFIX(GetAttachedShaders), @function + GL_PREFIX(GetAttachedShaders): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3312(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -15387,7 +17853,17 @@ + .type GL_PREFIX(GetProgramInfoLog), @function + GL_PREFIX(GetProgramInfoLog): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3320(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -15432,7 +17908,13 @@ + .type GL_PREFIX(GetProgramiv), @function + GL_PREFIX(GetProgramiv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3328(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -15469,7 +17951,17 @@ + .type GL_PREFIX(GetShaderInfoLog), @function + GL_PREFIX(GetShaderInfoLog): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3336(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -15514,7 +18006,13 @@ + .type GL_PREFIX(GetShaderiv), @function + GL_PREFIX(GetShaderiv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3344(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -15551,7 +18049,9 @@ + .type GL_PREFIX(IsProgram), @function + GL_PREFIX(IsProgram): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 3352(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -15580,7 +18080,9 @@ + .type GL_PREFIX(IsShader), @function + GL_PREFIX(IsShader): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 3360(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -15609,7 +18111,17 @@ + .type GL_PREFIX(StencilFuncSeparate), @function + GL_PREFIX(StencilFuncSeparate): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3368(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -15654,7 +18166,13 @@ + .type GL_PREFIX(StencilMaskSeparate), @function + GL_PREFIX(StencilMaskSeparate): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3376(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -15691,7 +18209,17 @@ + .type GL_PREFIX(StencilOpSeparate), @function + GL_PREFIX(StencilOpSeparate): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3384(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -15736,7 +18264,17 @@ + .type GL_PREFIX(UniformMatrix2x3fv), @function + GL_PREFIX(UniformMatrix2x3fv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3392(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -15781,7 +18319,17 @@ + .type GL_PREFIX(UniformMatrix2x4fv), @function + GL_PREFIX(UniformMatrix2x4fv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3400(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -15826,7 +18374,17 @@ + .type GL_PREFIX(UniformMatrix3x2fv), @function + GL_PREFIX(UniformMatrix3x2fv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3408(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -15871,7 +18429,17 @@ + .type GL_PREFIX(UniformMatrix3x4fv), @function + GL_PREFIX(UniformMatrix3x4fv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3416(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -15916,7 +18484,17 @@ + .type GL_PREFIX(UniformMatrix4x2fv), @function + GL_PREFIX(UniformMatrix4x2fv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3424(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -15961,7 +18539,17 @@ + .type GL_PREFIX(UniformMatrix4x3fv), @function + GL_PREFIX(UniformMatrix4x3fv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3432(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -16006,7 +18594,13 @@ + .type GL_PREFIX(ClampColor), @function + GL_PREFIX(ClampColor): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3440(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -16043,7 +18637,17 @@ + .type GL_PREFIX(ClearBufferfi), @function + GL_PREFIX(ClearBufferfi): + #if defined(GLX_USE_TLS) ++ subq $40, %rsp ++ movq %rdi, (%rsp) ++ movq %rsi, 8(%rsp) ++ movq %xmm0, 16(%rsp) ++ movq %rdx, 24(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 24(%rsp), %rdx ++ movq 16(%rsp), %xmm0 ++ movq 8(%rsp), %rsi ++ movq (%rsp), %rdi ++ addq $40, %rsp + movq 3448(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -16088,7 +18692,13 @@ + .type GL_PREFIX(ClearBufferfv), @function + GL_PREFIX(ClearBufferfv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3456(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -16125,7 +18735,13 @@ + .type GL_PREFIX(ClearBufferiv), @function + GL_PREFIX(ClearBufferiv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3464(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -16162,7 +18778,13 @@ + .type GL_PREFIX(ClearBufferuiv), @function + GL_PREFIX(ClearBufferuiv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3472(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -16199,7 +18821,13 @@ + .type GL_PREFIX(GetStringi), @function + GL_PREFIX(GetStringi): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3480(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -16236,7 +18864,13 @@ + .type GL_PREFIX(TexBuffer), @function + GL_PREFIX(TexBuffer): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3488(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -16273,7 +18907,17 @@ + .type GL_PREFIX(FramebufferTexture), @function + GL_PREFIX(FramebufferTexture): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3496(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -16318,7 +18962,13 @@ + .type GL_PREFIX(GetBufferParameteri64v), @function + GL_PREFIX(GetBufferParameteri64v): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3504(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -16355,7 +19005,13 @@ + .type GL_PREFIX(GetInteger64i_v), @function + GL_PREFIX(GetInteger64i_v): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3512(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -16392,7 +19048,13 @@ + .type GL_PREFIX(VertexAttribDivisor), @function + GL_PREFIX(VertexAttribDivisor): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3520(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -16429,7 +19091,9 @@ + .type GL_PREFIX(LoadTransposeMatrixdARB), @function + GL_PREFIX(LoadTransposeMatrixdARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 3528(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -16458,7 +19122,9 @@ + .type GL_PREFIX(LoadTransposeMatrixfARB), @function + GL_PREFIX(LoadTransposeMatrixfARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 3536(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -16487,7 +19153,9 @@ + .type GL_PREFIX(MultTransposeMatrixdARB), @function + GL_PREFIX(MultTransposeMatrixdARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 3544(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -16516,7 +19184,9 @@ + .type GL_PREFIX(MultTransposeMatrixfARB), @function + GL_PREFIX(MultTransposeMatrixfARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 3552(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -16545,7 +19215,13 @@ + .type GL_PREFIX(SampleCoverageARB), @function + GL_PREFIX(SampleCoverageARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3560(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -16582,7 +19258,21 @@ + .type GL_PREFIX(CompressedTexImage1DARB), @function + GL_PREFIX(CompressedTexImage1DARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3568(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -16635,7 +19325,21 @@ + .type GL_PREFIX(CompressedTexImage2DARB), @function + GL_PREFIX(CompressedTexImage2DARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3576(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -16688,7 +19392,21 @@ + .type GL_PREFIX(CompressedTexImage3DARB), @function + GL_PREFIX(CompressedTexImage3DARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3584(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -16741,7 +19459,21 @@ + .type GL_PREFIX(CompressedTexSubImage1DARB), @function + GL_PREFIX(CompressedTexSubImage1DARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3592(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -16794,7 +19526,21 @@ + .type GL_PREFIX(CompressedTexSubImage2DARB), @function + GL_PREFIX(CompressedTexSubImage2DARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3600(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -16847,7 +19593,21 @@ + .type GL_PREFIX(CompressedTexSubImage3DARB), @function + GL_PREFIX(CompressedTexSubImage3DARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3608(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -16900,7 +19660,13 @@ + .type GL_PREFIX(GetCompressedTexImageARB), @function + GL_PREFIX(GetCompressedTexImageARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3616(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -16937,7 +19703,9 @@ + .type GL_PREFIX(DisableVertexAttribArrayARB), @function + GL_PREFIX(DisableVertexAttribArrayARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 3624(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -16966,7 +19734,9 @@ + .type GL_PREFIX(EnableVertexAttribArrayARB), @function + GL_PREFIX(EnableVertexAttribArrayARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 3632(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -16995,7 +19765,13 @@ + .type GL_PREFIX(GetProgramEnvParameterdvARB), @function + GL_PREFIX(GetProgramEnvParameterdvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3640(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -17032,7 +19808,13 @@ + .type GL_PREFIX(GetProgramEnvParameterfvARB), @function + GL_PREFIX(GetProgramEnvParameterfvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3648(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -17069,7 +19851,13 @@ + .type GL_PREFIX(GetProgramLocalParameterdvARB), @function + GL_PREFIX(GetProgramLocalParameterdvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3656(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -17106,7 +19894,13 @@ + .type GL_PREFIX(GetProgramLocalParameterfvARB), @function + GL_PREFIX(GetProgramLocalParameterfvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3664(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -17143,7 +19937,13 @@ + .type GL_PREFIX(GetProgramStringARB), @function + GL_PREFIX(GetProgramStringARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3672(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -17180,7 +19980,13 @@ + .type GL_PREFIX(GetProgramivARB), @function + GL_PREFIX(GetProgramivARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3680(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -17217,7 +20023,13 @@ + .type GL_PREFIX(GetVertexAttribdvARB), @function + GL_PREFIX(GetVertexAttribdvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3688(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -17254,7 +20066,13 @@ + .type GL_PREFIX(GetVertexAttribfvARB), @function + GL_PREFIX(GetVertexAttribfvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3696(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -17291,7 +20109,13 @@ + .type GL_PREFIX(GetVertexAttribivARB), @function + GL_PREFIX(GetVertexAttribivARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3704(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -17328,7 +20152,21 @@ + .type GL_PREFIX(ProgramEnvParameter4dARB), @function + GL_PREFIX(ProgramEnvParameter4dARB): + #if defined(GLX_USE_TLS) ++ subq $56, %rsp ++ movq %rdi, (%rsp) ++ movq %rsi, 8(%rsp) ++ movq %xmm0, 16(%rsp) ++ movq %xmm1, 24(%rsp) ++ movq %xmm2, 32(%rsp) ++ movq %xmm3, 40(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 40(%rsp), %xmm3 ++ movq 32(%rsp), %xmm2 ++ movq 24(%rsp), %xmm1 ++ movq 16(%rsp), %xmm0 ++ movq 8(%rsp), %rsi ++ movq (%rsp), %rdi ++ addq $56, %rsp + movq 3712(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -17381,7 +20219,13 @@ + .type GL_PREFIX(ProgramEnvParameter4dvARB), @function + GL_PREFIX(ProgramEnvParameter4dvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3720(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -17418,7 +20262,21 @@ + .type GL_PREFIX(ProgramEnvParameter4fARB), @function + GL_PREFIX(ProgramEnvParameter4fARB): + #if defined(GLX_USE_TLS) ++ subq $56, %rsp ++ movq %rdi, (%rsp) ++ movq %rsi, 8(%rsp) ++ movq %xmm0, 16(%rsp) ++ movq %xmm1, 24(%rsp) ++ movq %xmm2, 32(%rsp) ++ movq %xmm3, 40(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 40(%rsp), %xmm3 ++ movq 32(%rsp), %xmm2 ++ movq 24(%rsp), %xmm1 ++ movq 16(%rsp), %xmm0 ++ movq 8(%rsp), %rsi ++ movq (%rsp), %rdi ++ addq $56, %rsp + movq 3728(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -17471,7 +20329,13 @@ + .type GL_PREFIX(ProgramEnvParameter4fvARB), @function + GL_PREFIX(ProgramEnvParameter4fvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3736(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -17508,7 +20372,21 @@ + .type GL_PREFIX(ProgramLocalParameter4dARB), @function + GL_PREFIX(ProgramLocalParameter4dARB): + #if defined(GLX_USE_TLS) ++ subq $56, %rsp ++ movq %rdi, (%rsp) ++ movq %rsi, 8(%rsp) ++ movq %xmm0, 16(%rsp) ++ movq %xmm1, 24(%rsp) ++ movq %xmm2, 32(%rsp) ++ movq %xmm3, 40(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 40(%rsp), %xmm3 ++ movq 32(%rsp), %xmm2 ++ movq 24(%rsp), %xmm1 ++ movq 16(%rsp), %xmm0 ++ movq 8(%rsp), %rsi ++ movq (%rsp), %rdi ++ addq $56, %rsp + movq 3744(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -17561,7 +20439,13 @@ + .type GL_PREFIX(ProgramLocalParameter4dvARB), @function + GL_PREFIX(ProgramLocalParameter4dvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3752(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -17598,7 +20482,21 @@ + .type GL_PREFIX(ProgramLocalParameter4fARB), @function + GL_PREFIX(ProgramLocalParameter4fARB): + #if defined(GLX_USE_TLS) ++ subq $56, %rsp ++ movq %rdi, (%rsp) ++ movq %rsi, 8(%rsp) ++ movq %xmm0, 16(%rsp) ++ movq %xmm1, 24(%rsp) ++ movq %xmm2, 32(%rsp) ++ movq %xmm3, 40(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 40(%rsp), %xmm3 ++ movq 32(%rsp), %xmm2 ++ movq 24(%rsp), %xmm1 ++ movq 16(%rsp), %xmm0 ++ movq 8(%rsp), %rsi ++ movq (%rsp), %rdi ++ addq $56, %rsp + movq 3760(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -17651,7 +20549,13 @@ + .type GL_PREFIX(ProgramLocalParameter4fvARB), @function + GL_PREFIX(ProgramLocalParameter4fvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3768(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -17688,7 +20592,17 @@ + .type GL_PREFIX(ProgramStringARB), @function + GL_PREFIX(ProgramStringARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3776(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -17733,7 +20647,13 @@ + .type GL_PREFIX(VertexAttrib1dARB), @function + GL_PREFIX(VertexAttrib1dARB): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $24, %rsp + movq 3784(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -17770,7 +20690,13 @@ + .type GL_PREFIX(VertexAttrib1dvARB), @function + GL_PREFIX(VertexAttrib1dvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3792(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -17807,7 +20733,13 @@ + .type GL_PREFIX(VertexAttrib1fARB), @function + GL_PREFIX(VertexAttrib1fARB): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $24, %rsp + movq 3800(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -17844,7 +20776,13 @@ + .type GL_PREFIX(VertexAttrib1fvARB), @function + GL_PREFIX(VertexAttrib1fvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3808(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -17881,7 +20819,13 @@ + .type GL_PREFIX(VertexAttrib1sARB), @function + GL_PREFIX(VertexAttrib1sARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3816(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -17918,7 +20862,13 @@ + .type GL_PREFIX(VertexAttrib1svARB), @function + GL_PREFIX(VertexAttrib1svARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3824(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -17955,7 +20905,15 @@ + .type GL_PREFIX(VertexAttrib2dARB), @function + GL_PREFIX(VertexAttrib2dARB): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) ++ movq %xmm1, 16(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 16(%rsp), %xmm1 ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $24, %rsp + movq 3832(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -17996,7 +20954,13 @@ + .type GL_PREFIX(VertexAttrib2dvARB), @function + GL_PREFIX(VertexAttrib2dvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3840(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -18033,7 +20997,15 @@ + .type GL_PREFIX(VertexAttrib2fARB), @function + GL_PREFIX(VertexAttrib2fARB): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) ++ movq %xmm1, 16(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 16(%rsp), %xmm1 ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $24, %rsp + movq 3848(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -18074,7 +21046,13 @@ + .type GL_PREFIX(VertexAttrib2fvARB), @function + GL_PREFIX(VertexAttrib2fvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3856(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -18111,7 +21089,13 @@ + .type GL_PREFIX(VertexAttrib2sARB), @function + GL_PREFIX(VertexAttrib2sARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3864(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -18148,7 +21132,13 @@ + .type GL_PREFIX(VertexAttrib2svARB), @function + GL_PREFIX(VertexAttrib2svARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3872(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -18185,7 +21175,17 @@ + .type GL_PREFIX(VertexAttrib3dARB), @function + GL_PREFIX(VertexAttrib3dARB): + #if defined(GLX_USE_TLS) ++ subq $40, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) ++ movq %xmm1, 16(%rsp) ++ movq %xmm2, 24(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 24(%rsp), %xmm2 ++ movq 16(%rsp), %xmm1 ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $40, %rsp + movq 3880(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -18230,7 +21230,13 @@ + .type GL_PREFIX(VertexAttrib3dvARB), @function + GL_PREFIX(VertexAttrib3dvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3888(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -18267,7 +21273,17 @@ + .type GL_PREFIX(VertexAttrib3fARB), @function + GL_PREFIX(VertexAttrib3fARB): + #if defined(GLX_USE_TLS) ++ subq $40, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) ++ movq %xmm1, 16(%rsp) ++ movq %xmm2, 24(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 24(%rsp), %xmm2 ++ movq 16(%rsp), %xmm1 ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $40, %rsp + movq 3896(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -18312,7 +21328,13 @@ + .type GL_PREFIX(VertexAttrib3fvARB), @function + GL_PREFIX(VertexAttrib3fvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3904(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -18349,7 +21371,17 @@ + .type GL_PREFIX(VertexAttrib3sARB), @function + GL_PREFIX(VertexAttrib3sARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3912(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -18394,7 +21426,13 @@ + .type GL_PREFIX(VertexAttrib3svARB), @function + GL_PREFIX(VertexAttrib3svARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3920(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -18431,7 +21469,13 @@ + .type GL_PREFIX(VertexAttrib4NbvARB), @function + GL_PREFIX(VertexAttrib4NbvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3928(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -18468,7 +21512,13 @@ + .type GL_PREFIX(VertexAttrib4NivARB), @function + GL_PREFIX(VertexAttrib4NivARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3936(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -18505,7 +21555,13 @@ + .type GL_PREFIX(VertexAttrib4NsvARB), @function + GL_PREFIX(VertexAttrib4NsvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3944(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -18542,7 +21598,17 @@ + .type GL_PREFIX(VertexAttrib4NubARB), @function + GL_PREFIX(VertexAttrib4NubARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 3952(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -18587,7 +21653,13 @@ + .type GL_PREFIX(VertexAttrib4NubvARB), @function + GL_PREFIX(VertexAttrib4NubvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3960(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -18624,7 +21696,13 @@ + .type GL_PREFIX(VertexAttrib4NuivARB), @function + GL_PREFIX(VertexAttrib4NuivARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3968(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -18661,7 +21739,13 @@ + .type GL_PREFIX(VertexAttrib4NusvARB), @function + GL_PREFIX(VertexAttrib4NusvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3976(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -18698,7 +21782,13 @@ + .type GL_PREFIX(VertexAttrib4bvARB), @function + GL_PREFIX(VertexAttrib4bvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 3984(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -18735,7 +21825,19 @@ + .type GL_PREFIX(VertexAttrib4dARB), @function + GL_PREFIX(VertexAttrib4dARB): + #if defined(GLX_USE_TLS) ++ subq $40, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) ++ movq %xmm1, 16(%rsp) ++ movq %xmm2, 24(%rsp) ++ movq %xmm3, 32(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 32(%rsp), %xmm3 ++ movq 24(%rsp), %xmm2 ++ movq 16(%rsp), %xmm1 ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $40, %rsp + movq 3992(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -18784,7 +21886,13 @@ + .type GL_PREFIX(VertexAttrib4dvARB), @function + GL_PREFIX(VertexAttrib4dvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4000(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -18821,7 +21929,19 @@ + .type GL_PREFIX(VertexAttrib4fARB), @function + GL_PREFIX(VertexAttrib4fARB): + #if defined(GLX_USE_TLS) ++ subq $40, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) ++ movq %xmm1, 16(%rsp) ++ movq %xmm2, 24(%rsp) ++ movq %xmm3, 32(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 32(%rsp), %xmm3 ++ movq 24(%rsp), %xmm2 ++ movq 16(%rsp), %xmm1 ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $40, %rsp + movq 4008(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -18870,7 +21990,13 @@ + .type GL_PREFIX(VertexAttrib4fvARB), @function + GL_PREFIX(VertexAttrib4fvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4016(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -18907,7 +22033,13 @@ + .type GL_PREFIX(VertexAttrib4ivARB), @function + GL_PREFIX(VertexAttrib4ivARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4024(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -18944,7 +22076,17 @@ + .type GL_PREFIX(VertexAttrib4sARB), @function + GL_PREFIX(VertexAttrib4sARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4032(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -18989,7 +22131,13 @@ + .type GL_PREFIX(VertexAttrib4svARB), @function + GL_PREFIX(VertexAttrib4svARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4040(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -19026,7 +22174,13 @@ + .type GL_PREFIX(VertexAttrib4ubvARB), @function + GL_PREFIX(VertexAttrib4ubvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4048(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -19063,7 +22217,13 @@ + .type GL_PREFIX(VertexAttrib4uivARB), @function + GL_PREFIX(VertexAttrib4uivARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4056(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -19100,7 +22260,13 @@ + .type GL_PREFIX(VertexAttrib4usvARB), @function + GL_PREFIX(VertexAttrib4usvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4064(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -19137,7 +22303,21 @@ + .type GL_PREFIX(VertexAttribPointerARB), @function + GL_PREFIX(VertexAttribPointerARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4072(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -19190,7 +22370,13 @@ + .type GL_PREFIX(BindBufferARB), @function + GL_PREFIX(BindBufferARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4080(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -19227,7 +22413,17 @@ + .type GL_PREFIX(BufferDataARB), @function + GL_PREFIX(BufferDataARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4088(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -19272,7 +22468,17 @@ + .type GL_PREFIX(BufferSubDataARB), @function + GL_PREFIX(BufferSubDataARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4096(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -19317,7 +22523,13 @@ + .type GL_PREFIX(DeleteBuffersARB), @function + GL_PREFIX(DeleteBuffersARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4104(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -19354,7 +22566,13 @@ + .type GL_PREFIX(GenBuffersARB), @function + GL_PREFIX(GenBuffersARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4112(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -19391,7 +22609,13 @@ + .type GL_PREFIX(GetBufferParameterivARB), @function + GL_PREFIX(GetBufferParameterivARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4120(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -19428,7 +22652,13 @@ + .type GL_PREFIX(GetBufferPointervARB), @function + GL_PREFIX(GetBufferPointervARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4128(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -19465,7 +22695,17 @@ + .type GL_PREFIX(GetBufferSubDataARB), @function + GL_PREFIX(GetBufferSubDataARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4136(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -19510,7 +22750,9 @@ + .type GL_PREFIX(IsBufferARB), @function + GL_PREFIX(IsBufferARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 4144(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -19539,7 +22781,13 @@ + .type GL_PREFIX(MapBufferARB), @function + GL_PREFIX(MapBufferARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4152(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -19576,7 +22824,9 @@ + .type GL_PREFIX(UnmapBufferARB), @function + GL_PREFIX(UnmapBufferARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 4160(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -19605,7 +22855,13 @@ + .type GL_PREFIX(BeginQueryARB), @function + GL_PREFIX(BeginQueryARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4168(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -19642,7 +22898,13 @@ + .type GL_PREFIX(DeleteQueriesARB), @function + GL_PREFIX(DeleteQueriesARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4176(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -19679,7 +22941,9 @@ + .type GL_PREFIX(EndQueryARB), @function + GL_PREFIX(EndQueryARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 4184(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -19708,7 +22972,13 @@ + .type GL_PREFIX(GenQueriesARB), @function + GL_PREFIX(GenQueriesARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4192(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -19745,7 +23015,13 @@ + .type GL_PREFIX(GetQueryObjectivARB), @function + GL_PREFIX(GetQueryObjectivARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4200(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -19782,7 +23058,13 @@ + .type GL_PREFIX(GetQueryObjectuivARB), @function + GL_PREFIX(GetQueryObjectuivARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4208(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -19819,7 +23101,13 @@ + .type GL_PREFIX(GetQueryivARB), @function + GL_PREFIX(GetQueryivARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4216(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -19856,7 +23144,9 @@ + .type GL_PREFIX(IsQueryARB), @function + GL_PREFIX(IsQueryARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 4224(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -19885,7 +23175,13 @@ + .type GL_PREFIX(AttachObjectARB), @function + GL_PREFIX(AttachObjectARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4232(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -19922,7 +23218,9 @@ + .type GL_PREFIX(CompileShaderARB), @function + GL_PREFIX(CompileShaderARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 4240(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -19951,7 +23249,9 @@ + .type GL_PREFIX(CreateProgramObjectARB), @function + GL_PREFIX(CreateProgramObjectARB): + #if defined(GLX_USE_TLS) ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp + movq 4248(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -19980,7 +23280,9 @@ + .type GL_PREFIX(CreateShaderObjectARB), @function + GL_PREFIX(CreateShaderObjectARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 4256(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -20009,7 +23311,9 @@ + .type GL_PREFIX(DeleteObjectARB), @function + GL_PREFIX(DeleteObjectARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 4264(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -20038,7 +23342,13 @@ + .type GL_PREFIX(DetachObjectARB), @function + GL_PREFIX(DetachObjectARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4272(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -20075,7 +23385,21 @@ + .type GL_PREFIX(GetActiveUniformARB), @function + GL_PREFIX(GetActiveUniformARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4280(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -20128,7 +23452,17 @@ + .type GL_PREFIX(GetAttachedObjectsARB), @function + GL_PREFIX(GetAttachedObjectsARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4288(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -20173,7 +23507,9 @@ + .type GL_PREFIX(GetHandleARB), @function + GL_PREFIX(GetHandleARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 4296(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -20202,7 +23538,17 @@ + .type GL_PREFIX(GetInfoLogARB), @function + GL_PREFIX(GetInfoLogARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4304(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -20247,7 +23593,13 @@ + .type GL_PREFIX(GetObjectParameterfvARB), @function + GL_PREFIX(GetObjectParameterfvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4312(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -20284,7 +23636,13 @@ + .type GL_PREFIX(GetObjectParameterivARB), @function + GL_PREFIX(GetObjectParameterivARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4320(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -20321,7 +23679,17 @@ + .type GL_PREFIX(GetShaderSourceARB), @function + GL_PREFIX(GetShaderSourceARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4328(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -20366,7 +23734,13 @@ + .type GL_PREFIX(GetUniformLocationARB), @function + GL_PREFIX(GetUniformLocationARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4336(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -20403,7 +23777,13 @@ + .type GL_PREFIX(GetUniformfvARB), @function + GL_PREFIX(GetUniformfvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4344(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -20440,7 +23820,13 @@ + .type GL_PREFIX(GetUniformivARB), @function + GL_PREFIX(GetUniformivARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4352(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -20477,7 +23863,9 @@ + .type GL_PREFIX(LinkProgramARB), @function + GL_PREFIX(LinkProgramARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 4360(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -20506,7 +23894,17 @@ + .type GL_PREFIX(ShaderSourceARB), @function + GL_PREFIX(ShaderSourceARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4368(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -20551,7 +23949,13 @@ + .type GL_PREFIX(Uniform1fARB), @function + GL_PREFIX(Uniform1fARB): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $24, %rsp + movq 4376(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -20588,7 +23992,13 @@ + .type GL_PREFIX(Uniform1fvARB), @function + GL_PREFIX(Uniform1fvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4384(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -20625,7 +24035,13 @@ + .type GL_PREFIX(Uniform1iARB), @function + GL_PREFIX(Uniform1iARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4392(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -20662,7 +24078,13 @@ + .type GL_PREFIX(Uniform1ivARB), @function + GL_PREFIX(Uniform1ivARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4400(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -20699,7 +24121,15 @@ + .type GL_PREFIX(Uniform2fARB), @function + GL_PREFIX(Uniform2fARB): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) ++ movq %xmm1, 16(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 16(%rsp), %xmm1 ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $24, %rsp + movq 4408(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -20740,7 +24170,13 @@ + .type GL_PREFIX(Uniform2fvARB), @function + GL_PREFIX(Uniform2fvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4416(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -20777,7 +24213,13 @@ + .type GL_PREFIX(Uniform2iARB), @function + GL_PREFIX(Uniform2iARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4424(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -20814,7 +24256,13 @@ + .type GL_PREFIX(Uniform2ivARB), @function + GL_PREFIX(Uniform2ivARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4432(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -20851,7 +24299,17 @@ + .type GL_PREFIX(Uniform3fARB), @function + GL_PREFIX(Uniform3fARB): + #if defined(GLX_USE_TLS) ++ subq $40, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) ++ movq %xmm1, 16(%rsp) ++ movq %xmm2, 24(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 24(%rsp), %xmm2 ++ movq 16(%rsp), %xmm1 ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $40, %rsp + movq 4440(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -20896,7 +24354,13 @@ + .type GL_PREFIX(Uniform3fvARB), @function + GL_PREFIX(Uniform3fvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4448(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -20933,7 +24397,17 @@ + .type GL_PREFIX(Uniform3iARB), @function + GL_PREFIX(Uniform3iARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4456(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -20978,7 +24452,13 @@ + .type GL_PREFIX(Uniform3ivARB), @function + GL_PREFIX(Uniform3ivARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4464(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -21015,7 +24495,19 @@ + .type GL_PREFIX(Uniform4fARB), @function + GL_PREFIX(Uniform4fARB): + #if defined(GLX_USE_TLS) ++ subq $40, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) ++ movq %xmm1, 16(%rsp) ++ movq %xmm2, 24(%rsp) ++ movq %xmm3, 32(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 32(%rsp), %xmm3 ++ movq 24(%rsp), %xmm2 ++ movq 16(%rsp), %xmm1 ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $40, %rsp + movq 4472(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -21064,7 +24556,13 @@ + .type GL_PREFIX(Uniform4fvARB), @function + GL_PREFIX(Uniform4fvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4480(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -21101,7 +24599,17 @@ + .type GL_PREFIX(Uniform4iARB), @function + GL_PREFIX(Uniform4iARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4488(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -21146,7 +24654,13 @@ + .type GL_PREFIX(Uniform4ivARB), @function + GL_PREFIX(Uniform4ivARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4496(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -21183,7 +24697,17 @@ + .type GL_PREFIX(UniformMatrix2fvARB), @function + GL_PREFIX(UniformMatrix2fvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4504(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -21228,7 +24752,17 @@ + .type GL_PREFIX(UniformMatrix3fvARB), @function + GL_PREFIX(UniformMatrix3fvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4512(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -21273,7 +24807,17 @@ + .type GL_PREFIX(UniformMatrix4fvARB), @function + GL_PREFIX(UniformMatrix4fvARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4520(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -21318,7 +24862,9 @@ + .type GL_PREFIX(UseProgramObjectARB), @function + GL_PREFIX(UseProgramObjectARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 4528(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -21347,7 +24893,9 @@ + .type GL_PREFIX(ValidateProgramARB), @function + GL_PREFIX(ValidateProgramARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 4536(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -21376,7 +24924,13 @@ + .type GL_PREFIX(BindAttribLocationARB), @function + GL_PREFIX(BindAttribLocationARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4544(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -21413,7 +24967,21 @@ + .type GL_PREFIX(GetActiveAttribARB), @function + GL_PREFIX(GetActiveAttribARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4552(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -21466,7 +25034,13 @@ + .type GL_PREFIX(GetAttribLocationARB), @function + GL_PREFIX(GetAttribLocationARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4560(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -21503,7 +25077,13 @@ + .type GL_PREFIX(DrawBuffersARB), @function + GL_PREFIX(DrawBuffersARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4568(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -21540,7 +25120,17 @@ + .type GL_PREFIX(DrawArraysInstancedARB), @function + GL_PREFIX(DrawArraysInstancedARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4576(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -21585,7 +25175,17 @@ + .type GL_PREFIX(DrawElementsInstancedARB), @function + GL_PREFIX(DrawElementsInstancedARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4584(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -21630,7 +25230,17 @@ + .type GL_PREFIX(RenderbufferStorageMultisample), @function + GL_PREFIX(RenderbufferStorageMultisample): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4592(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -21675,7 +25285,17 @@ + .type GL_PREFIX(FramebufferTextureARB), @function + GL_PREFIX(FramebufferTextureARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4600(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -21720,7 +25340,17 @@ + .type GL_PREFIX(FramebufferTextureFaceARB), @function + GL_PREFIX(FramebufferTextureFaceARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4608(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -21765,7 +25395,13 @@ + .type GL_PREFIX(ProgramParameteriARB), @function + GL_PREFIX(ProgramParameteriARB): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4616(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -21802,7 +25438,13 @@ + .type GL_PREFIX(FlushMappedBufferRange), @function + GL_PREFIX(FlushMappedBufferRange): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4624(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -21839,7 +25481,17 @@ + .type GL_PREFIX(MapBufferRange), @function + GL_PREFIX(MapBufferRange): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4632(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -21884,7 +25536,9 @@ + .type GL_PREFIX(BindVertexArray), @function + GL_PREFIX(BindVertexArray): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 4640(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -21913,7 +25567,13 @@ + .type GL_PREFIX(GenVertexArrays), @function + GL_PREFIX(GenVertexArrays): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4648(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -21950,7 +25610,17 @@ + .type GL_PREFIX(CopyBufferSubData), @function + GL_PREFIX(CopyBufferSubData): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4656(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -21995,7 +25665,13 @@ + .type GL_PREFIX(ClientWaitSync), @function + GL_PREFIX(ClientWaitSync): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4664(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -22032,7 +25708,9 @@ + .type GL_PREFIX(DeleteSync), @function + GL_PREFIX(DeleteSync): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 4672(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -22061,7 +25739,13 @@ + .type GL_PREFIX(FenceSync), @function + GL_PREFIX(FenceSync): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4680(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -22098,7 +25782,13 @@ + .type GL_PREFIX(GetInteger64v), @function + GL_PREFIX(GetInteger64v): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4688(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -22135,7 +25825,17 @@ + .type GL_PREFIX(GetSynciv), @function + GL_PREFIX(GetSynciv): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4696(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -22180,7 +25880,9 @@ + .type GL_PREFIX(IsSync), @function + GL_PREFIX(IsSync): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 4704(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -22209,7 +25911,13 @@ + .type GL_PREFIX(WaitSync), @function + GL_PREFIX(WaitSync): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4712(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -22246,7 +25954,17 @@ + .type GL_PREFIX(DrawElementsBaseVertex), @function + GL_PREFIX(DrawElementsBaseVertex): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4720(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -22291,7 +26009,21 @@ + .type GL_PREFIX(DrawRangeElementsBaseVertex), @function + GL_PREFIX(DrawRangeElementsBaseVertex): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4728(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -22344,7 +26076,21 @@ + .type GL_PREFIX(MultiDrawElementsBaseVertex), @function + GL_PREFIX(MultiDrawElementsBaseVertex): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4736(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -22397,7 +26143,13 @@ + .type GL_PREFIX(BindTransformFeedback), @function + GL_PREFIX(BindTransformFeedback): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4744(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -22434,7 +26186,13 @@ + .type GL_PREFIX(DeleteTransformFeedbacks), @function + GL_PREFIX(DeleteTransformFeedbacks): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4752(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -22471,7 +26229,13 @@ + .type GL_PREFIX(DrawTransformFeedback), @function + GL_PREFIX(DrawTransformFeedback): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4760(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -22508,7 +26272,13 @@ + .type GL_PREFIX(GenTransformFeedbacks), @function + GL_PREFIX(GenTransformFeedbacks): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4768(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -22545,7 +26315,9 @@ + .type GL_PREFIX(IsTransformFeedback), @function + GL_PREFIX(IsTransformFeedback): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 4776(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -22574,7 +26346,9 @@ + .type GL_PREFIX(PauseTransformFeedback), @function + GL_PREFIX(PauseTransformFeedback): + #if defined(GLX_USE_TLS) ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp + movq 4784(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -22603,7 +26377,9 @@ + .type GL_PREFIX(ResumeTransformFeedback), @function + GL_PREFIX(ResumeTransformFeedback): + #if defined(GLX_USE_TLS) ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp + movq 4792(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -22632,7 +26408,9 @@ + .type GL_PREFIX(ClearDepthf), @function + GL_PREFIX(ClearDepthf): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 4800(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -22661,7 +26439,13 @@ + .type GL_PREFIX(DepthRangef), @function + GL_PREFIX(DepthRangef): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4808(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -22698,7 +26482,17 @@ + .type GL_PREFIX(GetShaderPrecisionFormat), @function + GL_PREFIX(GetShaderPrecisionFormat): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4816(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -22743,7 +26537,9 @@ + .type GL_PREFIX(ReleaseShaderCompiler), @function + GL_PREFIX(ReleaseShaderCompiler): + #if defined(GLX_USE_TLS) ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp + movq 4824(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -22772,7 +26568,17 @@ + .type GL_PREFIX(ShaderBinary), @function + GL_PREFIX(ShaderBinary): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4832(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -22817,7 +26623,13 @@ + .type GL_PREFIX(PolygonOffsetEXT), @function + GL_PREFIX(PolygonOffsetEXT): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $24, %rsp + movq 4840(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -22855,7 +26667,13 @@ + HIDDEN(GL_PREFIX(_dispatch_stub_606)) + GL_PREFIX(_dispatch_stub_606): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4848(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -22893,7 +26711,13 @@ + HIDDEN(GL_PREFIX(_dispatch_stub_607)) + GL_PREFIX(_dispatch_stub_607): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4856(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -22931,7 +26755,13 @@ + HIDDEN(GL_PREFIX(_dispatch_stub_608)) + GL_PREFIX(_dispatch_stub_608): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $24, %rsp + movq 4864(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -22969,7 +26799,13 @@ + HIDDEN(GL_PREFIX(_dispatch_stub_609)) + GL_PREFIX(_dispatch_stub_609): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4872(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -23007,7 +26843,13 @@ + HIDDEN(GL_PREFIX(_dispatch_stub_610)) + GL_PREFIX(_dispatch_stub_610): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4880(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -23045,7 +26887,13 @@ + HIDDEN(GL_PREFIX(_dispatch_stub_611)) + GL_PREFIX(_dispatch_stub_611): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4888(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -23083,7 +26931,13 @@ + HIDDEN(GL_PREFIX(_dispatch_stub_612)) + GL_PREFIX(_dispatch_stub_612): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4896(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -23121,7 +26975,9 @@ + HIDDEN(GL_PREFIX(_dispatch_stub_613)) + GL_PREFIX(_dispatch_stub_613): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 4904(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -23150,7 +27006,17 @@ + .type GL_PREFIX(ColorPointerEXT), @function + GL_PREFIX(ColorPointerEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4912(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -23195,7 +27061,13 @@ + .type GL_PREFIX(EdgeFlagPointerEXT), @function + GL_PREFIX(EdgeFlagPointerEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4920(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -23232,7 +27104,17 @@ + .type GL_PREFIX(IndexPointerEXT), @function + GL_PREFIX(IndexPointerEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4928(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -23277,7 +27159,17 @@ + .type GL_PREFIX(NormalPointerEXT), @function + GL_PREFIX(NormalPointerEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4936(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -23322,7 +27214,17 @@ + .type GL_PREFIX(TexCoordPointerEXT), @function + GL_PREFIX(TexCoordPointerEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4944(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -23367,7 +27269,17 @@ + .type GL_PREFIX(VertexPointerEXT), @function + GL_PREFIX(VertexPointerEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4952(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -23412,7 +27324,13 @@ + .type GL_PREFIX(PointParameterfEXT), @function + GL_PREFIX(PointParameterfEXT): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $24, %rsp + movq 4960(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -23449,7 +27367,13 @@ + .type GL_PREFIX(PointParameterfvEXT), @function + GL_PREFIX(PointParameterfvEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4968(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -23486,7 +27410,13 @@ + .type GL_PREFIX(LockArraysEXT), @function + GL_PREFIX(LockArraysEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 4976(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -23523,7 +27453,9 @@ + .type GL_PREFIX(UnlockArraysEXT), @function + GL_PREFIX(UnlockArraysEXT): + #if defined(GLX_USE_TLS) ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp + movq 4984(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -23552,7 +27484,13 @@ + .type GL_PREFIX(SecondaryColor3bEXT), @function + GL_PREFIX(SecondaryColor3bEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 4992(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -23589,7 +27527,9 @@ + .type GL_PREFIX(SecondaryColor3bvEXT), @function + GL_PREFIX(SecondaryColor3bvEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 5000(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -23618,7 +27558,15 @@ + .type GL_PREFIX(SecondaryColor3dEXT), @function + GL_PREFIX(SecondaryColor3dEXT): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) ++ movq %xmm2, 16(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 16(%rsp), %xmm2 ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $24, %rsp + movq 5008(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -23659,7 +27607,9 @@ + .type GL_PREFIX(SecondaryColor3dvEXT), @function + GL_PREFIX(SecondaryColor3dvEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 5016(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -23688,7 +27638,15 @@ + .type GL_PREFIX(SecondaryColor3fEXT), @function + GL_PREFIX(SecondaryColor3fEXT): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) ++ movq %xmm2, 16(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 16(%rsp), %xmm2 ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $24, %rsp + movq 5024(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -23729,7 +27687,9 @@ + .type GL_PREFIX(SecondaryColor3fvEXT), @function + GL_PREFIX(SecondaryColor3fvEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 5032(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -23758,7 +27718,13 @@ + .type GL_PREFIX(SecondaryColor3iEXT), @function + GL_PREFIX(SecondaryColor3iEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5040(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -23795,7 +27761,9 @@ + .type GL_PREFIX(SecondaryColor3ivEXT), @function + GL_PREFIX(SecondaryColor3ivEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 5048(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -23824,7 +27792,13 @@ + .type GL_PREFIX(SecondaryColor3sEXT), @function + GL_PREFIX(SecondaryColor3sEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5056(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -23861,7 +27835,9 @@ + .type GL_PREFIX(SecondaryColor3svEXT), @function + GL_PREFIX(SecondaryColor3svEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 5064(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -23890,7 +27866,13 @@ + .type GL_PREFIX(SecondaryColor3ubEXT), @function + GL_PREFIX(SecondaryColor3ubEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5072(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -23927,7 +27909,9 @@ + .type GL_PREFIX(SecondaryColor3ubvEXT), @function + GL_PREFIX(SecondaryColor3ubvEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 5080(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -23956,7 +27940,13 @@ + .type GL_PREFIX(SecondaryColor3uiEXT), @function + GL_PREFIX(SecondaryColor3uiEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5088(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -23993,7 +27983,9 @@ + .type GL_PREFIX(SecondaryColor3uivEXT), @function + GL_PREFIX(SecondaryColor3uivEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 5096(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -24022,7 +28014,13 @@ + .type GL_PREFIX(SecondaryColor3usEXT), @function + GL_PREFIX(SecondaryColor3usEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5104(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -24059,7 +28057,9 @@ + .type GL_PREFIX(SecondaryColor3usvEXT), @function + GL_PREFIX(SecondaryColor3usvEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 5112(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -24088,7 +28088,17 @@ + .type GL_PREFIX(SecondaryColorPointerEXT), @function + GL_PREFIX(SecondaryColorPointerEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5120(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -24133,7 +28143,17 @@ + .type GL_PREFIX(MultiDrawArraysEXT), @function + GL_PREFIX(MultiDrawArraysEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5128(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -24178,7 +28198,17 @@ + .type GL_PREFIX(MultiDrawElementsEXT), @function + GL_PREFIX(MultiDrawElementsEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5136(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -24223,7 +28253,13 @@ + .type GL_PREFIX(FogCoordPointerEXT), @function + GL_PREFIX(FogCoordPointerEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5144(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -24260,7 +28296,11 @@ + .type GL_PREFIX(FogCoorddEXT), @function + GL_PREFIX(FogCoorddEXT): + #if defined(GLX_USE_TLS) ++ subq $8, %rsp ++ movq %xmm0, (%rsp) + call _x86_64_get_dispatch@PLT ++ movq (%rsp), %xmm0 ++ addq $8, %rsp + movq 5152(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -24293,7 +28333,9 @@ + .type GL_PREFIX(FogCoorddvEXT), @function + GL_PREFIX(FogCoorddvEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 5160(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -24322,7 +28364,11 @@ + .type GL_PREFIX(FogCoordfEXT), @function + GL_PREFIX(FogCoordfEXT): + #if defined(GLX_USE_TLS) ++ subq $8, %rsp ++ movq %xmm0, (%rsp) + call _x86_64_get_dispatch@PLT ++ movq (%rsp), %xmm0 ++ addq $8, %rsp + movq 5168(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -24355,7 +28401,9 @@ + .type GL_PREFIX(FogCoordfvEXT), @function + GL_PREFIX(FogCoordfvEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 5176(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -24385,7 +28433,9 @@ + HIDDEN(GL_PREFIX(_dispatch_stub_648)) + GL_PREFIX(_dispatch_stub_648): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 5184(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -24414,7 +28464,17 @@ + .type GL_PREFIX(BlendFuncSeparateEXT), @function + GL_PREFIX(BlendFuncSeparateEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5192(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -24459,7 +28519,9 @@ + .type GL_PREFIX(FlushVertexArrayRangeNV), @function + GL_PREFIX(FlushVertexArrayRangeNV): + #if defined(GLX_USE_TLS) ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp + movq 5200(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -24488,7 +28550,13 @@ + .type GL_PREFIX(VertexArrayRangeNV), @function + GL_PREFIX(VertexArrayRangeNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 5208(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -24525,7 +28593,21 @@ + .type GL_PREFIX(CombinerInputNV), @function + GL_PREFIX(CombinerInputNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5216(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -24578,7 +28660,21 @@ + .type GL_PREFIX(CombinerOutputNV), @function + GL_PREFIX(CombinerOutputNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5224(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -24631,7 +28727,13 @@ + .type GL_PREFIX(CombinerParameterfNV), @function + GL_PREFIX(CombinerParameterfNV): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $24, %rsp + movq 5232(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -24668,7 +28770,13 @@ + .type GL_PREFIX(CombinerParameterfvNV), @function + GL_PREFIX(CombinerParameterfvNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 5240(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -24705,7 +28813,13 @@ + .type GL_PREFIX(CombinerParameteriNV), @function + GL_PREFIX(CombinerParameteriNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 5248(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -24742,7 +28856,13 @@ + .type GL_PREFIX(CombinerParameterivNV), @function + GL_PREFIX(CombinerParameterivNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 5256(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -24779,7 +28899,17 @@ + .type GL_PREFIX(FinalCombinerInputNV), @function + GL_PREFIX(FinalCombinerInputNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5264(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -24824,7 +28954,17 @@ + .type GL_PREFIX(GetCombinerInputParameterfvNV), @function + GL_PREFIX(GetCombinerInputParameterfvNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5272(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -24869,7 +29009,17 @@ + .type GL_PREFIX(GetCombinerInputParameterivNV), @function + GL_PREFIX(GetCombinerInputParameterivNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5280(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -24914,7 +29064,17 @@ + .type GL_PREFIX(GetCombinerOutputParameterfvNV), @function + GL_PREFIX(GetCombinerOutputParameterfvNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5288(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -24959,7 +29119,17 @@ + .type GL_PREFIX(GetCombinerOutputParameterivNV), @function + GL_PREFIX(GetCombinerOutputParameterivNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5296(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -25004,7 +29174,13 @@ + .type GL_PREFIX(GetFinalCombinerInputParameterfvNV), @function + GL_PREFIX(GetFinalCombinerInputParameterfvNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5304(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -25041,7 +29217,13 @@ + .type GL_PREFIX(GetFinalCombinerInputParameterivNV), @function + GL_PREFIX(GetFinalCombinerInputParameterivNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5312(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -25078,7 +29260,9 @@ + .type GL_PREFIX(ResizeBuffersMESA), @function + GL_PREFIX(ResizeBuffersMESA): + #if defined(GLX_USE_TLS) ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp + movq 5320(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -25107,7 +29291,13 @@ + .type GL_PREFIX(WindowPos2dMESA), @function + GL_PREFIX(WindowPos2dMESA): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $24, %rsp + movq 5328(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -25144,7 +29334,9 @@ + .type GL_PREFIX(WindowPos2dvMESA), @function + GL_PREFIX(WindowPos2dvMESA): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 5336(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -25173,7 +29365,13 @@ + .type GL_PREFIX(WindowPos2fMESA), @function + GL_PREFIX(WindowPos2fMESA): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $24, %rsp + movq 5344(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -25210,7 +29408,9 @@ + .type GL_PREFIX(WindowPos2fvMESA), @function + GL_PREFIX(WindowPos2fvMESA): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 5352(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -25239,7 +29439,13 @@ + .type GL_PREFIX(WindowPos2iMESA), @function + GL_PREFIX(WindowPos2iMESA): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 5360(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -25276,7 +29482,9 @@ + .type GL_PREFIX(WindowPos2ivMESA), @function + GL_PREFIX(WindowPos2ivMESA): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 5368(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -25305,7 +29513,13 @@ + .type GL_PREFIX(WindowPos2sMESA), @function + GL_PREFIX(WindowPos2sMESA): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 5376(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -25342,7 +29556,9 @@ + .type GL_PREFIX(WindowPos2svMESA), @function + GL_PREFIX(WindowPos2svMESA): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 5384(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -25371,7 +29587,15 @@ + .type GL_PREFIX(WindowPos3dMESA), @function + GL_PREFIX(WindowPos3dMESA): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) ++ movq %xmm2, 16(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 16(%rsp), %xmm2 ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $24, %rsp + movq 5392(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -25412,7 +29636,9 @@ + .type GL_PREFIX(WindowPos3dvMESA), @function + GL_PREFIX(WindowPos3dvMESA): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 5400(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -25441,7 +29667,15 @@ + .type GL_PREFIX(WindowPos3fMESA), @function + GL_PREFIX(WindowPos3fMESA): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) ++ movq %xmm2, 16(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 16(%rsp), %xmm2 ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $24, %rsp + movq 5408(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -25482,7 +29716,9 @@ + .type GL_PREFIX(WindowPos3fvMESA), @function + GL_PREFIX(WindowPos3fvMESA): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 5416(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -25511,7 +29747,13 @@ + .type GL_PREFIX(WindowPos3iMESA), @function + GL_PREFIX(WindowPos3iMESA): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5424(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -25548,7 +29790,9 @@ + .type GL_PREFIX(WindowPos3ivMESA), @function + GL_PREFIX(WindowPos3ivMESA): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 5432(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -25577,7 +29821,13 @@ + .type GL_PREFIX(WindowPos3sMESA), @function + GL_PREFIX(WindowPos3sMESA): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5440(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -25614,7 +29864,9 @@ + .type GL_PREFIX(WindowPos3svMESA), @function + GL_PREFIX(WindowPos3svMESA): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 5448(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -25643,7 +29895,17 @@ + .type GL_PREFIX(WindowPos4dMESA), @function + GL_PREFIX(WindowPos4dMESA): + #if defined(GLX_USE_TLS) ++ subq $40, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) ++ movq %xmm2, 16(%rsp) ++ movq %xmm3, 24(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 24(%rsp), %xmm3 ++ movq 16(%rsp), %xmm2 ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $40, %rsp + movq 5456(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -25688,7 +29950,9 @@ + .type GL_PREFIX(WindowPos4dvMESA), @function + GL_PREFIX(WindowPos4dvMESA): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 5464(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -25717,7 +29981,17 @@ + .type GL_PREFIX(WindowPos4fMESA), @function + GL_PREFIX(WindowPos4fMESA): + #if defined(GLX_USE_TLS) ++ subq $40, %rsp ++ movq %xmm0, (%rsp) ++ movq %xmm1, 8(%rsp) ++ movq %xmm2, 16(%rsp) ++ movq %xmm3, 24(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 24(%rsp), %xmm3 ++ movq 16(%rsp), %xmm2 ++ movq 8(%rsp), %xmm1 ++ movq (%rsp), %xmm0 ++ addq $40, %rsp + movq 5472(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -25762,7 +30036,9 @@ + .type GL_PREFIX(WindowPos4fvMESA), @function + GL_PREFIX(WindowPos4fvMESA): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 5480(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -25791,7 +30067,17 @@ + .type GL_PREFIX(WindowPos4iMESA), @function + GL_PREFIX(WindowPos4iMESA): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5488(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -25836,7 +30122,9 @@ + .type GL_PREFIX(WindowPos4ivMESA), @function + GL_PREFIX(WindowPos4ivMESA): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 5496(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -25865,7 +30153,17 @@ + .type GL_PREFIX(WindowPos4sMESA), @function + GL_PREFIX(WindowPos4sMESA): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5504(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -25910,7 +30208,9 @@ + .type GL_PREFIX(WindowPos4svMESA), @function + GL_PREFIX(WindowPos4svMESA): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 5512(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -25940,7 +30240,17 @@ + HIDDEN(GL_PREFIX(_dispatch_stub_690)) + GL_PREFIX(_dispatch_stub_690): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5520(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -25986,7 +30296,21 @@ + HIDDEN(GL_PREFIX(_dispatch_stub_691)) + GL_PREFIX(_dispatch_stub_691): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5528(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -26040,7 +30364,13 @@ + HIDDEN(GL_PREFIX(_dispatch_stub_692)) + GL_PREFIX(_dispatch_stub_692): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 5536(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -26078,7 +30408,9 @@ + HIDDEN(GL_PREFIX(_dispatch_stub_693)) + GL_PREFIX(_dispatch_stub_693): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 5544(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -26108,7 +30440,13 @@ + HIDDEN(GL_PREFIX(_dispatch_stub_694)) + GL_PREFIX(_dispatch_stub_694): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 5552(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -26146,7 +30484,13 @@ + HIDDEN(GL_PREFIX(_dispatch_stub_695)) + GL_PREFIX(_dispatch_stub_695): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5560(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -26184,7 +30528,9 @@ + HIDDEN(GL_PREFIX(_dispatch_stub_696)) + GL_PREFIX(_dispatch_stub_696): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 5568(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -26214,7 +30560,13 @@ + HIDDEN(GL_PREFIX(_dispatch_stub_697)) + GL_PREFIX(_dispatch_stub_697): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 5576(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -26252,7 +30604,9 @@ + HIDDEN(GL_PREFIX(_dispatch_stub_698)) + GL_PREFIX(_dispatch_stub_698): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 5584(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -26281,7 +30635,13 @@ + .type GL_PREFIX(AreProgramsResidentNV), @function + GL_PREFIX(AreProgramsResidentNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5592(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -26318,7 +30678,13 @@ + .type GL_PREFIX(BindProgramNV), @function + GL_PREFIX(BindProgramNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 5600(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -26355,7 +30721,13 @@ + .type GL_PREFIX(DeleteProgramsNV), @function + GL_PREFIX(DeleteProgramsNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 5608(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -26392,7 +30764,13 @@ + .type GL_PREFIX(ExecuteProgramNV), @function + GL_PREFIX(ExecuteProgramNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5616(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -26429,7 +30807,13 @@ + .type GL_PREFIX(GenProgramsNV), @function + GL_PREFIX(GenProgramsNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 5624(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -26466,7 +30850,17 @@ + .type GL_PREFIX(GetProgramParameterdvNV), @function + GL_PREFIX(GetProgramParameterdvNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5632(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -26511,7 +30905,17 @@ + .type GL_PREFIX(GetProgramParameterfvNV), @function + GL_PREFIX(GetProgramParameterfvNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5640(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -26556,7 +30960,13 @@ + .type GL_PREFIX(GetProgramStringNV), @function + GL_PREFIX(GetProgramStringNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5648(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -26593,7 +31003,13 @@ + .type GL_PREFIX(GetProgramivNV), @function + GL_PREFIX(GetProgramivNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5656(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -26630,7 +31046,17 @@ + .type GL_PREFIX(GetTrackMatrixivNV), @function + GL_PREFIX(GetTrackMatrixivNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5664(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -26675,7 +31101,13 @@ + .type GL_PREFIX(GetVertexAttribPointervNV), @function + GL_PREFIX(GetVertexAttribPointervNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5672(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -26712,7 +31144,13 @@ + .type GL_PREFIX(GetVertexAttribdvNV), @function + GL_PREFIX(GetVertexAttribdvNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5680(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -26749,7 +31187,13 @@ + .type GL_PREFIX(GetVertexAttribfvNV), @function + GL_PREFIX(GetVertexAttribfvNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5688(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -26786,7 +31230,13 @@ + .type GL_PREFIX(GetVertexAttribivNV), @function + GL_PREFIX(GetVertexAttribivNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5696(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -26823,7 +31273,9 @@ + .type GL_PREFIX(IsProgramNV), @function + GL_PREFIX(IsProgramNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 5704(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -26852,7 +31304,17 @@ + .type GL_PREFIX(LoadProgramNV), @function + GL_PREFIX(LoadProgramNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5712(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -26897,7 +31359,17 @@ + .type GL_PREFIX(ProgramParameters4dvNV), @function + GL_PREFIX(ProgramParameters4dvNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5720(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -26942,7 +31414,17 @@ + .type GL_PREFIX(ProgramParameters4fvNV), @function + GL_PREFIX(ProgramParameters4fvNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5728(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -26987,7 +31469,13 @@ + .type GL_PREFIX(RequestResidentProgramsNV), @function + GL_PREFIX(RequestResidentProgramsNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 5736(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -27024,7 +31512,17 @@ + .type GL_PREFIX(TrackMatrixNV), @function + GL_PREFIX(TrackMatrixNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5744(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -27069,7 +31567,13 @@ + .type GL_PREFIX(VertexAttrib1dNV), @function + GL_PREFIX(VertexAttrib1dNV): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $24, %rsp + movq 5752(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -27106,7 +31610,13 @@ + .type GL_PREFIX(VertexAttrib1dvNV), @function + GL_PREFIX(VertexAttrib1dvNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 5760(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -27143,7 +31653,13 @@ + .type GL_PREFIX(VertexAttrib1fNV), @function + GL_PREFIX(VertexAttrib1fNV): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $24, %rsp + movq 5768(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -27180,7 +31696,13 @@ + .type GL_PREFIX(VertexAttrib1fvNV), @function + GL_PREFIX(VertexAttrib1fvNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 5776(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -27217,7 +31739,13 @@ + .type GL_PREFIX(VertexAttrib1sNV), @function + GL_PREFIX(VertexAttrib1sNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 5784(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -27254,7 +31782,13 @@ + .type GL_PREFIX(VertexAttrib1svNV), @function + GL_PREFIX(VertexAttrib1svNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 5792(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -27291,7 +31825,15 @@ + .type GL_PREFIX(VertexAttrib2dNV), @function + GL_PREFIX(VertexAttrib2dNV): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) ++ movq %xmm1, 16(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 16(%rsp), %xmm1 ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $24, %rsp + movq 5800(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -27332,7 +31874,13 @@ + .type GL_PREFIX(VertexAttrib2dvNV), @function + GL_PREFIX(VertexAttrib2dvNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 5808(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -27369,7 +31917,15 @@ + .type GL_PREFIX(VertexAttrib2fNV), @function + GL_PREFIX(VertexAttrib2fNV): + #if defined(GLX_USE_TLS) ++ subq $24, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) ++ movq %xmm1, 16(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 16(%rsp), %xmm1 ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $24, %rsp + movq 5816(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -27410,7 +31966,13 @@ + .type GL_PREFIX(VertexAttrib2fvNV), @function + GL_PREFIX(VertexAttrib2fvNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 5824(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -27447,7 +32009,13 @@ + .type GL_PREFIX(VertexAttrib2sNV), @function + GL_PREFIX(VertexAttrib2sNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5832(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -27484,7 +32052,13 @@ + .type GL_PREFIX(VertexAttrib2svNV), @function + GL_PREFIX(VertexAttrib2svNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 5840(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -27521,7 +32095,17 @@ + .type GL_PREFIX(VertexAttrib3dNV), @function + GL_PREFIX(VertexAttrib3dNV): + #if defined(GLX_USE_TLS) ++ subq $40, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) ++ movq %xmm1, 16(%rsp) ++ movq %xmm2, 24(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 24(%rsp), %xmm2 ++ movq 16(%rsp), %xmm1 ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $40, %rsp + movq 5848(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -27566,7 +32150,13 @@ + .type GL_PREFIX(VertexAttrib3dvNV), @function + GL_PREFIX(VertexAttrib3dvNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 5856(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -27603,7 +32193,17 @@ + .type GL_PREFIX(VertexAttrib3fNV), @function + GL_PREFIX(VertexAttrib3fNV): + #if defined(GLX_USE_TLS) ++ subq $40, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) ++ movq %xmm1, 16(%rsp) ++ movq %xmm2, 24(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 24(%rsp), %xmm2 ++ movq 16(%rsp), %xmm1 ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $40, %rsp + movq 5864(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -27648,7 +32248,13 @@ + .type GL_PREFIX(VertexAttrib3fvNV), @function + GL_PREFIX(VertexAttrib3fvNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 5872(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -27685,7 +32291,17 @@ + .type GL_PREFIX(VertexAttrib3sNV), @function + GL_PREFIX(VertexAttrib3sNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5880(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -27730,7 +32346,13 @@ + .type GL_PREFIX(VertexAttrib3svNV), @function + GL_PREFIX(VertexAttrib3svNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 5888(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -27767,7 +32389,19 @@ + .type GL_PREFIX(VertexAttrib4dNV), @function + GL_PREFIX(VertexAttrib4dNV): + #if defined(GLX_USE_TLS) ++ subq $40, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) ++ movq %xmm1, 16(%rsp) ++ movq %xmm2, 24(%rsp) ++ movq %xmm3, 32(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 32(%rsp), %xmm3 ++ movq 24(%rsp), %xmm2 ++ movq 16(%rsp), %xmm1 ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $40, %rsp + movq 5896(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -27816,7 +32450,13 @@ + .type GL_PREFIX(VertexAttrib4dvNV), @function + GL_PREFIX(VertexAttrib4dvNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 5904(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -27853,7 +32493,19 @@ + .type GL_PREFIX(VertexAttrib4fNV), @function + GL_PREFIX(VertexAttrib4fNV): + #if defined(GLX_USE_TLS) ++ subq $40, %rsp ++ movq %rdi, (%rsp) ++ movq %xmm0, 8(%rsp) ++ movq %xmm1, 16(%rsp) ++ movq %xmm2, 24(%rsp) ++ movq %xmm3, 32(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 32(%rsp), %xmm3 ++ movq 24(%rsp), %xmm2 ++ movq 16(%rsp), %xmm1 ++ movq 8(%rsp), %xmm0 ++ movq (%rsp), %rdi ++ addq $40, %rsp + movq 5912(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -27902,7 +32554,13 @@ + .type GL_PREFIX(VertexAttrib4fvNV), @function + GL_PREFIX(VertexAttrib4fvNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 5920(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -27939,7 +32597,17 @@ + .type GL_PREFIX(VertexAttrib4sNV), @function + GL_PREFIX(VertexAttrib4sNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5928(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -27984,7 +32652,13 @@ + .type GL_PREFIX(VertexAttrib4svNV), @function + GL_PREFIX(VertexAttrib4svNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 5936(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -28021,7 +32695,17 @@ + .type GL_PREFIX(VertexAttrib4ubNV), @function + GL_PREFIX(VertexAttrib4ubNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5944(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -28066,7 +32750,13 @@ + .type GL_PREFIX(VertexAttrib4ubvNV), @function + GL_PREFIX(VertexAttrib4ubvNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 5952(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -28103,7 +32793,17 @@ + .type GL_PREFIX(VertexAttribPointerNV), @function + GL_PREFIX(VertexAttribPointerNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5960(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -28148,7 +32848,13 @@ + .type GL_PREFIX(VertexAttribs1dvNV), @function + GL_PREFIX(VertexAttribs1dvNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5968(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -28185,7 +32891,13 @@ + .type GL_PREFIX(VertexAttribs1fvNV), @function + GL_PREFIX(VertexAttribs1fvNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5976(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -28222,7 +32934,13 @@ + .type GL_PREFIX(VertexAttribs1svNV), @function + GL_PREFIX(VertexAttribs1svNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5984(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -28259,7 +32977,13 @@ + .type GL_PREFIX(VertexAttribs2dvNV), @function + GL_PREFIX(VertexAttribs2dvNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 5992(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -28296,7 +33020,13 @@ + .type GL_PREFIX(VertexAttribs2fvNV), @function + GL_PREFIX(VertexAttribs2fvNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6000(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -28333,7 +33063,13 @@ + .type GL_PREFIX(VertexAttribs2svNV), @function + GL_PREFIX(VertexAttribs2svNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6008(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -28370,7 +33106,13 @@ + .type GL_PREFIX(VertexAttribs3dvNV), @function + GL_PREFIX(VertexAttribs3dvNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6016(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -28407,7 +33149,13 @@ + .type GL_PREFIX(VertexAttribs3fvNV), @function + GL_PREFIX(VertexAttribs3fvNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6024(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -28444,7 +33192,13 @@ + .type GL_PREFIX(VertexAttribs3svNV), @function + GL_PREFIX(VertexAttribs3svNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6032(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -28481,7 +33235,13 @@ + .type GL_PREFIX(VertexAttribs4dvNV), @function + GL_PREFIX(VertexAttribs4dvNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6040(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -28518,7 +33278,13 @@ + .type GL_PREFIX(VertexAttribs4fvNV), @function + GL_PREFIX(VertexAttribs4fvNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6048(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -28555,7 +33321,13 @@ + .type GL_PREFIX(VertexAttribs4svNV), @function + GL_PREFIX(VertexAttribs4svNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6056(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -28592,7 +33364,13 @@ + .type GL_PREFIX(VertexAttribs4ubvNV), @function + GL_PREFIX(VertexAttribs4ubvNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6064(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -28629,7 +33407,13 @@ + .type GL_PREFIX(GetTexBumpParameterfvATI), @function + GL_PREFIX(GetTexBumpParameterfvATI): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6072(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -28666,7 +33450,13 @@ + .type GL_PREFIX(GetTexBumpParameterivATI), @function + GL_PREFIX(GetTexBumpParameterivATI): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6080(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -28703,7 +33493,13 @@ + .type GL_PREFIX(TexBumpParameterfvATI), @function + GL_PREFIX(TexBumpParameterfvATI): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6088(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -28740,7 +33536,13 @@ + .type GL_PREFIX(TexBumpParameterivATI), @function + GL_PREFIX(TexBumpParameterivATI): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6096(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -28777,7 +33579,21 @@ + .type GL_PREFIX(AlphaFragmentOp1ATI), @function + GL_PREFIX(AlphaFragmentOp1ATI): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6104(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -28830,7 +33646,21 @@ + .type GL_PREFIX(AlphaFragmentOp2ATI), @function + GL_PREFIX(AlphaFragmentOp2ATI): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6112(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -28883,7 +33713,21 @@ + .type GL_PREFIX(AlphaFragmentOp3ATI), @function + GL_PREFIX(AlphaFragmentOp3ATI): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6120(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -28936,7 +33780,9 @@ + .type GL_PREFIX(BeginFragmentShaderATI), @function + GL_PREFIX(BeginFragmentShaderATI): + #if defined(GLX_USE_TLS) ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp + movq 6128(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -28965,7 +33811,9 @@ + .type GL_PREFIX(BindFragmentShaderATI), @function + GL_PREFIX(BindFragmentShaderATI): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 6136(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -28994,7 +33842,21 @@ + .type GL_PREFIX(ColorFragmentOp1ATI), @function + GL_PREFIX(ColorFragmentOp1ATI): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6144(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -29047,7 +33909,21 @@ + .type GL_PREFIX(ColorFragmentOp2ATI), @function + GL_PREFIX(ColorFragmentOp2ATI): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6152(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -29100,7 +33976,21 @@ + .type GL_PREFIX(ColorFragmentOp3ATI), @function + GL_PREFIX(ColorFragmentOp3ATI): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6160(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -29153,7 +34043,9 @@ + .type GL_PREFIX(DeleteFragmentShaderATI), @function + GL_PREFIX(DeleteFragmentShaderATI): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 6168(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -29182,7 +34074,9 @@ + .type GL_PREFIX(EndFragmentShaderATI), @function + GL_PREFIX(EndFragmentShaderATI): + #if defined(GLX_USE_TLS) ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp + movq 6176(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -29211,7 +34105,9 @@ + .type GL_PREFIX(GenFragmentShadersATI), @function + GL_PREFIX(GenFragmentShadersATI): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 6184(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -29240,7 +34136,13 @@ + .type GL_PREFIX(PassTexCoordATI), @function + GL_PREFIX(PassTexCoordATI): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6192(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -29277,7 +34179,13 @@ + .type GL_PREFIX(SampleMapATI), @function + GL_PREFIX(SampleMapATI): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6200(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -29314,7 +34222,13 @@ + .type GL_PREFIX(SetFragmentShaderConstantATI), @function + GL_PREFIX(SetFragmentShaderConstantATI): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6208(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -29351,7 +34265,13 @@ + .type GL_PREFIX(PointParameteriNV), @function + GL_PREFIX(PointParameteriNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6216(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -29388,7 +34308,13 @@ + .type GL_PREFIX(PointParameterivNV), @function + GL_PREFIX(PointParameterivNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6224(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -29426,7 +34352,9 @@ + HIDDEN(GL_PREFIX(_dispatch_stub_779)) + GL_PREFIX(_dispatch_stub_779): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 6232(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -29456,7 +34384,9 @@ + HIDDEN(GL_PREFIX(_dispatch_stub_780)) + GL_PREFIX(_dispatch_stub_780): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 6240(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -29486,7 +34416,13 @@ + HIDDEN(GL_PREFIX(_dispatch_stub_781)) + GL_PREFIX(_dispatch_stub_781): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6248(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -29524,7 +34460,13 @@ + HIDDEN(GL_PREFIX(_dispatch_stub_782)) + GL_PREFIX(_dispatch_stub_782): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6256(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -29562,7 +34504,9 @@ + HIDDEN(GL_PREFIX(_dispatch_stub_783)) + GL_PREFIX(_dispatch_stub_783): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 6264(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -29591,7 +34535,17 @@ + .type GL_PREFIX(GetProgramNamedParameterdvNV), @function + GL_PREFIX(GetProgramNamedParameterdvNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6272(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -29636,7 +34590,17 @@ + .type GL_PREFIX(GetProgramNamedParameterfvNV), @function + GL_PREFIX(GetProgramNamedParameterfvNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6280(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -29681,7 +34645,23 @@ + .type GL_PREFIX(ProgramNamedParameter4dNV), @function + GL_PREFIX(ProgramNamedParameter4dNV): + #if defined(GLX_USE_TLS) ++ subq $56, %rsp ++ movq %rdi, (%rsp) ++ movq %rsi, 8(%rsp) ++ movq %rdx, 16(%rsp) ++ movq %xmm0, 24(%rsp) ++ movq %xmm1, 32(%rsp) ++ movq %xmm2, 40(%rsp) ++ movq %xmm3, 48(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 48(%rsp), %xmm3 ++ movq 40(%rsp), %xmm2 ++ movq 32(%rsp), %xmm1 ++ movq 24(%rsp), %xmm0 ++ movq 16(%rsp), %rdx ++ movq 8(%rsp), %rsi ++ movq (%rsp), %rdi ++ addq $56, %rsp + movq 6288(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -29738,7 +34718,17 @@ + .type GL_PREFIX(ProgramNamedParameter4dvNV), @function + GL_PREFIX(ProgramNamedParameter4dvNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6296(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -29783,7 +34773,23 @@ + .type GL_PREFIX(ProgramNamedParameter4fNV), @function + GL_PREFIX(ProgramNamedParameter4fNV): + #if defined(GLX_USE_TLS) ++ subq $56, %rsp ++ movq %rdi, (%rsp) ++ movq %rsi, 8(%rsp) ++ movq %rdx, 16(%rsp) ++ movq %xmm0, 24(%rsp) ++ movq %xmm1, 32(%rsp) ++ movq %xmm2, 40(%rsp) ++ movq %xmm3, 48(%rsp) + call _x86_64_get_dispatch@PLT ++ movq 48(%rsp), %xmm3 ++ movq 40(%rsp), %xmm2 ++ movq 32(%rsp), %xmm1 ++ movq 24(%rsp), %xmm0 ++ movq 16(%rsp), %rdx ++ movq 8(%rsp), %rsi ++ movq (%rsp), %rdi ++ addq $56, %rsp + movq 6304(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -29840,7 +34846,17 @@ + .type GL_PREFIX(ProgramNamedParameter4fvNV), @function + GL_PREFIX(ProgramNamedParameter4fvNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6312(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -29885,7 +34901,9 @@ + .type GL_PREFIX(PrimitiveRestartIndexNV), @function + GL_PREFIX(PrimitiveRestartIndexNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 6320(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -29914,7 +34932,9 @@ + .type GL_PREFIX(PrimitiveRestartNV), @function + GL_PREFIX(PrimitiveRestartNV): + #if defined(GLX_USE_TLS) ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp + movq 6328(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -29944,7 +34964,13 @@ + HIDDEN(GL_PREFIX(_dispatch_stub_792)) + GL_PREFIX(_dispatch_stub_792): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6336(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -29982,7 +35008,13 @@ + HIDDEN(GL_PREFIX(_dispatch_stub_793)) + GL_PREFIX(_dispatch_stub_793): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6344(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -30019,7 +35051,13 @@ + .type GL_PREFIX(BindFramebufferEXT), @function + GL_PREFIX(BindFramebufferEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6352(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -30056,7 +35094,13 @@ + .type GL_PREFIX(BindRenderbufferEXT), @function + GL_PREFIX(BindRenderbufferEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6360(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -30093,7 +35137,9 @@ + .type GL_PREFIX(CheckFramebufferStatusEXT), @function + GL_PREFIX(CheckFramebufferStatusEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 6368(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -30122,7 +35168,13 @@ + .type GL_PREFIX(DeleteFramebuffersEXT), @function + GL_PREFIX(DeleteFramebuffersEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6376(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -30159,7 +35211,13 @@ + .type GL_PREFIX(DeleteRenderbuffersEXT), @function + GL_PREFIX(DeleteRenderbuffersEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6384(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -30196,7 +35254,17 @@ + .type GL_PREFIX(FramebufferRenderbufferEXT), @function + GL_PREFIX(FramebufferRenderbufferEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6392(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -30241,7 +35309,17 @@ + .type GL_PREFIX(FramebufferTexture1DEXT), @function + GL_PREFIX(FramebufferTexture1DEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6400(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -30286,7 +35364,17 @@ + .type GL_PREFIX(FramebufferTexture2DEXT), @function + GL_PREFIX(FramebufferTexture2DEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6408(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -30331,7 +35419,21 @@ + .type GL_PREFIX(FramebufferTexture3DEXT), @function + GL_PREFIX(FramebufferTexture3DEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6416(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -30384,7 +35486,13 @@ + .type GL_PREFIX(GenFramebuffersEXT), @function + GL_PREFIX(GenFramebuffersEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6424(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -30421,7 +35529,13 @@ + .type GL_PREFIX(GenRenderbuffersEXT), @function + GL_PREFIX(GenRenderbuffersEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6432(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -30458,7 +35572,9 @@ + .type GL_PREFIX(GenerateMipmapEXT), @function + GL_PREFIX(GenerateMipmapEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 6440(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -30487,7 +35603,17 @@ + .type GL_PREFIX(GetFramebufferAttachmentParameterivEXT), @function + GL_PREFIX(GetFramebufferAttachmentParameterivEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6448(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -30532,7 +35658,13 @@ + .type GL_PREFIX(GetRenderbufferParameterivEXT), @function + GL_PREFIX(GetRenderbufferParameterivEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6456(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -30569,7 +35701,9 @@ + .type GL_PREFIX(IsFramebufferEXT), @function + GL_PREFIX(IsFramebufferEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 6464(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -30598,7 +35732,9 @@ + .type GL_PREFIX(IsRenderbufferEXT), @function + GL_PREFIX(IsRenderbufferEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 6472(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -30627,7 +35763,17 @@ + .type GL_PREFIX(RenderbufferStorageEXT), @function + GL_PREFIX(RenderbufferStorageEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6480(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -30673,7 +35819,21 @@ + HIDDEN(GL_PREFIX(_dispatch_stub_811)) + GL_PREFIX(_dispatch_stub_811): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6488(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -30727,7 +35887,13 @@ + HIDDEN(GL_PREFIX(_dispatch_stub_812)) + GL_PREFIX(_dispatch_stub_812): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6496(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -30765,7 +35931,13 @@ + HIDDEN(GL_PREFIX(_dispatch_stub_813)) + GL_PREFIX(_dispatch_stub_813): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6504(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -30802,7 +35974,13 @@ + .type GL_PREFIX(BindFragDataLocationEXT), @function + GL_PREFIX(BindFragDataLocationEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6512(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -30839,7 +36017,13 @@ + .type GL_PREFIX(GetFragDataLocationEXT), @function + GL_PREFIX(GetFragDataLocationEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6520(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -30876,7 +36060,13 @@ + .type GL_PREFIX(GetUniformuivEXT), @function + GL_PREFIX(GetUniformuivEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6528(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -30913,7 +36103,13 @@ + .type GL_PREFIX(GetVertexAttribIivEXT), @function + GL_PREFIX(GetVertexAttribIivEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6536(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -30950,7 +36146,13 @@ + .type GL_PREFIX(GetVertexAttribIuivEXT), @function + GL_PREFIX(GetVertexAttribIuivEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6544(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -30987,7 +36189,13 @@ + .type GL_PREFIX(Uniform1uiEXT), @function + GL_PREFIX(Uniform1uiEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6552(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -31024,7 +36232,13 @@ + .type GL_PREFIX(Uniform1uivEXT), @function + GL_PREFIX(Uniform1uivEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6560(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -31061,7 +36275,13 @@ + .type GL_PREFIX(Uniform2uiEXT), @function + GL_PREFIX(Uniform2uiEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6568(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -31098,7 +36318,13 @@ + .type GL_PREFIX(Uniform2uivEXT), @function + GL_PREFIX(Uniform2uivEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6576(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -31135,7 +36361,17 @@ + .type GL_PREFIX(Uniform3uiEXT), @function + GL_PREFIX(Uniform3uiEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6584(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -31180,7 +36416,13 @@ + .type GL_PREFIX(Uniform3uivEXT), @function + GL_PREFIX(Uniform3uivEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6592(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -31217,7 +36459,17 @@ + .type GL_PREFIX(Uniform4uiEXT), @function + GL_PREFIX(Uniform4uiEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6600(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -31262,7 +36514,13 @@ + .type GL_PREFIX(Uniform4uivEXT), @function + GL_PREFIX(Uniform4uivEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6608(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -31299,7 +36557,13 @@ + .type GL_PREFIX(VertexAttribI1iEXT), @function + GL_PREFIX(VertexAttribI1iEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6616(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -31336,7 +36600,13 @@ + .type GL_PREFIX(VertexAttribI1ivEXT), @function + GL_PREFIX(VertexAttribI1ivEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6624(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -31373,7 +36643,13 @@ + .type GL_PREFIX(VertexAttribI1uiEXT), @function + GL_PREFIX(VertexAttribI1uiEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6632(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -31410,7 +36686,13 @@ + .type GL_PREFIX(VertexAttribI1uivEXT), @function + GL_PREFIX(VertexAttribI1uivEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6640(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -31447,7 +36729,13 @@ + .type GL_PREFIX(VertexAttribI2iEXT), @function + GL_PREFIX(VertexAttribI2iEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6648(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -31484,7 +36772,13 @@ + .type GL_PREFIX(VertexAttribI2ivEXT), @function + GL_PREFIX(VertexAttribI2ivEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6656(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -31521,7 +36815,13 @@ + .type GL_PREFIX(VertexAttribI2uiEXT), @function + GL_PREFIX(VertexAttribI2uiEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6664(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -31558,7 +36858,13 @@ + .type GL_PREFIX(VertexAttribI2uivEXT), @function + GL_PREFIX(VertexAttribI2uivEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6672(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -31595,7 +36901,17 @@ + .type GL_PREFIX(VertexAttribI3iEXT), @function + GL_PREFIX(VertexAttribI3iEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6680(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -31640,7 +36956,13 @@ + .type GL_PREFIX(VertexAttribI3ivEXT), @function + GL_PREFIX(VertexAttribI3ivEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6688(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -31677,7 +36999,17 @@ + .type GL_PREFIX(VertexAttribI3uiEXT), @function + GL_PREFIX(VertexAttribI3uiEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6696(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -31722,7 +37054,13 @@ + .type GL_PREFIX(VertexAttribI3uivEXT), @function + GL_PREFIX(VertexAttribI3uivEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6704(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -31759,7 +37097,13 @@ + .type GL_PREFIX(VertexAttribI4bvEXT), @function + GL_PREFIX(VertexAttribI4bvEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6712(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -31796,7 +37140,17 @@ + .type GL_PREFIX(VertexAttribI4iEXT), @function + GL_PREFIX(VertexAttribI4iEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6720(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -31841,7 +37195,13 @@ + .type GL_PREFIX(VertexAttribI4ivEXT), @function + GL_PREFIX(VertexAttribI4ivEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6728(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -31878,7 +37238,13 @@ + .type GL_PREFIX(VertexAttribI4svEXT), @function + GL_PREFIX(VertexAttribI4svEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6736(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -31915,7 +37281,13 @@ + .type GL_PREFIX(VertexAttribI4ubvEXT), @function + GL_PREFIX(VertexAttribI4ubvEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6744(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -31952,7 +37324,17 @@ + .type GL_PREFIX(VertexAttribI4uiEXT), @function + GL_PREFIX(VertexAttribI4uiEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6752(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -31997,7 +37379,13 @@ + .type GL_PREFIX(VertexAttribI4uivEXT), @function + GL_PREFIX(VertexAttribI4uivEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6760(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -32034,7 +37422,13 @@ + .type GL_PREFIX(VertexAttribI4usvEXT), @function + GL_PREFIX(VertexAttribI4usvEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6768(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -32071,7 +37465,17 @@ + .type GL_PREFIX(VertexAttribIPointerEXT), @function + GL_PREFIX(VertexAttribIPointerEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6776(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -32116,7 +37520,17 @@ + .type GL_PREFIX(FramebufferTextureLayerEXT), @function + GL_PREFIX(FramebufferTextureLayerEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6784(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -32161,7 +37575,17 @@ + .type GL_PREFIX(ColorMaskIndexedEXT), @function + GL_PREFIX(ColorMaskIndexedEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6792(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -32206,7 +37630,13 @@ + .type GL_PREFIX(DisableIndexedEXT), @function + GL_PREFIX(DisableIndexedEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6800(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -32243,7 +37673,13 @@ + .type GL_PREFIX(EnableIndexedEXT), @function + GL_PREFIX(EnableIndexedEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6808(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -32280,7 +37716,13 @@ + .type GL_PREFIX(GetBooleanIndexedvEXT), @function + GL_PREFIX(GetBooleanIndexedvEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6816(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -32317,7 +37759,13 @@ + .type GL_PREFIX(GetIntegerIndexedvEXT), @function + GL_PREFIX(GetIntegerIndexedvEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6824(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -32354,7 +37802,13 @@ + .type GL_PREFIX(IsEnabledIndexedEXT), @function + GL_PREFIX(IsEnabledIndexedEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6832(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -32391,7 +37845,17 @@ + .type GL_PREFIX(ClearColorIiEXT), @function + GL_PREFIX(ClearColorIiEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6840(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -32436,7 +37900,17 @@ + .type GL_PREFIX(ClearColorIuiEXT), @function + GL_PREFIX(ClearColorIuiEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6848(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -32481,7 +37955,13 @@ + .type GL_PREFIX(GetTexParameterIivEXT), @function + GL_PREFIX(GetTexParameterIivEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6856(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -32518,7 +37998,13 @@ + .type GL_PREFIX(GetTexParameterIuivEXT), @function + GL_PREFIX(GetTexParameterIuivEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6864(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -32555,7 +38041,13 @@ + .type GL_PREFIX(TexParameterIivEXT), @function + GL_PREFIX(TexParameterIivEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6872(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -32592,7 +38084,13 @@ + .type GL_PREFIX(TexParameterIuivEXT), @function + GL_PREFIX(TexParameterIuivEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6880(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -32629,7 +38127,13 @@ + .type GL_PREFIX(BeginConditionalRenderNV), @function + GL_PREFIX(BeginConditionalRenderNV): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 6888(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -32666,7 +38170,9 @@ + .type GL_PREFIX(EndConditionalRenderNV), @function + GL_PREFIX(EndConditionalRenderNV): + #if defined(GLX_USE_TLS) ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp + movq 6896(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -32695,7 +38201,9 @@ + .type GL_PREFIX(BeginTransformFeedbackEXT), @function + GL_PREFIX(BeginTransformFeedbackEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 6904(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -32724,7 +38232,13 @@ + .type GL_PREFIX(BindBufferBaseEXT), @function + GL_PREFIX(BindBufferBaseEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6912(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -32761,7 +38275,17 @@ + .type GL_PREFIX(BindBufferOffsetEXT), @function + GL_PREFIX(BindBufferOffsetEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6920(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -32806,7 +38330,17 @@ + .type GL_PREFIX(BindBufferRangeEXT), @function + GL_PREFIX(BindBufferRangeEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 + call _x86_64_get_dispatch@PLT ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6928(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -32851,7 +38385,9 @@ + .type GL_PREFIX(EndTransformFeedbackEXT), @function + GL_PREFIX(EndTransformFeedbackEXT): + #if defined(GLX_USE_TLS) ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp + movq 6936(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -32880,7 +38416,21 @@ + .type GL_PREFIX(GetTransformFeedbackVaryingEXT), @function + GL_PREFIX(GetTransformFeedbackVaryingEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %r8 ++ pushq %r9 ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %r9 ++ popq %r8 ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6944(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -32933,7 +38483,17 @@ + .type GL_PREFIX(TransformFeedbackVaryingsEXT), @function + GL_PREFIX(TransformFeedbackVaryingsEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6952(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -32978,7 +38538,9 @@ + .type GL_PREFIX(ProvokingVertexEXT), @function + GL_PREFIX(ProvokingVertexEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 6960(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -33008,7 +38570,13 @@ + HIDDEN(GL_PREFIX(_dispatch_stub_871)) + GL_PREFIX(_dispatch_stub_871): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6968(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -33046,7 +38614,13 @@ + HIDDEN(GL_PREFIX(_dispatch_stub_872)) + GL_PREFIX(_dispatch_stub_872): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6976(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -33083,7 +38657,17 @@ + .type GL_PREFIX(GetObjectParameterivAPPLE), @function + GL_PREFIX(GetObjectParameterivAPPLE): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6984(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -33128,7 +38712,13 @@ + .type GL_PREFIX(ObjectPurgeableAPPLE), @function + GL_PREFIX(ObjectPurgeableAPPLE): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 6992(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -33165,7 +38755,13 @@ + .type GL_PREFIX(ObjectUnpurgeableAPPLE), @function + GL_PREFIX(ObjectUnpurgeableAPPLE): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 7000(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -33202,7 +38798,9 @@ + .type GL_PREFIX(ActiveProgramEXT), @function + GL_PREFIX(ActiveProgramEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi + call _x86_64_get_dispatch@PLT ++ popq %rdi + movq 7008(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -33231,7 +38829,13 @@ + .type GL_PREFIX(CreateShaderProgramEXT), @function + GL_PREFIX(CreateShaderProgramEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 7016(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -33268,7 +38872,13 @@ + .type GL_PREFIX(UseShaderProgramEXT), @function + GL_PREFIX(UseShaderProgramEXT): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 7024(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -33306,7 +38916,17 @@ + HIDDEN(GL_PREFIX(_dispatch_stub_879)) + GL_PREFIX(_dispatch_stub_879): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 7032(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -33352,7 +38972,17 @@ + HIDDEN(GL_PREFIX(_dispatch_stub_880)) + GL_PREFIX(_dispatch_stub_880): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 7040(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -33398,7 +39028,17 @@ + HIDDEN(GL_PREFIX(_dispatch_stub_881)) + GL_PREFIX(_dispatch_stub_881): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx ++ pushq %rcx ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rcx ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 7048(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -33444,7 +39084,13 @@ + HIDDEN(GL_PREFIX(_dispatch_stub_882)) + GL_PREFIX(_dispatch_stub_882): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 7056(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -33482,7 +39128,13 @@ + HIDDEN(GL_PREFIX(_dispatch_stub_883)) + GL_PREFIX(_dispatch_stub_883): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rdx + call _x86_64_get_dispatch@PLT ++ popq %rdx ++ popq %rsi ++ popq %rdi + movq 7064(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -33519,7 +39171,13 @@ + .type GL_PREFIX(EGLImageTargetRenderbufferStorageOES), @function + GL_PREFIX(EGLImageTargetRenderbufferStorageOES): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 7072(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -33556,7 +39214,13 @@ + .type GL_PREFIX(EGLImageTargetTexture2DOES), @function + GL_PREFIX(EGLImageTargetTexture2DOES): + #if defined(GLX_USE_TLS) ++ pushq %rdi ++ pushq %rsi ++ pushq %rbp + call _x86_64_get_dispatch@PLT ++ popq %rbp ++ popq %rsi ++ popq %rdi + movq 7080(%rax), %r11 + jmp *%r11 + #elif defined(PTHREADS) +@@ -33923,6 +39587,18 @@ + .globl GL_PREFIX(TransformFeedbackVaryings) ; .set GL_PREFIX(TransformFeedbackVaryings), GL_PREFIX(TransformFeedbackVaryingsEXT) + .globl GL_PREFIX(ProvokingVertex) ; .set GL_PREFIX(ProvokingVertex), GL_PREFIX(ProvokingVertexEXT) + ++#if defined(GLX_USE_TLS) && defined(__linux__) ++ .section ".note.ABI-tag", "a" ++ .p2align 2 ++ .long 1f - 0f /* name length */ ++ .long 3f - 2f /* data length */ ++ .long 1 /* note length */ ++0: .asciz "GNU" /* vendor name */ ++1: .p2align 2 ++2: .long 0 /* note data: the ABI tag */ ++ .long 2,4,20 /* Minimum kernel version w/TLS */ ++3: .p2align 2 /* pad out section */ ++#endif /* GLX_USE_TLS */ + + #if defined (__ELF__) && defined (__linux__) + .section .note.GNU-stack,"",%progbits +Index: mesa/src/mapi/glapi/gen/gl_x86_asm.py +=================================================================== +--- mesa.orig/src/mapi/glapi/gen/gl_x86_asm.py 2011-03-16 19:27:01.157061012 +1100 ++++ mesa/src/mapi/glapi/gen/gl_x86_asm.py 2011-03-16 19:28:02.029275520 +1100 +@@ -84,18 +84,11 @@ + print '' + print '#ifdef GLX_USE_TLS' + print '' +- print '#ifdef GLX_X86_READONLY_TEXT' +- print '# define CTX_INSNS MOV_L(GS:(EAX), EAX)' +- print '#else' +- print '# define CTX_INSNS NOP /* Pad for init_glapi_relocs() */' +- print '#endif' +- print '' + print '# define GL_STUB(fn,off,fn_alt)\t\t\t\\' + print 'ALIGNTEXT16;\t\t\t\t\t\t\\' + print 'GLOBL_FN(GL_PREFIX(fn, fn_alt));\t\t\t\\' + print 'GL_PREFIX(fn, fn_alt):\t\t\t\t\t\\' + print '\tCALL(_x86_get_dispatch) ;\t\t\t\\' +- print '\tCTX_INSNS ; \\' + print '\tJMP(GL_OFFSET(off))' + print '' + print '#elif defined(PTHREADS)' +@@ -146,10 +139,14 @@ + print '\tHIDDEN(GLNAME(_x86_get_dispatch))' + print 'ALIGNTEXT16' + print 'GLNAME(_x86_get_dispatch):' +- print '\tcall 1f' +- print '1:\tpopl %eax' +- print '\taddl $_GLOBAL_OFFSET_TABLE_+[.-1b], %eax' +- print '\tmovl _glapi_tls_Dispatch@GOTNTPOFF(%eax), %eax' ++ print '\tpushl\t%ebx' ++ print '\tcall\t1f' ++ print '1:\tpopl\t%ebx' ++ print '\taddl\t$_GLOBAL_OFFSET_TABLE_+[.-1b], %ebx' ++ print '\tleal\t_glapi_tls_Dispatch@tlsgd(,%ebx,1), %eax' ++ print '\tcall\t___tls_get_addr@plt' ++ print '\tmovl\t(%eax),%eax' ++ print '\tpopl\t%ebx' + print '\tret' + print '' + print '#elif defined(PTHREADS)' +Index: mesa/src/mapi/glapi/glapi_entrypoint.c +=================================================================== +--- mesa.orig/src/mapi/glapi/glapi_entrypoint.c 2011-03-16 19:24:45.632133054 +1100 ++++ mesa/src/mapi/glapi/glapi_entrypoint.c 2011-03-16 19:25:54.684643514 +1100 +@@ -65,21 +65,6 @@ + static void + init_glapi_relocs( void ) + { +-#if defined(GLX_USE_TLS) && !defined(GLX_X86_READONLY_TEXT) +- extern unsigned long _x86_get_dispatch(void); +- char run_time_patch[] = { +- 0x65, 0xa1, 0, 0, 0, 0 /* movl %gs:0,%eax */ +- }; +- GLuint *offset = (GLuint *) &run_time_patch[2]; /* 32-bits for x86/32 */ +- const GLubyte * const get_disp = (const GLubyte *) run_time_patch; +- GLubyte * curr_func = (GLubyte *) gl_dispatch_functions_start; +- +- *offset = _x86_get_dispatch(); +- while ( curr_func != (GLubyte *) gl_dispatch_functions_end ) { +- (void) memcpy( curr_func, get_disp, sizeof(run_time_patch)); +- curr_func += DISPATCH_FUNCTION_SIZE; +- } +-#endif + } + + +Index: mesa/src/mapi/glapi/glapi_x86.S +=================================================================== +--- mesa.orig/src/mapi/glapi/glapi_x86.S 2011-03-16 19:28:39.130625572 +1100 ++++ mesa/src/mapi/glapi/glapi_x86.S 2011-03-16 19:29:04.271540544 +1100 +@@ -57,18 +57,11 @@ + + #ifdef GLX_USE_TLS + +-#ifdef GLX_X86_READONLY_TEXT +-# define CTX_INSNS MOV_L(GS:(EAX), EAX) +-#else +-# define CTX_INSNS NOP /* Pad for init_glapi_relocs() */ +-#endif +- + # define GL_STUB(fn,off,fn_alt) \ + ALIGNTEXT16; \ + GLOBL_FN(GL_PREFIX(fn, fn_alt)); \ + GL_PREFIX(fn, fn_alt): \ + CALL(_x86_get_dispatch) ; \ +- CTX_INSNS ; \ + JMP(GL_OFFSET(off)) + + #elif defined(PTHREADS) +@@ -119,10 +112,14 @@ + HIDDEN(GLNAME(_x86_get_dispatch)) + ALIGNTEXT16 + GLNAME(_x86_get_dispatch): ++ pushl %ebx + call 1f +-1: popl %eax +- addl $_GLOBAL_OFFSET_TABLE_+[.-1b], %eax +- movl _glapi_tls_Dispatch@GOTNTPOFF(%eax), %eax ++1: popl %ebx ++ addl $_GLOBAL_OFFSET_TABLE_+[.-1b], %ebx ++ leal _glapi_tls_Dispatch@tlsgd(,%ebx,1), %eax ++ call ___tls_get_addr@plt ++ movl (%eax),%eax ++ popl %ebx + ret + + #elif defined(PTHREADS) +@@ -147,6 +144,7 @@ + + ALIGNTEXT16 + GLOBL GLNAME(gl_dispatch_functions_start) ++ HIDDEN(GLNAME(gl_dispatch_functions_start)) + GLNAME(gl_dispatch_functions_start): + + GL_STUB(NewList, 0, NewList@8) +@@ -1410,6 +1408,18 @@ + ALIGNTEXT16 + GLNAME(gl_dispatch_functions_end): + ++#if defined(GLX_USE_TLS) && defined(__linux__) ++ .section ".note.ABI-tag", "a" ++ .p2align 2 ++ .long 1f - 0f /* name length */ ++ .long 3f - 2f /* data length */ ++ .long 1 /* note length */ ++0: .asciz "GNU" /* vendor name */ ++1: .p2align 2 ++2: .long 0 /* note data: the ABI tag */ ++ .long 2,4,20 /* Minimum kernel version w/TLS */ ++3: .p2align 2 /* pad out section */ ++#endif /* GLX_USE_TLS */ + + #if defined (__ELF__) && defined (__linux__) + .section .note.GNU-stack,"",%progbits --- mesa-7.10.2.orig/debian/patches/05_hurd-ftbfs.diff +++ mesa-7.10.2/debian/patches/05_hurd-ftbfs.diff @@ -0,0 +1,59 @@ +From: Samuel Thibault +Subject: Fix build on GNU/Hurd + +--- + configure.ac | 27 +++++++++++++++------------ + 1 file changed, 15 insertions(+), 12 deletions(-) + +Index: mesa/configure.ac +=================================================================== +--- mesa.orig/configure.ac ++++ mesa/configure.ac +@@ -591,6 +591,13 @@ else + enable_xcb=no + fi + ++dnl Direct rendering or just indirect rendering ++AC_ARG_ENABLE([driglx-direct], ++ [AS_HELP_STRING([--disable-driglx-direct], ++ [enable direct rendering in GLX and EGL for DRI @<:@default=enabled@:>@])], ++ [driglx_direct="$enableval"], ++ [driglx_direct="yes"]) ++ + dnl + dnl libGL configuration per driver + dnl +@@ -624,12 +631,14 @@ dri) + AC_MSG_ERROR([Can't use static libraries for DRI drivers]) + fi + +- # Check for libdrm +- PKG_CHECK_MODULES([LIBDRM], [libdrm >= $LIBDRM_REQUIRED]) +- PKG_CHECK_MODULES([DRI2PROTO], [dri2proto >= $DRI2PROTO_REQUIRED]) +- PKG_CHECK_MODULES([GLPROTO], [glproto >= $GLPROTO_REQUIRED]) +- GL_PC_REQ_PRIV="libdrm >= $LIBDRM_REQUIRED dri2proto >= $DRI2PROTO_REQUIRED glproto >= $GLPROTO_REQUIRED" +- DRI_PC_REQ_PRIV="libdrm >= $LIBDRM_REQUIRED" ++ if test x"$driglx_direct" = xyes; then ++ # Check for libdrm ++ PKG_CHECK_MODULES([LIBDRM], [libdrm >= $LIBDRM_REQUIRED]) ++ PKG_CHECK_MODULES([DRI2PROTO], [dri2proto >= $DRI2PROTO_REQUIRED]) ++ PKG_CHECK_MODULES([GLPROTO], [glproto >= $GLPROTO_REQUIRED]) ++ GL_PC_REQ_PRIV="libdrm >= $LIBDRM_REQUIRED dri2proto >= $DRI2PROTO_REQUIRED glproto >= $GLPROTO_REQUIRED" ++ DRI_PC_REQ_PRIV="libdrm >= $LIBDRM_REQUIRED" ++ fi + + # find the DRI deps for libGL + if test "$x11_pkgconfig" = yes; then +@@ -726,12 +735,6 @@ AC_ARG_WITH([dri-searchpath], + [DRI_DRIVER_SEARCH_DIR="$withval"], + [DRI_DRIVER_SEARCH_DIR='${DRI_DRIVER_INSTALL_DIR}']) + AC_SUBST([DRI_DRIVER_SEARCH_DIR]) +-dnl Direct rendering or just indirect rendering +-AC_ARG_ENABLE([driglx-direct], +- [AS_HELP_STRING([--disable-driglx-direct], +- [enable direct rendering in GLX and EGL for DRI @<:@default=enabled@:>@])], +- [driglx_direct="$enableval"], +- [driglx_direct="yes"]) + dnl Which drivers to build - default is chosen by platform + AC_ARG_WITH([dri-drivers], + [AS_HELP_STRING([--with-dri-drivers@<:@=DIRS...@:>@], --- mesa-7.10.2.orig/debian/patches/06_kfreebsd-ftbfs.diff +++ mesa-7.10.2/debian/patches/06_kfreebsd-ftbfs.diff @@ -0,0 +1,23 @@ +From: Aurelien Jarno + +mesa fails to build on GNU/kFreeBSD, since some parts are not enabled. + +http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=524690 + +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: mesa/configure.ac +=================================================================== +--- mesa.orig/configure.ac ++++ mesa/configure.ac +@@ -851,7 +851,7 @@ if test "$mesa_driver" = dri; then + ;; + esac + ;; +- freebsd* | dragonfly*) ++ freebsd* | dragonfly* | kfreebsd*-gnu*) + DEFINES="$DEFINES -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1" + DEFINES="$DEFINES -DIN_DRI_DRIVER -DHAVE_ALIAS" + DEFINES="$DEFINES -DGLX_INDIRECT_RENDERING" --- mesa-7.10.2.orig/debian/patches/108_fix_leaks_dri2_screen_creation.patch +++ mesa-7.10.2/debian/patches/108_fix_leaks_dri2_screen_creation.patch @@ -0,0 +1,107 @@ +From bfc889517ad0d490cce1817eecac146d66bcd923 Mon Sep 17 00:00:00 2001 +From: Henri Verbeet +Date: Sat, 29 Jan 2011 23:00:48 +0000 +Subject: glx: Fix leaks in DRI2 screen creation error paths. + +Signed-off-by: Brian Paul +--- +diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c +index 75b1a10..ab7915c 100644 +--- a/src/glx/dri2_glx.c ++++ b/src/glx/dri2_glx.c +@@ -804,11 +804,14 @@ dri2CreateScreen(int screen, struct glx_display * priv) + return NULL; + + memset(psc, 0, sizeof *psc); +- if (!glx_screen_init(&psc->base, screen, priv)) +- return NULL; ++ if (!glx_screen_init(&psc->base, screen, priv)) { ++ Xfree(psc); ++ return NULL; ++ } + + if (!DRI2Connect(priv->dpy, RootWindow(priv->dpy, screen), + &driverName, &deviceName)) { ++ glx_screen_cleanup(&psc->base); + XFree(psc); + return NULL; + } +@@ -918,12 +921,15 @@ dri2CreateScreen(int screen, struct glx_display * priv) + return &psc->base; + + handle_error: ++ if (psc->fd) ++ close(psc->fd); ++ if (psc->driver) ++ dlclose(psc->driver); + Xfree(driverName); + Xfree(deviceName); ++ glx_screen_cleanup(&psc->base); + XFree(psc); + +- /* FIXME: clean up here */ +- + return NULL; + } + +diff --git a/src/glx/glxclient.h b/src/glx/glxclient.h +index 36a0808..fdcef80 100644 +--- a/src/glx/glxclient.h ++++ b/src/glx/glxclient.h +@@ -585,6 +585,8 @@ struct glx_display + extern int + glx_screen_init(struct glx_screen *psc, + int screen, struct glx_display * priv); ++extern void ++glx_screen_cleanup(struct glx_screen *psc); + + #if defined(GLX_DIRECT_RENDERING) && !defined(GLX_USE_APPLEGL) + extern __GLXDRIdrawable * +diff --git a/src/glx/glxext.c b/src/glx/glxext.c +index c75c9bf..25d266e 100644 +--- a/src/glx/glxext.c ++++ b/src/glx/glxext.c +@@ -194,17 +194,7 @@ FreeScreenConfigs(struct glx_display * priv) + screens = ScreenCount(priv->dpy); + for (i = 0; i < screens; i++) { + psc = priv->screens[i]; +- if (psc->configs) { +- glx_config_destroy_list(psc->configs); +- if (psc->effectiveGLXexts) +- Xfree(psc->effectiveGLXexts); +- psc->configs = NULL; /* NOTE: just for paranoia */ +- } +- if (psc->visuals) { +- glx_config_destroy_list(psc->visuals); +- psc->visuals = NULL; /* NOTE: just for paranoia */ +- } +- Xfree((char *) psc->serverGLXexts); ++ glx_screen_cleanup(psc); + + #if defined(GLX_DIRECT_RENDERING) && !defined(GLX_USE_APPLEGL) + if (psc->driScreen) { +@@ -728,6 +718,22 @@ glx_screen_init(struct glx_screen *psc, + return GL_TRUE; + } + ++_X_HIDDEN void ++glx_screen_cleanup(struct glx_screen *psc) ++{ ++ if (psc->configs) { ++ glx_config_destroy_list(psc->configs); ++ if (psc->effectiveGLXexts) ++ Xfree(psc->effectiveGLXexts); ++ psc->configs = NULL; /* NOTE: just for paranoia */ ++ } ++ if (psc->visuals) { ++ glx_config_destroy_list(psc->visuals); ++ psc->visuals = NULL; /* NOTE: just for paranoia */ ++ } ++ Xfree((char *) psc->serverGLXexts); ++} ++ + /* + ** Allocate the memory for the per screen configs for each screen. + ** If that works then fetch the per screen configs data. +-- +cgit v0.8.3-6-g21f6 --- mesa-7.10.2.orig/debian/patches/series +++ mesa-7.10.2/debian/patches/series @@ -0,0 +1,17 @@ +02_use-ieee-fp-on-s390-and-m68k.patch +04_osmesa_version.diff +05_hurd-ftbfs.diff +06_kfreebsd-ftbfs.diff +08-kfreebsd-gallium.diff + +# Ubuntu patches. +100_no_abi_tag.patch +101_ubuntu_hidden_glname.patch +103_savage-expose_fbmodes_with_nonzero_alpha.patch +105_use_shared_libdricore.patch +108_fix_leaks_dri2_screen_creation.patch +111_export_searchdirs_in_dripc.diff +112_fix_segfault_on_nvAF.diff +113_fix_tls.diff +114_intel_dri_renderer_string.diff +115_fix_dri2_errors_when_indirect.diff --- mesa-7.10.2.orig/debian/patches/111_export_searchdirs_in_dripc.diff +++ mesa-7.10.2/debian/patches/111_export_searchdirs_in_dripc.diff @@ -0,0 +1,24 @@ +Index: mesa/src/mesa/drivers/dri/Makefile +=================================================================== +--- mesa.orig/src/mesa/drivers/dri/Makefile 2011-02-18 21:02:23.777115341 +1100 ++++ mesa/src/mesa/drivers/dri/Makefile 2011-02-18 21:03:12.557186884 +1100 +@@ -26,6 +26,7 @@ + -e 's,@INSTALL_INC_DIR@,$(INSTALL_INC_DIR),' \ + -e 's,@VERSION@,$(MESA_MAJOR).$(MESA_MINOR).$(MESA_TINY),' \ + -e 's,@DRI_DRIVER_DIR@,$(DRI_DRIVER_INSTALL_DIR),' \ ++ -e 's,@DRI_DRIVER_SEARCH_DIR@,$(DRI_DRIVER_SEARCH_DIR),' \ + -e 's,@DRI_PC_REQ_PRIV@,$(DRI_PC_REQ_PRIV),' + + dri.pc: dri.pc.in +Index: mesa/src/mesa/drivers/dri/dri.pc.in +=================================================================== +--- mesa.orig/src/mesa/drivers/dri/dri.pc.in 2011-02-18 21:02:23.717115253 +1100 ++++ mesa/src/mesa/drivers/dri/dri.pc.in 2011-02-18 21:02:45.337146969 +1100 +@@ -3,6 +3,7 @@ + libdir=@INSTALL_LIB_DIR@ + includedir=@INSTALL_INC_DIR@ + dridriverdir=@DRI_DRIVER_DIR@ ++drisearchdirs=@DRI_DRIVER_SEARCH_DIR@ + + Name: dri + Description: Direct Rendering Infrastructure --- mesa-7.10.2.orig/debian/patches/100_no_abi_tag.patch +++ mesa-7.10.2/debian/patches/100_no_abi_tag.patch @@ -0,0 +1,42 @@ +--- a/src/mapi/glapi/glapi_x86-64.S ++++ b/src/mapi/glapi/glapi_x86-64.S +@@ -30885,18 +30885,6 @@ GL_PREFIX(EGLImageTargetTexture2DOES): + .globl GL_PREFIX(FramebufferTextureLayer) ; .set GL_PREFIX(FramebufferTextureLayer), GL_PREFIX(FramebufferTextureLayerEXT) + .globl GL_PREFIX(ProvokingVertex) ; .set GL_PREFIX(ProvokingVertex), GL_PREFIX(ProvokingVertexEXT) + +-#if defined(GLX_USE_TLS) && defined(__linux__) +- .section ".note.ABI-tag", "a" +- .p2align 2 +- .long 1f - 0f /* name length */ +- .long 3f - 2f /* data length */ +- .long 1 /* note length */ +-0: .asciz "GNU" /* vendor name */ +-1: .p2align 2 +-2: .long 0 /* note data: the ABI tag */ +- .long 2,4,20 /* Minimum kernel version w/TLS */ +-3: .p2align 2 /* pad out section */ +-#endif /* GLX_USE_TLS */ + + #if defined (__ELF__) && defined (__linux__) + .section .note.GNU-stack,"",%progbits +--- a/src/mapi/glapi/glapi_x86.S ++++ b/src/mapi/glapi/glapi_x86.S +@@ -1279,18 +1279,6 @@ GLNAME(gl_dispatch_functions_start): + ALIGNTEXT16 + GLNAME(gl_dispatch_functions_end): + +-#if defined(GLX_USE_TLS) && defined(__linux__) +- .section ".note.ABI-tag", "a" +- .p2align 2 +- .long 1f - 0f /* name length */ +- .long 3f - 2f /* data length */ +- .long 1 /* note length */ +-0: .asciz "GNU" /* vendor name */ +-1: .p2align 2 +-2: .long 0 /* note data: the ABI tag */ +- .long 2,4,20 /* Minimum kernel version w/TLS */ +-3: .p2align 2 /* pad out section */ +-#endif /* GLX_USE_TLS */ + + #if defined (__ELF__) && defined (__linux__) + .section .note.GNU-stack,"",%progbits --- mesa-7.10.2.orig/debian/patches/04_osmesa_version.diff +++ mesa-7.10.2/debian/patches/04_osmesa_version.diff @@ -0,0 +1,17 @@ +--- + src/mesa/drivers/osmesa/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: mesa/src/mesa/drivers/osmesa/Makefile +=================================================================== +--- mesa.orig/src/mesa/drivers/osmesa/Makefile ++++ mesa/src/mesa/drivers/osmesa/Makefile +@@ -37,7 +37,7 @@ + # -DCHAN_BITS=16/32. + $(TOP)/$(LIB_DIR)/$(OSMESA_LIB_NAME): $(OBJECTS) $(CORE_MESA) + $(MKLIB) -o $(OSMESA_LIB) -linker '$(CXX)' -ldflags '$(LDFLAGS)' \ +- -major $(MESA_MAJOR) -minor $(MESA_MINOR) -patch $(MESA_TINY) \ ++ -major 6 -minor 5 -patch 3 \ + -install $(TOP)/$(LIB_DIR) -cplusplus $(MKLIB_OPTIONS) \ + -id $(INSTALL_LIB_DIR)/lib$(OSMESA_LIB).$(MESA_MAJOR).dylib \ + $(OSMESA_LIB_DEPS) $(OBJECTS) $(CORE_MESA) --- mesa-7.10.2.orig/debian/patches/02_use-ieee-fp-on-s390-and-m68k.patch +++ mesa-7.10.2/debian/patches/02_use-ieee-fp-on-s390-and-m68k.patch @@ -0,0 +1,23 @@ +Patch that fixes Debian bug #349437. + +This patch by David Nusinow. + +--- + src/mesa/main/compiler.h | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +Index: mesa/src/mesa/main/compiler.h +=================================================================== +--- mesa.orig/src/mesa/main/compiler.h ++++ mesa/src/mesa/main/compiler.h +@@ -375,8 +375,9 @@ static INLINE GLuint CPU_TO_LE32(GLuint + * USE_IEEE: Determine if we're using IEEE floating point + */ + #if defined(__i386__) || defined(__386__) || defined(__sparc__) || \ +- defined(__s390x__) || defined(__powerpc__) || \ ++ defined(__s390__) || defined(__s390x__) || defined(__powerpc__) || \ + defined(__x86_64__) || \ ++ defined(__m68k__) || \ + defined(ia64) || defined(__ia64__) || \ + defined(__hppa__) || defined(hpux) || \ + defined(__mips) || defined(_MIPS_ARCH) || \ --- mesa-7.10.2.orig/debian/patches/101_ubuntu_hidden_glname.patch +++ mesa-7.10.2/debian/patches/101_ubuntu_hidden_glname.patch @@ -0,0 +1,12 @@ +Index: mesa/src/mesa/x86/glapi_x86.S +=================================================================== +--- mesa.orig/src/mapi/glapi/glapi_x86.S 2009-06-29 14:43:07.000000000 +0300 ++++ mesa/src/mapi/glapi/glapi_x86.S 2009-06-29 14:45:38.000000000 +0300 +@@ -148,7 +148,6 @@ + + ALIGNTEXT16 + GLOBL GLNAME(gl_dispatch_functions_start) +- HIDDEN(GLNAME(gl_dispatch_functions_start)) + GLNAME(gl_dispatch_functions_start): + + GL_STUB(NewList, _gloffset_NewList, NewList@8) --- mesa-7.10.2.orig/debian/scripts/choose-configs +++ mesa-7.10.2/debian/scripts/choose-configs @@ -0,0 +1,46 @@ +# Script to choose which configurations are to be built depending on the value +# of the DEB_BUILD_ARCH variable. +# +# Copyright © 2006 Thierry Reding + +############################################################################## +## architecture-specific configurations ###################################### + +# choose an architecture-specific build of swx11 and GLU if a matching +# configuration exists +#ifneq ($(wildcard configs/debian-swx11+glu-$(DEB_BUILD_ARCH)),) +# SWX11_GLU_CONFIGS := debian-swx11+glu-$(DEB_BUILD_ARCH) +#else +# SWX11_GLU_CONFIGS := debian-swx11+glu-any +#endif + +# same for static builds +#ifneq ($(wildcard configs/debian-swx11+glu-static-$(DEB_BUILD_ARCH)),) +# SWX11_GLU_CONFIGS += debian-swx11+glu-static-$(DEB_BUILD_ARCH) +#else +# SWX11_GLU_CONFIGS += debian-swx11+glu-static-any +#endif + +SWX11_GLU_CONFIGS := swx11+glu swx11+glu-static + +############################################################################## +## CPU-optimized configurations ############################################## + +# ifneq (,$(filter $(DEB_HOST_ARCH), i386 kfreebsd-i386 hurd-i386)) +# SWX11_GLU_CONFIGS += swx11+glu-i386-i686 +# endif + +#ifeq ($(DEB_BUILD_ARCH), alpha) +# SWX11_GLU_CONFIGS += debian-swx11+glu-alpha-ev5 +#endif + +#ifeq ($(DEB_BUILD_ARCH), powerpc) +# SWX11_GLU_CONFIGS += debian-swx11+glu-powerpc-603 +#endif + +#ifeq ($(DEB_BUILD_ARCH), sparc) +# SWX11_GLU_CONFIGS += debian-swx11+glu-sparc-ultrasparc +#endif + +# vim: ft=make + --- mesa-7.10.2.orig/docs/relnotes-7.10.2.html +++ mesa-7.10.2/docs/relnotes-7.10.2.html @@ -10,7 +10,7 @@ -

Mesa 7.10.2 Release Notes / TBD

+

Mesa 7.10.2 Release Notes / April 6, 2011

Mesa 7.10.2 is a bug fix release which fixes bugs found since the 7.10 release. @@ -28,7 +28,12 @@

MD5 checksums

-TBD
+2f9f444265534a2cfd9a99d1a8291089  MesaLib-7.10.2.tar.gz
+f5de82852f1243f42cc004039e10b771  MesaLib-7.10.2.tar.bz2
+47836e37bab6fcafe3ac90c9544ba0e9  MesaLib-7.10.2.zip
+175120325828f313621cc5bc6c504803  MesaGLUT-7.10.2.tar.gz
+8c71d273f5f8d6c5eda4ffc39e0fe03e  MesaGLUT-7.10.2.tar.bz2
+03036c8efe7b791a90fa0f2c41b43f43  MesaGLUT-7.10.2.zip
 
--- mesa-7.10.2.orig/src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h +++ mesa-7.10.2/src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h @@ -67,6 +67,9 @@ #define DRM_RADEON_INFO 0x1 #endif +static inline void radeon_gem_get_kernel_name(struct radeon_bo *dummy, uint32_t *value) +{ +} static inline uint32_t radeon_gem_name_bo(struct radeon_bo *dummy) {