summaryrefslogtreecommitdiff
path: root/dist/Mesa/src
AgeCommit message (Collapse)Author
2012-08-17Add a missing file from previous updateMartin Pieuchot
2012-08-17Upate to libGL 7.11.2Martin Pieuchot
Tested by jsg@, matthieu@ and ajacoutot@, ok mattieu@
2012-07-13Lets gallium a chance to build with our llvm portMartin Pieuchot
2012-07-07Unbreak GLX1.3 ctors with software dri, this makes clutter/cogl works withMartin Pieuchot
software accleration. Upstream commit d44f821213d7ed67fed18d6ea6c34b61a665c89e by Adam Jackson ok ajacoutot@, jasper@, robert@
2012-07-07Don't enable INTEL_swap_event unconditionally and wait forever for anMartin Pieuchot
event that's not coming. This unbreak clutter/cogl and probably other toolkits. Upstream commit 25620eb1d277c6b80edb136eaeca12532fcfd3ce by Adam Jackson ok ajacoutot@, jasper@, robert@
2011-12-05avoid pesky gcc warnings due to missing eolMarc Espie
okay matthieu@
2011-10-23Merge Mesa 7.10.3Matthieu Herrb
2011-10-23Import Mesa 7.10.3Matthieu Herrb
2011-10-01Fix an X server crash when starting GLX 1.3 apps;Robert Nagy
https://bugs.freedesktop.org/show_bug.cgi?id=29091 ok matthieu@, oga@
2011-05-31Remove MesaDemos contents. Not used by Xenocara builds anymore.Matthieu Herrb
2010-07-24Two patches cherry picked from mesa master just after 7.8 was branchedOwain Ainsworth
(but never made it into the 7.8 branch). first: Author: Jesse Barnes <jbarnes@virtuousgeek.org> Date: Thu Apr 22 12:47:41 2010 -0700 DRI2: add config query extension Add a new DRI2 configuration query extension. Allows for DRI2 client code to query for common DRI2 configuration options. second: Author: Jesse Barnes <jbarnes@virtuousgeek.org> Date: Thu Apr 22 12:49:03 2010 -0700 DRI2/GLX: check for vblank_mode in DRI2 GLX code Re-add support for the vblank_mode environment and configuration variable. Useful for benchmarking and app control. The final affect being that config and environment variables for controlling swap mode work with dri2 now. which helps me a lot with debugging. ok matthieu@.
2010-07-24When a dri driver dlopen()s libGL to try and get the correct symbols (inOwain Ainsworth
case libGL itself was dlopen()ed), it was using "libGL.so.1" (linux convention, doesn't work on OpenBSD). Change it to "libGL.so" so it has a hope in hell of working. I finally wrote this patch when trying to port perl's OpenGL modules ages ago and i finally decided that hacking each instance of dlopening libGL to use RTLD_GLOBAL was dumb. ok matthieu@
2010-07-24This is a hack.Owain Ainsworth
Since mesa changed some code, GL applications have been rather nasty to the xserver, if they are unconstrained rendering wise they spam too many requests at the xserver and make it slow as hell (even if the cpu is fairly idle). There is a throttling mechanism in the xserver (1.8 at least), but that only really works if you are doing vblank syncing (which is turned off in our intel driver right now for unrelated reasons), and even then an unsynced client can cause the same problem. While a proper fix is being worked on (I am in discussion with X developers), comment out two conditionals in the intel mesa driver so that even when using dri2 swapbuffers we wait on the swapbuffers before last before rendeing more, this prevents almost DoSing the server. Tested on ironlake, 855 and 965 by me (and my matthieu as well). ok matthieu@
2010-06-22Update to Mesa 7.8.2. Tested by johan@. Thanks.Matthieu Herrb
2010-05-26Bring back the local patch that has a habit of vanishing every time weOwain Ainsworth
update mesa. Specifically, we disallow in radeondrm for dri clients mapping registers, so don't try and map them (and thus fail as we currently were). for r300+ this was only used for falling back on old drm versions (doesn't matter). For r100, the new BO abstraction used the SWI number (in hardware scratch reg 3) for the buffer age, so use the newly added getparam member to grab that info instead of trying to read the mapped registers. Update to the lastest kernel headers before you even think about building this or trying to use a snapshot on r100/r200. So now radeon works with mesa again, hoorah! Tested on rv250 by Josh Elsasser, and on R420 (and x800) by myself.
2010-05-22Import Mesa 7.10.3Matthieu Herrb
2010-05-22Update to Mesa 7.8.1. Tested on a bulk ports build by naddy@, ok oga@.Matthieu Herrb
2009-11-21Stop printing to stderr whenever we fail to initialise GEM (every timeOwain Ainsworth
without diffs), libraries shouldn't do that, and it's frankly pretty irritating. ok matthieu ages ago. prompted by deraadt@
2009-09-08undo a bit of overzealous backporting from the DRI2 bits, this chunkOwain Ainsworth
isn't strictly needed and it causes GL apps to segfault on exit on the 965 with dri1 and xserver 1.6. ok matthieu@
2009-08-06backport some code from mesa current (and 7.5) so that the dri2 protocolOwain Ainsworth
is correctly handled. without fixes to mesa and the ddx, the so-called backwards compat goop that was added just plain does not work and ends up with rendering bullshit.
2009-05-17Update to Mesa 7.4.2. Tested by oga@, ckuethe@ and naddy@.Matthieu Herrb
2009-05-17Import Mesa 7.10.3Matthieu Herrb
2009-02-05Bah. Diff applied strangely last time. Fix fallout.Owain Ainsworth
It builds now.
2009-02-04Merge in two commits of mine from upstream mesa which mean that onOwain Ainsworth
startup with and when we have only one pipe running we will always pick the correct vblank pipe to sync to. ok matthieu@.
2009-01-11Oops, missed a line removal. Fix build.Owain Ainsworth
2009-01-11fix use of uninitialised value in one of our local changes.Owain Ainsworth
ok matthieu@
2009-01-10Remove ttm entrypoints. That memory manager interface isn't going to see theOwain Ainsworth
light of day and has already been removed in mesa master (ages ago). As a bonus, removes the annoying "falling back to classic" message on launching a gl application. ok matthieu@.
2009-01-10remove the triple buffering support from the intel driver, the supportOwain Ainsworth
from this was removed from the kernel and is very much deprecated. Pageflipping is also probably broken and should not be used. Similar change happened in mesa master a while back. ok matthieu@
2009-01-10Remove "old style" DRI2 entrypoints.Owain Ainsworth
ok matthieu@.
2009-01-10Remove the ARB_occlusion_query support in the intel drivers. It was racy andOwain Ainsworth
broken and the kernel ioctl doesn't exist anymore. GEM has a much better solution for this. ok matthieu (as part of a larger diff)
2009-01-10For the radeon mesa driver, don't try and map the card's mmio region. WeOwain Ainsworth
really don't need it. There's one case where it's used, and that is on ``older'' drms, newer ones provide that one value via a parameter. This is the first stage in my project to stop all cards mapping registers. This does mean that drivers that depend on this may eventually die (tdfx, i'm looking at you!). ok matthieu@
2008-11-02oops do not commit emacs droppingsMatthieu Herrb
2008-11-02Import Mesa 7.10.3Matthieu Herrb
2008-11-02Mesa 7.2, Tested by ckuethe@, naddy@, oga@, and others.Matthieu Herrb
2008-08-12Fix out-of-bounds memory access in swizzle_copy(). My fix was different,Owain Ainsworth
but this one (from mesa, prompted by my diff) should run a little faster. Now mplayer -vo gl or gl2 works with dri enabled. Detected by otto malloc. Some debugging help from todd. ok matthieu@, todd@.
2008-08-02unbreak biuld. From Travers Buda. Thanks.Matthieu Herrb
2008-08-02Prevent a crash if Delete is not defined for the given renderbuffer.Matthieu Herrb
Patch from OUSADOU Azwaw. Thanks. ok oga@.
2008-05-31Update to Mesa 7.0.3. tested my oga@ and johan@Matthieu Herrb
2008-05-31Import Mesa 7.10.3Matthieu Herrb
2008-04-19When mesa uses sse the current allocator was just using malloc, meaningOwain Ainsworth
that the memory was not set to executable. This caused some horrible segfaults that due to lack of hardware i've been unable to track down for months. Conveniently, there was already a memory allocator that uses mmap to create executable memory, #ifdef linux. Make it usable for us too. Problem solved! Thanks for todd@ for helping me debug, and deraadt@ for noticing the allocator. Makes SiS work with dri, probaby solves a bunch of other people too. ok matthieu@ (who has sent this upstream).
2008-04-17Fix from Eric Anholt in Mesa-current:Matthieu Herrb
[965] Fix potential segfaults from bad realloc. C has no order of evaluation restrictions on function arguments, so we attempted to realloc from new-size to new-size.
2008-02-12Update to Mesa 7.0.2. Tested by naddy@ (full ports build), simon@Matthieu Herrb
and oga@ (with dri enabled).
2008-02-12Import Mesa 7.10.3Matthieu Herrb
2007-12-21__builtin_expect is a gcc 3.x feature. define it out for gcc 2.95.Matthieu Herrb
Patch suggested by miod@. Thanks.
2007-11-24merge Mesa 7.0.1Matthieu Herrb
2007-11-24Mesa 7.0.1Matthieu Herrb
2007-04-19assorted fixes for dealing with zero-size frame/renderbuffers.Alexandre Anriot
from freedesktop (mesa-commits) with help from games/bzflag; ok matthieu@
2007-03-05fix build with gcc 2.95Matthieu Herrb
2007-03-03import MesaLibs version 6.5.2Matthieu Herrb
2006-12-04Include "glheader.h" to get a definition of __builtin_expect for gcc 2.95.Matthieu Herrb