Commit Graph

39 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
matthieu
da301e0d8a Better support for recursive make. 2008-01-06 18:34:38 +00:00
matthieu
594ab30bdc remove emacs droppings that were not ignored by cvs 2007-12-04 22:23:50 +00:00
matthieu
b33b8154a6 Build infrastructure for libGL dri modules.
Work in progress, not connected to the build yet.
2007-12-04 22:00:27 +00:00