Commit Graph

104 Commits

Author SHA1 Message Date
jsg
f149319ba0 Only build the gallium radeon winsys on i386/amd64 as
those are the only archs that currently use gallium radeon drivers.

It should build anywhere that has the libdrm radeon headers
installed.  And while that should really be everywhere it
isn't at the moment and won't be for release.

It isn't clear why the radeon winsys in Mesa 10.4 didn't have
the same problem.

Found the hard way by todd@ on alpha.
2015-02-23 23:39:27 +00:00
jsg
f62222a305 Backport support for GLX_MESA_query_renderer for non Intel drivers.
This is desirable as the chromium port now uses this extension to
obtain pci vendor/device ids for use in feature/extension blacklists.

Prompted by a mail from byrnet@, tested on r600g by krw@

The newly added os_get_total_physical_memory() was passing the length of
a pointer rather than the type which made the sysctl call fail on
non 64 bit archs.  And it was passing the wrong pointer for the result.
Fixes for these problems have been submitted back upstream.
2015-02-22 09:30:33 +00:00
jsg
82481235fe use .PATH to work around symlinks in dist tarball 2015-02-21 00:39:06 +00:00
jsg
a3c5584b37 switch back to Mesa 10.2
With 10.4.3 gpu compositing on chromium would result in a black window
on older Intel parts (ie x60s with 945gm) and at least some discrete
Radeon parts.  These problems do not seem to occur on recent Intel
parts, though those have coherent memory and hardware contexts.

It isn't clear what changes in Mesa are involved in the problem
though it also occurs with the 10.3 branch.
2015-02-20 23:31:04 +00:00
jsg
5f55a0a16b Mesa 10.4.3 2015-01-25 15:09:12 +00:00
jsg
b222fe706e Mesa 10.2.7 2014-09-07 15:32:18 +00:00
jsg
92dd606da1 use CPPFLAGS instead of CFLAGS for additional defines/includes 2014-07-17 13:53:23 +00:00
jsg
128505aa0d gallium/targets/{r300,r600,radeonsi}/dri/drm_target.c is now a symlink to
gallium/targets/{r300,r600,radeonsi}/common/drm_target.c in the Mesa source
but cvs import ignores symlinks.

Change the directory we search for drm_target.c in to deal with this.
2014-07-10 08:44:00 +00:00
jsg
ea95abebcf Mesa 10.2.3 2014-07-09 21:32:40 +00:00
jsg
3caad18866 sync LLVM_VERSION with the llvm port. 2014-04-20 10:58:20 +00:00
jsg
b2251fdbcd Mesa 9.2.5 2014-01-19 03:20:40 +00:00
miod
f4d0252ced m68k needs libGL compiled with -fPIC 2014-01-11 12:39:14 +00:00
matthieu
27ccb204c3 Remove the atexit() hack from OpenGL drivers
now that atexit() is behaving like on Linux.
ok matthew@, millert@, dcoppa@, miod@
2013-12-30 18:32:47 +00:00
jsg
f0c6bb9965 Mesa 9.2.3 2013-11-24 06:23:35 +00:00
jsg
fd926d2624 Mesa 9.2.2 2013-11-09 02:54:53 +00:00
jsg
e14706fc9b regen for Mesa 9.2.1 2013-10-05 10:12:54 +00:00
jsg
30ff36c6f4 make an if statement work as intended
fixes build breakage on alpha reported by todd and naddy
2013-09-07 02:12:21 +00:00
jsg
0a47c2f9b5 the i810 driver has been removed from mesa 2013-09-06 07:14:33 +00:00
jsg
3d42c41fe1 Remove now unused makefiles for the non gallium r300/r600 drivers.
The code these files refer to has been removed.
2013-09-06 07:01:09 +00:00
jsg
e8c334b0c4 fix a merge error 2013-09-05 15:27:58 +00:00
jsg
18a75284bd build infrastructure changes for Mesa 9.2.0
ok matthieu@ mpi@
2013-09-05 15:11:54 +00:00
miod
9eba551554 Remove COMPILER_VERSION tests used to special-case gcc 2, since it is no
longer used.
2013-08-22 18:48:45 +00:00
guenther
b5bb12998e Bump the major on every single base library. There are a couple
not bumped by this that will be corrected soon.

heavy lifting by todd@
2013-08-13 07:07:07 +00:00
jsg
b9cb6db770 build mesa radeon drivers on sparc64 and switch to gallium drivers
for r300 and r600
2013-08-12 04:16:52 +00:00
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