summaryrefslogtreecommitdiff
path: root/configs
AgeCommit message (Collapse)Author
2008-05-09Default DRI driver directory to match X.Org xserverDan Nicholson
Since the only valid consumer of the DRI drivers is the X.Org xserver, this changes the default DRI driver directory to match xorg-server: ${libdir}/dri. The old default of /usr/X11R6/modules/dri was wrong for nearly all current systems.
2008-05-05autoconf: Scrape the version from configs/defaultDan Nicholson
Added the make script version.mk to print the various version numbers from configs/default. This is used to substitute the version in autoconf rather than duplicating it in both places.
2008-05-05glcore: Set all external variables in configurationGeorge Sapountzis
based on patch by Dan Nicholson <dbn.lists@gmail.com>
2008-04-30autoconf: Don't substitute MESA_MAJOR and friendsDan Nicholson
Since the autoconf config inherits from default, we don't need to duplicate and substitute the MESA_* version numbers in configure.ac. The version number is only needed in configure for the help text.
2008-04-23glcore: tree sharing for DRI and XMesaGeorge Sapountzis
2008-04-23glcore: build from mesaGeorge Sapountzis
2008-04-18gallium: reorder libs so that translate can see rtasmKeith Whitwell
2008-04-15gallium: add translate directoryKeith Whitwell
2008-03-31DRI interface changes and DRI2 direct rendering support.Kristian Høgsberg
Add DRI2 direct rendering support to libGL and add DRI2 client side protocol code. Extend the GLX 1.3 create drawable functions in glx_pbuffer.c to call into the DRI driver when possible. Introduce __DRIconfig, opaque struct that represents a DRI driver configuration. Get's rid of the open coded __GLcontextModes in the DRI driver interface and the context modes create and destroy functions that the loader was requires to provide. glcore.h is no longer part of the DRI driver interface. The DRI config is GL binding agnostic, that is, not specific to GLX, EGL or other bindings. The core API is now also an extension, and the driver exports a list of extensions as the symbol __driDriverExtensions, which the loader must dlsym() for. The list of extension will always include the DRI core extension, which allows creating and manipulating DRI screens, drawables and contexts. The DRI legacy extension, when available, provides alternative entry points for creating the DRI objects that work with the XF86DRI infrastructure. Change DRI2 client code to not use drm drawables or contexts. We never used drm_drawable_t's and the only use for drm_context_t was as a unique identifier when taking the lock. We now just allocate a unique lock ID out of the DRILock sarea block. Once we get rid of the lock entirely, we can drop this hack. Change the interface between dri_util.c and the drivers, so that the drivers now export the DriverAPI struct as driDriverAPI instead of the InitScreen entry point. This lets us avoid dlsym()'ing for the DRI2 init screen function to see if DRI2 is supported by the driver.
2008-03-25cell: Enable MIT-SHM on Cell.Ian Romanick
2008-03-10gallium: new surface/context tracker (sct) moduleBrian
Will be used for tracking the surfaces and textures which are bound/used by contexts.
2008-03-10Darwin: Fixed small error in darwin config filesJeremy Huddleston
(cherry picked from commit a21c61ee8bc86a8843024cbf8e9daf4b39a7571a)
2008-03-10Darwin: Config/source fixes to now build glxdemo apps and OSMesaJeremy Huddleston
Also added darwin-fat-32bit darwin-fat-all configs and deleted old darwin-x86ppc config (cherry picked from commit 7120c0089d663a2b7e7b0c97da38f9bc233fbdd7)
2008-02-28Convert crlf->lf line endings.José Fonseca
Windows/DOS users should enable core.autocrlf from now on: git config --global core.autocrlf true
2008-02-25autoconf: Add gcc search patch to MKDEP_OPTIONS to eliminate warnings.Kristian Høgsberg
Also, use -include to avoid error message when make initially fails to include the non-existent depend file.
2008-02-25Remove files of unsupported build systems.José Fonseca
2008-02-19Cell: Add missing "gallium/winsys" to SRC_DIRS to fix build.Ian Romanick
2008-02-19Apple: Pulled in changes from Apple's patchset to allow mesa to build on ↵Jeremy Huddleston
darwin again (cherry picked from commit e70609b7b877dc0d8e67c958c453305e78f831df)
2008-02-19Simplify makefile boilerplate code.José Fonseca
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-19Bring rtasm from mesa to gallium.José Fonseca
2008-02-18Update for llvm -> gallivm rename.José Fonseca
2008-02-18Build glx/x11.José Fonseca
2008-02-18Code reorganization: split gallium and mesa makefiles.José Fonseca
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-15Cell: Add missing back-slash in linux-cell config fileIan Romanick
2008-02-15Cell: Add INCLUDE_DIRS to SPU_CFLAGS to fix build.Ian Romanick
2008-02-15Code reorganization: update build.José Fonseca
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-12glapi: Use variable for indent and flagsDan Nicholson
Put the path to indent and the flags to call it with in configs/default rather than in the Makefile. This makes it easier to change the values globally.
2008-01-28Cell: add OPT_FLAGS varBrian
2008-01-24Cell: s/-W/-Wall/ in linux-cellBrian
2008-01-23Use HOST_CC for programs that will run on the build hostIan Romanick
2008-01-23Use EXTRA_LIB_PATH with *_LIB_DEPSIan Romanick
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-23Remove unnecessary pathsIan Romanick
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-04llvm: we need custom rules so had to redo the build a little bitZack Rusin
also don't use sse when llvm is enabled
2008-01-03Cell: added -Wmissing-prototypes to SPU_CFLAGSBrian
2007-12-26Merge branch 'master' into autoconf2Dan Nicholson
2007-12-18Don't try to build nonexistent i915tex driver on linux-x86-64Dan Nicholson
2007-12-11Port to libspe2Ian Romanick
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-11Remove '-include altivec.h'.Ian Romanick
Including altivec.h caused problems in some places that use "pixel" as a variable name.
2007-12-11Redo the fragment program examples to match vp'sZack Rusin
we just load text files instead of compiling tons of small binaries
2007-12-10remove -Wall, add -DGALLIUM_CELLBrian
2007-12-07autoconf: Allow static library buildsDan Nicholson
Allow the user to specify that they want static libraries through the --{enable,disable}-{static,shared} switches like libtool. The mesa build only allows for one at a time, so static will be chosen if someone has passed --enable-static or --disable-shared. This also allows the mklib options to be set at build time. This allows -static to be set for mklib, but any platform specific settings are allowed by setting MKLIB_OPTIONS for configure. Handling of the program libraries through the APP_LIB_DEPS variable is pretty ugly, but it seems to work.
2007-12-07autoconf: Configure the osmesa channel size for OSMesa16 and OSMesa32Dan Nicholson
Allow the user to specify channel bits of 16 or 32 to enable OSMesa16 or OSMesa32 instead of the default OSMesa. This option is controlled through the option --with-osmesa-bits=BITS and is only honored when the driver is osmesa. The osdemos are not enabled in the 16 or 32 bit case because the Makefile is currently hardcoded to link to -lOSMesa.
2007-12-07autoconf: Add support for shared DRI build on linux and freebsdDan Nicholson
Added autoconf bits to allow using DRI as the driver through the option --with-dri-driver=DRIVER. The options are x11 (default) and dri. Three DRI specific options for controlling the driver directory, direct rendering and TLS are also added. The DRI will probably not work for platforms besides linux and freebsd.
2007-12-07autoconf: Initial support for an autoconf configurationDan Nicholson
This adds the initial support for using autoconf configuration. Support is available for shared Xlib driver builds. Later this will be extended to dri and osmesa-only builds and possibly targetting non-X backends. Support for static library builds will also be added. The configure script fills in the autoconf config. This is then used by running `make autoconf' after ./configure. Testing has been done on Linux/GNU. The configure script tries to faithfully reproduce the current configs/linux* and configs/freebsd*. Other platforms can be handled later by adding similar statements and feature tests. Pkg-config is used to search for packages when possible. This makes the build much more flexible and robust to the user's configuration. This requires that the pkg-config autoconf macros pkg.m4 are included in aclocal.m4. This requires autoconf and aclocal from autoconf and automake, respectively.
2007-12-07Make osdemos linking like other programsDan Nicholson
Most of the programs list their dependencies on the Mesa libraries in their Makefiles. This works with the default configuration where APP_LIB_DEPS only lists external libraries. This changes the linux-osmesa configs and the osdemos Makefile to follow that convention. Some cleanup of the Makefile is also added to refer to the GL libraries through the existing variables rather than hardcoding their names.
2007-12-07configs: Fix linking with static libGL and --as-neededDan Nicholson
Linking of the programs breaks when using a static libGL and the GNU ld option --as-needed. This is because libXext is needed for the XShm functions.
2007-12-05Add dependency checking for Cell driver sources.Brian
2007-12-03glut doesn't need -lXtBrian
2007-12-02added -fPICBrian
2007-12-02don't build libglwBrian