Commit Graph

80 Commits

Author SHA1 Message Date
jsg
7c02ec8a3f Define HAVE_LIBDRM_RADEON when compiling radeon dri drivers,
required for newer radeondrm.  Expanded version of a diff from kettenis@
ok kettenis@ mpi@
2013-06-27 14:53:50 +00:00
jsg
65d2acd0c3 add the build infrastructure for the gallium r600 driver
ok mpi@
2013-06-17 23:30:25 +00:00
jsg
1b3475a727 fix rcsid 2013-06-14 05:14:22 +00:00
jsg
fd2bf1e300 add the build infrastructure for the gallium r300 driver
based on an earlier diff from mpi@
ok mpi@
2013-06-13 10:39:28 +00:00
matthieu
bf60acb55f Use MAKE_FLAGS to propagate XENOCARA_BUILD_GALLIUM to install step. 2013-04-14 19:59:03 +00:00
mpi
290e67360e Add a new option to the xenocara infrastructure be able to automatically
build the Gallium3D software rasterizer as part of the libGL.

Note that it can also makes use of LLVM to build the llvmpipe if the
corresponding port is installed. Please refer to the README for a more
complete documentation.

Prodded by ajacoutot@, ok matthieu@
2013-04-14 10:23:04 +00:00
matthieu
a9c3b44e12 Enable the radeon r100 dri module on macppc. ok mpi@ 2012-12-07 17:13:41 +00:00
mpi
6fba99f3a9 Correctly define HAVE_POSIX_MEMALIGN, missed in previous. Breakage reported
by ajacoutot@
2012-12-04 14:06:32 +00:00
mpi
26df0b43a8 Include the software winsys and state tracker sources in the swrastg
driver rather than in the libmesagallium build. This non functional
change allows to use the libmesagallium in any gallium target (r300g,
nouveau...)
2012-11-28 13:53:16 +00:00
mpi
0661f3e5da Link libGL with -lpthread to allow the llvm-pipe driver to be loaded.
ok matthieu@, ajacoutot@
2012-11-11 12:09:09 +00:00
mpi
8aa8224279 Build r200 and r300 dri drivers on macppc too.
ok matthieu@
2012-08-29 12:52:39 +00:00
mpi
bea4a27add Remove empty files... 2012-08-26 18:54:20 +00:00
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