Commit graph

231 commits

Author SHA1 Message Date
Brian
d5692cb349 gallium: new surface/context tracker (sct) module
Will be used for tracking the surfaces and textures which are bound/used by
contexts.
2008-03-10 17:22:18 -06:00
José Fonseca
2d38d1b300 Remove files of unsupported build systems. 2008-02-25 17:11:28 +09:00
Ian Romanick
d119931002 Cell: Add missing "gallium/winsys" to SRC_DIRS to fix build. 2008-02-19 09:43:47 -08:00
José Fonseca
90b2beb661 Simplify makefile boilerplate code.
Don't define ASM_SOURCES variable globally -- reserve that variable to be defined
locally by makefiles, together with C_SOURCES and CPP_SOURCES.
2008-02-19 14:06:11 +09:00
José Fonseca
df8ab3140c Bring rtasm from mesa to gallium. 2008-02-19 14:01:49 +09:00
José Fonseca
0448dbd64a Update for llvm -> gallivm rename. 2008-02-18 12:33:34 +00:00
José Fonseca
1f2d011786 Build glx/x11. 2008-02-18 15:45:29 +09:00
José Fonseca
bfd5916eaf Code reorganization: split gallium and mesa makefiles.
In other words, don't build src/gallium source code from within src/mesa/Makefile.

Also, allow to customize which gallium auxiliary dirs, driver driver, winsys
dirs get built from the config/* files.
2008-02-18 14:25:04 +09:00
Ian Romanick
71071b7a9e Cell: Add missing back-slash in linux-cell config file 2008-02-15 10:36:48 -08:00
Ian Romanick
eb3f7aa6f8 Cell: Add INCLUDE_DIRS to SPU_CFLAGS to fix build. 2008-02-15 10:33:12 -08:00
José Fonseca
6acd63a498 Code reorganization: update build.
Update the Makefiles and includes for the new paths.

Note that there hasn't been no separation of the Makefiles yet, and make is
jumping all over the place. That will be taken care shortly. But for now, make
should work. It was tested with linux and linux-dri. Linux-cell and linux-llvm
might require some minor tweaks.
2008-02-15 17:50:12 +09:00
Brian
59e7bfd5ac Cell: add OPT_FLAGS var 2008-01-28 18:18:46 -07:00
Brian
7d0421d6cd Cell: s/-W/-Wall/ in linux-cell 2008-01-24 17:04:54 -07:00
Ian Romanick
b3492a2052 Use HOST_CC for programs that will run on the build host 2008-01-23 15:25:52 -08:00
Ian Romanick
ffcb4d8498 Use EXTRA_LIB_PATH with *_LIB_DEPS
Make sure EXTRA_LIB_PATH is used with all the LIB_DEPS.  Re-order some
of the options and tweak the whitespace to make the various LIB_DEPS
more readable.  This makes building for Cell on x86 a bit easier and
doesn't seem to effect other builds.
2008-01-23 15:25:52 -08:00
Ian Romanick
eb4a7382dc Remove unnecessary paths
Removing the paths on certain commands (e.g., ppu32-gcc) and removing
-I/usr/include makes it possible to build for Cell on both PowerPC and
x86 hosts.
2008-01-23 15:25:52 -08:00
Zack Rusin
9789c301b4 llvm: we need custom rules so had to redo the build a little bit
also don't use sse when llvm is enabled
2008-01-04 09:27:42 -05:00
Brian
1613c49c98 Cell: added -Wmissing-prototypes to SPU_CFLAGS 2008-01-03 09:57:12 -07:00
Ian Romanick
9a0fe23d49 Port to libspe2
libspe is deprecated in Cell SDK 2.1, and it is removed in Cell SDK 3.0.
This patch ports the existing libspe-based code to libspe2.  Some error
checking (eh-hem) would be nice.
2007-12-11 12:43:50 -08:00
Ian Romanick
bfb43e8e79 Remove '-include altivec.h'.
Including altivec.h caused problems in some places that use "pixel" as a
variable name.
2007-12-11 12:41:12 -08:00
Zack Rusin
63a9d835ce Redo the fragment program examples to match vp's
we just load text files instead of compiling tons of small
binaries
2007-12-11 09:49:34 -05:00
Brian
36ef54deae remove -Wall, add -DGALLIUM_CELL 2007-12-10 14:10:29 -07:00
Brian
5935626818 Add dependency checking for Cell driver sources. 2007-12-05 14:57:19 -07:00
Brian
91692fce20 added -fPIC 2007-12-02 15:34:27 -07:00
Brian
c27082995d don't build libglw 2007-12-02 15:34:14 -07:00
Brian
88b715b049 Initial Cell driver infrastructure.
No real code yet.  Just stand-ins and make/build infrastructure.
2007-12-02 15:23:51 -07:00
Brian
233c374d02 glut doesn't need -lXt 2007-12-02 15:20:13 -07:00
José Fonseca
1d2ff452d4 Expand pkg-config flags before invoking the compiler.
This allows IDEs such as Eclipse to get the correct c-preprocessor flags used
from the build output.
2007-10-25 23:37:25 +01:00
Michel Dänzer
8568fadaf2 LLVM requires linking with the C++ compiler.
It's basically luck if it works with the C compiler on some platforms...
2007-10-25 18:26:26 +02:00
Zack Rusin
d76a7b61bb Cleanup some code. 2007-10-24 11:21:05 -04:00
Zack Rusin
b04430efd9 Introduce linux-llvm target. Remove the llvm code from the default build for now.
Cleanup some of the debugging output.
2007-10-24 11:21:04 -04:00
Zack Rusin
2dbba8b024 Implement the conversion and do the initial execution pass. 2007-10-24 11:21:03 -04:00
Zack Rusin
b2e529982e Initial stab at LLVM integration. 2007-10-24 11:21:03 -04:00
José Fonseca
59424e2d34 Update x86's static and profile configs. 2007-09-28 18:18:50 +01:00
José Fonseca
83a674a7af Update linux-profile config. 2007-09-19 23:48:07 +01:00
Brian
a17d5361b2 remove the -DMESA flags 2007-08-20 17:02:27 -06:00
Brian
3fc926f374 Remove many dependencies on mesa headers.
To build with mesa, need -DMESA in makefile/config file.
2007-08-16 18:11:55 -06:00
Keith Whitwell
8a475cb791 Rename drivers/dri/i915pipe --> drivers/dri/intel_winsys.
This is appropriate as this is not a "pipe driver for the i915" as the
old name would suggest, but rather a dri driver that can provide "winsys"
backends to softpipe/i915/i965/etc pipe drivers, running under the
intel DDX, drm, etc.

It also frees up the i915pipe name for something more appropriate, ie
mesa/pipe/i915pipe.
2007-08-08 09:42:19 +01:00
Keith Whitwell
b4c18efcd0 Build the "pipe" version of the i915tex driver.
This hands all rendering off to the softpipe rasterizer.
2007-07-31 20:22:49 +01:00
michal
e0a26b0467 Merge branch 'master' of git+ssh://michal@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch 2007-07-27 10:05:40 +02:00
Zhang
76fb808910 Fix a number of MINGW32 issues 2007-07-21 11:28:06 -06:00
michal
3b8bc1f467 Merge branch 'master' of git+ssh://michal@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch 2007-07-06 17:53:44 +02:00
Eric Anholt
1a413b4d77 Use -pthread instead of -lpthread on FreeBSD. 2007-06-22 11:19:42 -07:00
Keith Whitwell
f185411637 Only build i915tex 2007-06-20 23:17:13 +01:00
Dave Airlie
b2dde0a783 miniglx: update defines in linux-solo config 2007-06-05 09:36:28 +10:00
Brian
c128c3ce8c master/trunk is now for Mesa 7.1 devel: bump versions 2007-05-14 14:30:36 -06:00
Dave Airlie
b3378f6cc5 nouveau: disable nouveau build by default
Until this is API/ABI stable building it by default isn't a good idea.
2007-05-05 15:43:01 +10:00
Brian
ae5f67575d Makefile clean-ups for miniglx. 2007-05-04 18:27:12 -06:00
Brian
e371a5f084 Version bumps for 7.0 2007-04-27 17:01:23 -06:00
Jeremy Kolb
838a2a2633 Make xcb backend compile.
Add nouveau to match linux-dri config.
2007-04-20 21:53:38 -04:00