summaryrefslogtreecommitdiff
path: root/configs/linux-dri
AgeCommit message (Collapse)Author
2005-09-06added -Wmissing-prototypes to WARN_FLAGSBrian Paul
2005-08-19Convert libGL and DRI drivers to require libdrm.Adam Jackson
libdrm can be had from: http://people.freedesktop.org/~ajax/libdrm/
2005-08-15Put back '-I/usr/X11R6/include'.Ian Romanick
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.
2005-08-11Remove the logic that determines at compile time whether or not HAVE_ALIASIan Romanick
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.
2005-08-11Don't link with libGL, libEGL, or libEGLdri. On EGL setups libGL isn'tIan Romanick
available, and on libGL setups libEGL and libEGLdri aren't available.
2005-08-11Since Brian's recent commit, "-I/usr/X11R6/include/X11/extensions" is noIan Romanick
longer needed.
2005-08-08Dike out the linux-specific EGL bits unless it's a linux build.Eric Anholt
2005-08-07Enable EGL support in 'linux-dri' configJon Smirl
2005-07-29Add a new config called linux-indirect. This build the GLX libGL just likeIan Romanick
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.
2005-07-24All elements of pre-DRI_NEW_INTERFACE_ONLY are removed. This allowsIan Romanick
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.
2005-07-20Connect the r300 bits up to the build.Eric Anholt
2005-07-18re-enable the ffb driverAlan Hourihane
2005-07-02Massive refactor of (most of) the Linux config files. This reducesIan Romanick
the length of each config and brings a lot of much needed uniformity to them.
2005-04-13Add TLS support to libGL and, by virtue of using glthread.h and GL_CALL, allIan Romanick
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.
2005-04-06Make linux-dri-x86-64 more like linux-dri-x86. Add ARCH_FLAGS. This isIan Romanick
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.
2004-12-27Build s3v and trident by default too.Adam Jackson
Smoky the bear says: Only you can prevent bitrot.
2004-12-09Get linux-solo dependencies building correctly,Keith Whitwell
Make sure symlinks are built in driver directories before running makedepend.
2004-12-08Improve the behaviour of the build system wrt depend files.Keith Whitwell
- 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.
2004-10-29libGL needs libXxf86vm.a.Adam Jackson
2004-10-25Add glx/x11 to the DRI configs, and change the Solo configs to build glx/mini.Adam Jackson
2004-10-25Add DRI_LIB_DEPS for the DRI drivers to link against. Remove expat from theAdam Jackson
link list for libGL itself under DRI configurations, since the XML parsing code is in the drivers themselves.
2004-10-07Add Roland Scheidegger's S3TC patch. This patch does not implement theEric Anholt
(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.
2004-09-25Add sis to the list of DRI drivers, since it had already been converted to theEric Anholt
new interface.
2004-09-25Refactor the linux-dri config files so that linux-dri-x86 inherits fromEric Anholt
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.
2004-09-13Replace -lGL with -l$(GL_LIB), etc.Brian Paul
Remove GLU_LIB_DEPS, OSMESA_LIB_DEPS lines if identical to 'default' file.
2004-08-22Converted the Savage driver to the new DRI interface and enabled compilationFelix Kuehling
in the Mesa tree.
2004-07-20remove -lXm (motif) from GLW_LIB_DEPS since it's not needed by defaultBrian Paul
2004-06-12add i915 as it seems to build okay..Dave Airlie
2004-06-06Remove drivers that have not been converted to the new interface fromIan Romanick
the DRI builds.
2004-06-02DRI_NEW_INTERFACE_ONLY is now the only support way to build in theIan Romanick
Mesa tree. If you need a driver that supports the old libGL/DRI inteface, it must be built in the DRI tree.
2004-05-04use X86 sources in X86 build, use none in otherDave Airlie
2004-05-03DRM_SOURCE_PATH is in defaultDave Airlie
2004-04-30Define GLX_DIRECT_RENDERING in Makefile.templateKeith Whitwell
2004-04-29Allow *_dri.so to build in Mesa tree with the 'linux-dri' target.Keith Whitwell
2004-04-14First attempt at building a dri module in this treeKeith Whitwell
-- make target is linux-dri -- will attempt to build i830_dri.so The object builds but hasn't been tested.