summaryrefslogtreecommitdiffstats
path: root/configs/linux-dri
Commit message (Collapse)AuthorAgeFilesLines
* added -Wmissing-prototypes to WARN_FLAGSBrian Paul2005-09-061-2/+2
|
* Convert libGL and DRI drivers to require libdrm.Adam Jackson2005-08-191-3/+5
| | | | | | libdrm can be had from: http://people.freedesktop.org/~ajax/libdrm/
* Put back '-I/usr/X11R6/include'.Ian Romanick2005-08-151-2/+15
| | | | | | | Make 'USING_EGL=0' the default for now. It's causing too much confusion for too many non-developers (which in turn wastes too much developer time). It is trivially overridden from the make command line. See comments in linux-dri.
* Remove the logic that determines at compile time whether or not HAVE_ALIASIan Romanick2005-08-111-1/+1
| | | | | | | | should be defined. It was flawed on some platforms (e.g., Darwin & mingw). Instead, rely on the build system to define it on the compiler command line. This also reverts ajax's hand-edit to indirect_size.c. I'll fix that on the X.org side of things later today.
* Don't link with libGL, libEGL, or libEGLdri. On EGL setups libGL isn'tIan Romanick2005-08-111-1/+1
| | | | available, and on libGL setups libEGL and libEGLdri aren't available.
* Since Brian's recent commit, "-I/usr/X11R6/include/X11/extensions" is noIan Romanick2005-08-111-2/+0
| | | | longer needed.
* Dike out the linux-specific EGL bits unless it's a linux build.Eric Anholt2005-08-081-0/+1
|
* Enable EGL support in 'linux-dri' configJon Smirl2005-08-071-3/+3
|
* Add a new config called linux-indirect. This build the GLX libGL just likeIan Romanick2005-07-291-1/+2
| | | | | | linux-dri, but it disables support for direct-rendering in it. This config mainly exists so that I can verify that changes to libGL haven't broken builds on non-DRI platforms.
* All elements of pre-DRI_NEW_INTERFACE_ONLY are removed. This allowsIan Romanick2005-07-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1,402 lines of code to be removed from Mesa (drivers and libGL). The big winner is dri_util.c. Primary changes are: 1. Remove all "deprecated" entry-points from the various structures in dri_interface.h. 2. Rename the remaining fields to removed "version numbers." So, bindContext3 becomes bindContext. Functions with "New" in the name (e.g., CreateNewContext) were *not* changed, but that is an option. Having "New" in the name is less annoying to me than having "3" in the name. 3. Remove all compatibility code that handles cases where the driver or the loader is too old to support the latest interfaces. 4. Append the API version to the __driCreateNewScreen function name. This is currently done by hand. In the future (i.e., the next time we make an incompatible change to the interface) we'll want to come up with a better way to do this. This prevents old loaders from being able to load new (incompatible) drivers. 5. Bump the API version to 20050722. All drivers (by way of dri_util.c) require this version. 6. All drivers are *required* to expose GLX_SGIX_fbconfig and GLX_OML_swap_method (or the moral equivalents). Support for these functions in implicit in the use of the "new" interface. 7. Some cases still exist that need to be compiled differently in a loader or core Mesa versus in a driver. These are identified by the define IN_DRI_DRIVER.
* Connect the r300 bits up to the build.Eric Anholt2005-07-201-1/+1
|
* re-enable the ffb driverAlan Hourihane2005-07-181-2/+2
|
* Massive refactor of (most of) the Linux config files. This reducesIan Romanick2005-07-021-2/+0
| | | | | the length of each config and brings a lot of much needed uniformity to them.
* Add TLS support to libGL and, by virtue of using glthread.h and GL_CALL, allIan Romanick2005-04-131-0/+2
| | | | | | | DRI drivers. A TLS enabled libGL can load a TLS or a non-TLS DRI driver, but a TLS DRI driver requires a TLS enabled libGL. This fixes bug #1822.
* Make linux-dri-x86-64 more like linux-dri-x86. Add ARCH_FLAGS. This isIan Romanick2005-04-061-12/+12
| | | | | | where things like "-m64" or "-m32" should be specified. Using this, a 32-bit DRI build can be done on an x86-64 system by doing 'ARCH_CFLAGS=-m32 make linux-dri-x86'. Minor tweaks to linux-dri to support these changes.
* Build s3v and trident by default too.Adam Jackson2004-12-271-3/+2
| | | | Smoky the bear says: Only you can prevent bitrot.
* Get linux-solo dependencies building correctly,Keith Whitwell2004-12-091-0/+4
| | | | Make sure symlinks are built in driver directories before running makedepend.
* Improve the behaviour of the build system wrt depend files.Keith Whitwell2004-12-081-9/+13
| | | | | | | | - Remove the -Y option for makedepend, so that the standard directories are searched - No longer pipe the multiple errors that the -Y option caused into /dev/null -- we want to know about these failures. - Fix up a few other misc makedepend failures.
* libGL needs libXxf86vm.a.Adam Jackson2004-10-291-1/+1
|
* Add glx/x11 to the DRI configs, and change the Solo configs to build glx/mini.Adam Jackson2004-10-251-1/+1
|
* Add DRI_LIB_DEPS for the DRI drivers to link against. Remove expat from theAdam Jackson2004-10-251-1/+2
| | | | | link list for libGL itself under DRI configurations, since the XML parsing code is in the drivers themselves.
* Add Roland Scheidegger's S3TC patch. This patch does not implement theEric Anholt2004-10-071-0/+1
| | | | | | | | | | | | | | | | | (patented) S3TC/DXTC algorithms, but adds an option to dlopen a library module providing functions to do so. Because it uses dlopen, it is only enabled if USE_EXTERNAL_DXTN_LIB=1 is defined (which is only in linux-dri config, so far). It adds support for S3TC to several DRI drivers, and adds a DRI config option to force enabling S3TC even if the software compression/decompression is unavailable. This may allow people to use apps that require S3TC even though they don't have a license to implement the patented material themselves, if those apps use precompressed textures. Ideally we would get permission from the current holder of the patents to implement the algorithm in Mesa, at which point the dlopen mess could go away. Until then, this allows some to run applications they couldn't otherwise, and hopefully will provide us with more push to get the final step of getting that permission done.
* Add sis to the list of DRI drivers, since it had already been converted to theEric Anholt2004-09-251-4/+4
| | | | new interface.
* Refactor the linux-dri config files so that linux-dri-x86 inherits fromEric Anholt2004-09-251-5/+12
| | | | | | | linux-dri. Turn on -O by default (-O2 provides a slight improvement in performance, at a large cost to debuggability). Turn off -fPIC on x86 by default. Turn on -Wall, to catch more stupid mistakes. This could be both done cleaner, and done for more config files, but it works for me for now.
* Replace -lGL with -l$(GL_LIB), etc.Brian Paul2004-09-131-2/+2
| | | | Remove GLU_LIB_DEPS, OSMESA_LIB_DEPS lines if identical to 'default' file.
* Converted the Savage driver to the new DRI interface and enabled compilationFelix Kuehling2004-08-221-2/+2
| | | | in the Mesa tree.
* remove -lXm (motif) from GLW_LIB_DEPS since it's not needed by defaultBrian Paul2004-07-201-1/+1
|
* add i915 as it seems to build okay..Dave Airlie2004-06-121-1/+1
|
* Remove drivers that have not been converted to the new interface fromIan Romanick2004-06-061-2/+3
| | | | the DRI builds.
* DRI_NEW_INTERFACE_ONLY is now the only support way to build in theIan Romanick2004-06-021-2/+2
| | | | | Mesa tree. If you need a driver that supports the old libGL/DRI inteface, it must be built in the DRI tree.
* use X86 sources in X86 build, use none in otherDave Airlie2004-05-041-1/+1
|
* DRM_SOURCE_PATH is in defaultDave Airlie2004-05-031-4/+0
|
* Define GLX_DIRECT_RENDERING in Makefile.templateKeith Whitwell2004-04-301-1/+1
|
* Allow *_dri.so to build in Mesa tree with the 'linux-dri' target.Keith Whitwell2004-04-291-2/+8
|
* First attempt at building a dri module in this treeKeith Whitwell2004-04-141-0/+34
-- make target is linux-dri -- will attempt to build i830_dri.so The object builds but hasn't been tested.