Commit Graph

34 Commits

Author SHA1 Message Date
matthieu
f4c2f8c818 import xcb-util 0.3.4 2009-05-23 14:37:52 +00:00
matthieu
65b2c83108 import libxcb 1.2 2009-05-22 15:55:46 +00:00
matthieu
fced6378df Update to Mesa 7.4.2. Tested by oga@, ckuethe@ and naddy@. 2009-05-17 20:26:36 +00:00
oga
a59dd3b126 Bah. Diff applied strangely last time. Fix fallout.
It builds now.
2009-02-05 01:37:06 +00:00
oga
ba0f4d62e2 Merge in two commits of mine from upstream mesa which mean that on
startup with and when we have only one pipe running we will always pick
the correct vblank pipe to sync to.

ok matthieu@.
2009-02-04 19:48:26 +00:00
oga
5e89e3dfdd Oops, missed a line removal. Fix build. 2009-01-11 20:35:40 +00:00
oga
1892786361 fix use of uninitialised value in one of our local changes.
ok matthieu@
2009-01-11 20:32:31 +00:00
oga
7efd4e6855 Remove ttm entrypoints. That memory manager interface isn't going to see the
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-10 15:56:13 +00:00
oga
64d859dd9e remove the triple buffering support from the intel driver, the support
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-10 15:27:14 +00:00
oga
89ec318c9a Remove "old style" DRI2 entrypoints.
ok matthieu@.
2009-01-10 15:12:43 +00:00
oga
dce0e78b94 Remove the ARB_occlusion_query support in the intel drivers. It was racy and
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-10 15:09:50 +00:00
oga
3dcdb7063b For the radeon mesa driver, don't try and map the card's mmio region. We
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@
2009-01-10 14:59:52 +00:00
matthieu
a5aec75608 oops do not commit emacs droppings 2008-11-02 15:03:19 +00:00
matthieu
895907f0b2 Mesa 7.2, Tested by ckuethe@, naddy@, oga@, and others. 2008-11-02 14:58:06 +00:00
matthieu
0c9c122b77 remove VMS specific stuff 2008-11-02 14:27:17 +00:00
matthieu
69e9f99391 remove ms-windows specific stuff 2008-11-02 14:26:07 +00:00
oga
e812b16917 Fix out-of-bounds memory access in swizzle_copy(). My fix was different,
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-12 23:16:07 +00:00
matthieu
37355e1dc2 unbreak biuld. From Travers Buda. Thanks. 2008-08-02 23:04:55 +00:00
matthieu
1db3addd67 Prevent a crash if Delete is not defined for the given renderbuffer.
Patch from OUSADOU Azwaw. Thanks. ok oga@.
2008-08-02 16:01:32 +00:00
matthieu
80656e86d4 Update to Mesa 7.0.3. tested my oga@ and johan@ 2008-05-31 16:36:47 +00:00
oga
ce0d22a55d When mesa uses sse the current allocator was just using malloc, meaning
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-19 13:11:24 +00:00
matthieu
a794a5f85b Fix from Eric Anholt in Mesa-current:
[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-04-17 21:21:27 +00:00
matthieu
b139abf7aa Update to Mesa 7.0.2. Tested by naddy@ (full ports build), simon@
and oga@ (with dri enabled).
2008-02-12 21:09:25 +00:00
matthieu
267ae69ebc __builtin_expect is a gcc 3.x feature. define it out for gcc 2.95.
Patch suggested by miod@. Thanks.
2007-12-21 22:33:22 +00:00
matthieu
5257e11db0 merge Mesa 7.0.1 2007-11-24 17:41:36 +00:00
matthieu
0d540fed81 Mesa 7.0.1 2007-11-24 17:25:28 +00:00
aanriot
d1f4a95e58 assorted fixes for dealing with zero-size frame/renderbuffers.
from freedesktop (mesa-commits) with help from games/bzflag;
ok matthieu@
2007-04-19 08:12:55 +00:00
matthieu
ddf969dda9 fix build with gcc 2.95 2007-03-05 22:10:59 +00:00
matthieu
2f8f3de5e4 import MesaDemos version 6.5.2 2007-03-03 11:59:27 +00:00
matthieu
fe3d26ad6d import MesaLibs version 6.5.2 2007-03-03 11:56:24 +00:00
matthieu
46659db4fd Include "glheader.h" to get a definition of __builtin_expect for gcc 2.95. 2006-12-04 22:11:20 +00:00
matthieu
131c8c1e4e Make this build with gcc 2.95 2006-12-03 18:18:52 +00:00
matthieu
8c9bfd57b8 Import MesaDemos 6.5.1 2006-11-25 18:56:37 +00:00
matthieu
e9438a8659 Import MesaLibs 6.5.1. (in dist/ since its code is shared between lib
and xserver)...
2006-11-25 18:49:17 +00:00