summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Default DRI driver directory to match X.Org xserverDan Nicholson2008-05-094-6/+5
| | | | | | | 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.
* autoconf: Attempt to figure out the PIC flags for the platformDan Nicholson2008-05-093-17/+125
| | | | | | | | | | | | | | | This commit adds an autoconf macro, MESA_PIC_FLAGS, which sets the PIC flags according to platform and static/shared setting. The platform specifics are taken straight from libtool.m4 and stripped down to just the flags and platforms we cover in Mesa. This should hopefully make it possible to use autoconf on non-GCC platforms. The macro is added external to configure.ac in acinclude.m4 since it's pretty bloated. Note to BSDers: Previously, x86 defaulted to non-PIC on FreeBSD. I didn't carry that preference into this macro. Instead, you can just use --disable-pic where desired.
* intel: use new mipmap generation hooks in driver.Dave Airlie2008-05-095-11/+13
|
* swrast/dri: switch over users of generate_mipmap to new interfaceDave Airlie2008-05-093-9/+7
|
* Revert "mesa/intel: map/unmap texture objects around mipmap generation ↵Dave Airlie2008-05-092-24/+0
| | | | | | | | function." This reverts commit c50ffc4cb89b67ae59208eb72cdb664c846ba987. I'll fix this using the mipmap hooks I just picked from gallium-0.1
* Remove unused texunit parameter to ctx->Driver.GenerateMipmap()Brian2008-05-095-29/+10
| | | | (cherry picked from commit c3395f4473c8fdf75d04c0dd72e687bc8d8127a7)
* Added ctx->Driver.GenerateMipmap() driver hookDave Airlie2008-05-094-25/+34
| | | | | | | | (cherry picked from commit 4c2f3dbca940f289e67248682b84a3516d5a3031) Conflicts: src/mesa/drivers/common/driverfuncs.c
* mesa/intel: map/unmap texture objects around mipmap generation function.Dave Airlie2008-05-092-0/+24
| | | | | This at least stops the compiz brain explosion we were seeing, I do wonder though if we should somehow be calling intel_generate_mipmap somehow.
* Add RS690M PCI ID.Kristian Høgsberg2008-05-081-0/+1
|
* disable debug printfsBrian Paul2008-05-081-2/+2
|
* disable GL_DEPTH_TEST before glDrawPixels in case window has unrequested ↵Brian Paul2008-05-081-0/+1
| | | | depth buffer
* call glutDestroyWindow()Brian Paul2008-05-081-2/+5
|
* mesa: Call RENDER_FINISH on the zero pixel case.Xiang, Haihao2008-05-081-1/+3
|
* fix refcounting bugs in tnl/tex program cachesBrian Paul2008-05-075-62/+68
|
* updated options/helpBrian Paul2008-05-071-5/+18
|
* Never fail `make clean'Dan Nicholson2008-05-0728-53/+53
| | | | | | Mostly some pedantic changes such that `make clean' always ignores errors. Also changed the top clean target to do the `touch configs/current' dance instead of realclean.
* Run `make clean' in drivers/xorg, tooDan Nicholson2008-05-071-0/+1
|
* Refactor installation targetsDan Nicholson2008-05-071-19/+26
| | | | | | | | | Currently, there is a single path in src/mesa/Makefile to install that has a few conditionals in it. This commit changes install to act like default where we loop over $(DRIVER_DIRS), deciding what to do. A new target, install-headers, has been broken out to accomodate installing a standalone OSMesa where neither libGL or gl.pc are wanted.
* Ensure recursive makes always propagate errorsDan Nicholson2008-05-073-8/+8
| | | | | There were a couple spots left where a recursive make could fail in a chain of commands without stopping.
* implement full reference counting for vertex/fragment programsBrian2008-05-068-66/+141
| | | | | Use _mesa_reference_vert/fragprog() wherever we assign program pointers. Fixes a memory corruption bug found with glean/api2 test.
* Update make output for autoconf helpDan Nicholson2008-05-061-1/+5
|
* Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesaDan Nicholson2008-05-061-0/+33
|\
| * Add support for ATI_separate_stencil in display lists.Michal Wajdeczko2008-05-061-0/+33
| |
* | Prevent makedepend from running multiple timesDan Nicholson2008-05-061-1/+1
| | | | | | | | | | | | The default target in src/mesa/Makefile calls a recursive $(MAKE). With parallel jobs, this causes makedepend to run twice. Instead, block on the first make until depend has been created.
* | Always cleanup the makedepend backup filesDan Nicholson2008-05-069-12/+10
| | | | | | | | | | | | Consistently cleanup the depend.bak files created by makedepend. Also, realclean has been changed to use a single find command, which speeds it up considerably.
* | Error consistently when running recursive makeDan Nicholson2008-05-066-19/+19
| | | | | | | | | | When changing directories and running a sub-make, ensure that both the cd and make commands propagate errors to the parent make.
* | Add .PHONY targets to top Makefile for non-file targetsDan Nicholson2008-05-061-0/+6
|/ | | | | | | When a make target doesn't result in a file of the same name, adding it to a .PHONY target means make won't look for such a file, speeding the build up a bit. This allows `make doxygen' to work since otherwise make will consider the doxygen directory as up to date.
* autoconf: Replace the configs/current symlink from config.statusDan Nicholson2008-05-061-1/+4
| | | | | Minor tweak so that running config.status will entirely recreate the configure settings by replacing the configs/current symlink.
* i965: fix googleearth in classic mode.Dave Airlie2008-05-061-4/+5
| | | | In classic mode googleearth triggered a case where vbos weren't getting accounted properly.
* autoconf: Sanitize asm build for cross-compiling and --enable-*-bitDan Nicholson2008-05-051-43/+72
| | | | | | | | Two fixes to the asm configuration: - Disable when the user is cross-compiling for x86 or x86_64 since it requires running an executable compiled for the target host. - If the user has specified --enable-32-bit on x86_64 or --enable-64-bit on x86, respect that and choose the correct asm architecture.
* r300: fragment.position input needs no blanking out, it's correctly handled ↵Markus Amsler2008-05-061-3/+3
| | | | | | in insert_wpos. fixes bug 15447
* autoconf: Error for incompatible version of libdrmDan Nicholson2008-05-051-2/+6
| | | | | | | | | The DRI modules can only be built against libdrm master (currently version 2.3.1), so this should be enforced to save people from trying to build against older versions. Added a section at the top of the script to consolidate all required versions.
* autoconf: More quoting, just to be safeDan Nicholson2008-05-051-120/+125
|
* Ignore xdemos/sharedtexDan Nicholson2008-05-051-0/+1
|
* autoconf: Allow non-pkg-config builds to succeedDan Nicholson2008-05-051-8/+6
| | | | | | | The variable no_x was being set to yes when libX11 was not found through pkg-config. This causes AC_PATH_XTRA to skip its search for the X11 libraries, which was not the intended effect. Also switched to using the PKG_CHECK_EXISTS autoconf macro.
* autoconf: Scrape the version from configs/defaultDan Nicholson2008-05-054-6/+30
| | | | | | 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.
* glcore: Set all external variables in configurationGeorge Sapountzis2008-05-054-8/+20
| | | | based on patch by Dan Nicholson <[email protected]>
* i965: Don't cast the result of brw_prepare_vertices to an unsigned value.Xiang, Haihao2008-05-051-1/+3
| | | | Negative value means other errors, not aperture overflow. fix bug #15752
* r300: fix swtcl texrect path properly.Dave Airlie2008-05-052-1/+3
| | | | | | | We really need to update the shader state so the texrect parameters work. This should fix compiz looking crappy on rs480 and rs690 (cherry picked from commit 66a5562ce2906fbf5b96d1cee18f9a31a78c4360)
* r300: add R300_NO_TCL to allow testing of non-tcl on tcl cardsDave Airlie2008-05-051-0/+3
| | | | (cherry picked from commit 026ef8111a94f6449dfa5e5cc0ae91fca4e68c0c)
* r300: Set correct VAP_CNTL per vertex program.Markus Amsler2008-05-043-13/+72
|
* Press <space> to reset limit/bias values, clean-up limit/bias printfBrian Paul2008-05-031-7/+25
|
* [intel] Warnings fixes.Eric Anholt2008-05-024-2/+2
|
* [intel] Merge intel_ioctl.h. Not sure how this slipped by in the .c merge.Eric Anholt2008-05-022-44/+0
|
* fix conversion of GLfloat display list IDsBrian Paul2008-05-011-21/+24
| | | | | | Use floor() to convert to int (per Mark Kildard and the SI). Also, change translate_id() to return a signed integer since we may be offsetting from GL_LIST_BASE.
* Add support for GL_REPLACE_EXT texture env mode.Brian Paul2008-04-301-1/+6
| | | | | | GL_REPLACE_EXT comes from the ancient GL_EXT_texture extension. Found an old demo that actually uses it. The values of the GL_REPLACE and GL_REPLACE_EXT tokens is different, unfortunately.
* autoconf: Fail from autoconf if the pkg-config macros aren't definedDan Nicholson2008-04-301-3/+8
| | | | | Instead of postponing the error from missing pkg-config macros to when configure is run, make autoconf exit by using m4 macros.
* added xdemos/sharedtex.c testBrian Paul2008-04-302-0/+325
| | | | | | Test that modifications to a texture object in one rendering context are seen in a second rendering context. Press 't' to change the texture's image/colors.
* autoconf: Don't substitute MESA_MAJOR and friendsDan Nicholson2008-04-302-17/+1
| | | | | | 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.
* intel: test cpp to ensure mipmap tree matches texture image.Xiang, Haihao2008-04-301-0/+5
|