summaryrefslogtreecommitdiff
path: root/configs/linux-dri
AgeCommit message (Collapse)Author
2007-08-08Rename drivers/dri/i915pipe --> drivers/dri/intel_winsys.Keith Whitwell
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-07-31Build the "pipe" version of the i915tex driver.Keith Whitwell
This hands all rendering off to the softpipe rasterizer.
2007-06-20Only build i915texKeith Whitwell
2007-05-05nouveau: disable nouveau build by defaultDave Airlie
Until this is API/ABI stable building it by default isn't a good idea.
2007-02-26Overhaul of error handling.Brian
2007-01-05Add reporting of damage by DRI drivers when the extension support is available.Eric Anholt
With this, tools like ximagesrc in gstreamer correctly see updates from GL rendering. Support requires that the Xdamage library be current (but will be disabled if not present) plus a new X Server with support for the new XDamagePost request. libGL now has a new interface version, and also links against libXdamage and libXfixes to support it, but backwards compatibility is retained. Currently, all drivers report damage at SwapBuffers time through common code -- front buffer rendering doesn't result in damage being reported. Also, the damage is against the root window, as our drivers don't yet render to backing store when they should (composited environments).
2006-11-01merge the (rest of) texmem branchKeith Whitwell
2006-10-11Fix bug #4681.Ian Romanick
glDeleteTextures and glDeleteTexturesEXT were erroneously listed as aliases of each other. For anything /except/ GLX protocol they are aliases. This set of changes allows functions that are functionally identical but have different GLX protocol to be listed as aliases. When building with GLX_INDIRECT_RENDERING set, different static functions are used. These functions determine whether the current context is direct rendering or not. If the context is direct rendering, the aliased function (e.g., glDeleteTextures in the case of glDeleteTexturesEXT) is called. If the context is not direct rendering, the correct GLX protocol is sent. For a deeper explanation of what is changed, please see: http://dri.freedesktop.org/wiki/PartiallyAliasedFunctions
2006-08-16When available, which is most of the time, use posix_memalign to implementIan Romanick
_mesa_align_malloc and friends.
2006-08-10linux-indirect target fixes.Adam Jackson
2006-08-09Add Intel i965G/Q DRI driver.Eric Anholt
This driver comes from Tungsten Graphics, with a few further modifications by Intel.
2006-05-06restore -O flag (bug 6814)Brian Paul
2006-04-06minor CFLAGS reorderingBrian Paul
2006-03-30Style fix, drop the explicit -ldrm from the link line.Adam Jackson
2006-01-26remove i830Alan Hourihane
2006-01-18Search for makedepend in the PATH rather than hardcoding /usr/X11R6/binAdam Jackson
2005-10-28don't use -Wmissing-prototypes for C++ codeBrian Paul
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