Commit Graph

68 Commits

Author SHA1 Message Date
mpi
3f7a93e085 Merge libmesa and libmesagallium build makefiles because they share
a lot of common sources.

ok matthieu@
2012-08-26 18:46:42 +00:00
mpi
36b2b317a6 Use -lpthread only, pointed out by ajacoutot@ 2012-08-21 10:34:07 +00:00
mpi
e67a5fe840 Upate to libGL 7.11.2
Tested by jsg@, matthieu@ and ajacoutot@, ok mattieu@
2012-08-17 13:57:59 +00:00
mpi
dbe156d77d Fix path to mesa sources 2012-07-13 15:42:03 +00:00
mpi
eba99e2372 Let swrastg a chance to compile 2012-07-13 12:55:32 +00:00
mpi
7d428aff6d Import swrastg the Gallium3D software rasterizer. It uses the softpipe
driver by default but can also use the llvmpipe driver that use LLVM 
for code generation if available.

Not yet linked to the build as it depends on pthreads and we don't know
yet how to handle the switch from the default 'swrast' driver, but having
it in tree will help testing and debugging the remaining issues.

Tested by ajacoutot@ and matthieu@, looks ok to matthieu@
2012-07-13 12:54:20 +00:00
mpi
87615d415c Import the infrastructure for building Gallium3D graphics drivers.
Currently only software drivers are supported, looks ok to matthieu.
2012-07-13 12:43:30 +00:00
mpi
d89f95e29c Fix build with XENOCARA_BUILD_DRI=No
ok matthieu@
2012-06-04 10:18:45 +00:00
matthieu
d03f2ad290 radeon_dri.so needs the radeon_drm library, like the other
Mesa radeon drivers. From oga@.
2012-01-27 07:07:43 +00:00
miod
e40bd9f548 Compile prog_execute.c with -fno-tree-ter on alpha (instead of -O0) to skirt
the ICE, until a fix is devised (insert annoyed comment about hairy tricky
bugs in the ``reload'' code here).
2011-12-03 15:36:21 +00:00
naddy
e1ab192eb3 on alpha, remove optimization flags when compiling prog_execute.c to
prevent an internal compiler error in gcc 4.2.1; ok matthieu@
2011-11-29 14:57:54 +00:00
oga
75d011a3a1 Fix r200 libGL by linking with libdrm_radeon.
tested and reported by brynet; thanks!

``if it works, commit it'' matthieu@
2011-11-23 21:07:12 +00:00
matthieu
b7c47e461d Use -fPIC consistently with libmesa. fixes build on sparc. 2011-10-31 18:36:06 +00:00
matthieu
e9f704ccf2 Fix previous, which left out C sources. 2011-10-27 07:07:39 +00:00
matthieu
e455438cc5 fix build on mips64. problem spotted by todd@. 2011-10-26 21:48:08 +00:00
matthieu
a25491e7be Remove extra white space at EOF 2011-10-26 21:15:07 +00:00
matthieu
77b69b735d Build system updates for Mesa 7.10.3 2011-10-23 13:57:36 +00:00
oga
e7189c6b6c Now the kernel support has been commited we can enable r600 driver
becaue the lack of kernel support won't break people trying to use gl.

ok matthieu ages ago
2011-05-30 21:52:42 +00:00
oga
5377107505 link libdrm_radeon so this actually can resolve symbols 2011-05-02 21:55:21 +00:00
todd
27291783e7 enable pixman (with a workaround from miod@) for m68k, fixes hp300 and mvme68k 2010-08-25 17:44:24 +00:00
matthieu
cd750bf570 Update to Mesa 7.8.2. Tested by johan@. Thanks. 2010-06-22 20:04:22 +00:00
matthieu
fee37e4ada Remove an extra debug target that leaked in. 2010-05-30 20:42:44 +00:00
matthieu
69d68a5946 Remove the makefiles for dri drivers that aren't built anymore. 2010-05-27 06:25:45 +00:00
matthieu
23bbc6ddb4 Build infrastructure for Mesa 7.8.1. 2010-05-22 20:14:14 +00:00
matthieu
d9a92f27a6 use INSTALL_DATA in BSD Makefiles. ok oga@ 2010-05-08 14:15:29 +00:00
matthieu
1ef4920a5b Remove a workaround for a gcc ICE on mips64 that was fixed
by a recent gcc commit.
2010-02-03 12:44:10 +00:00
oga
9997d7a073 backport some code from mesa current (and 7.5) so that the dri2 protocol
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-08-06 15:50:02 +00:00
matthieu
c4a03b3069 This is Mesa 7.4.2. from Brad. 2009-05-25 18:40:11 +00:00
matthieu
4be2d14bbe Update build infrastructure for Mesa 7.4. 2009-05-17 20:20:23 +00:00
matthieu
b67e1f26fa Add missing OpenBSD RCS Ids. 2009-01-28 16:10:44 +00:00
oga
f89935ff4d Switch over to using the kernel *_drm.h headers instead of the copies
thereof provided with libdrm. This has been annoying me forever, and it
a blight caused by developing widely used drivers out of the kernel
tree.

ok matthieu@
2009-01-10 16:06:51 +00:00
oga
fb552d1643 Fix substitutions for the pkg-config files. A couple of fields were
missed out, and one was looking for the wrong thing.

ok matthieu@
2009-01-10 16:04:43 +00:00
oga
cd1fdaad7a Don't build intel_bufmgr_ttm.c anymore, the rest of the ttm code has
been removed.

ok matthieu@
2009-01-10 16:02:04 +00:00
oga
34ca8034ae Don't build the "unichrome" driver. We don't have the kernel headers for
it, and we're about to switch to using kernel headers instead of the
ones packaged with libdrm. If the unichrome driver gets rewritten (or I
eventually get time), then it'll come back.

ok matthieu@
2009-01-10 16:01:10 +00:00
todd
5fe2c4cd47 add -fPIC for sparc
ugly, but ok matthieu@
2008-11-05 07:18:25 +00:00
matthieu
811bfaa46d This is now Mesa 7.2. Noticed by brad@. Thanks. 2008-11-02 16:45:34 +00:00
matthieu
b4cc3aa54b Build fix. There were symlinks hiding in the git repository... 2008-11-02 16:07:40 +00:00
matthieu
8baeee737f Update build infrastructure for libGL after Mesa 7.2 update. 2008-11-02 15:01:32 +00:00
matthieu
2252cd2bcd Fix clean target. 2008-09-14 19:47:42 +00:00
brad
8a571d626f Bump MESA_TINY (2 -> 3) after the last update of Mesa to 7.0.3
so that the pkgconfig files have the correct version.

ok okan@
2008-07-16 20:24:39 +00:00
matthieu
80656e86d4 Update to Mesa 7.0.3. tested my oga@ and johan@ 2008-05-31 16:36:47 +00:00
matthieu
27ae5db2a9 dri libs depend on libmesa_pic.a 2008-04-19 07:15:17 +00:00
matthieu
bbc31bf586 Introduce bsd.xconf.mk to set default config variables used
at several places in the Xenocara build in a central place instead
of duplicating the checks all over the place. ok oga@.
2008-03-25 23:41:50 +00:00
oga
223fbde840 Fix libmesa build on amd64 with XENOCARA_BUILD_DRI enabled.
Initial fix from phessler, help from matthieu. Thanks to both!
2008-03-23 16:43:25 +00:00
matthieu
6869a2ba6e dri drivers need too be linked against libX11 for AIGLX (for threads stubs).
Problem found by oga@. Thanks.
2008-02-20 22:41:51 +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
oga
e571581c1f Fix the linkage and CFLAGS of the dri libs. they don't segfault immediately
on startup now.

still a little sketchy though.
2008-02-07 00:09:01 +00:00
matthieu
098b2a2a58 Don't change the libGL linkage when not using dri. 2008-02-02 17:38:56 +00:00
matthieu
e4f12cdae7 remove extra white space 2008-02-02 17:36:48 +00:00
matthieu
f872674912 stuff for building libGL with dri support. Also includes clean-up
of the regular libGL build. bump major because some symbols were
removed. ok oga@
2008-02-02 17:24:30 +00:00