Commit graph

115447 commits

Author SHA1 Message Date
Ben Skeggs
12e0aa7b1d nv40: similar changes to polygon stipple as were done for scissor 2008-02-18 14:12:58 +11:00
José Fonseca
56bf73b1fb Update doxygen configuration file for new tree layout. 2008-02-18 12:08:35 +09:00
Dan Nicholson
930c253947 Distribute dri_sarea.h with the tarballs
The GL/internal/dri_sarea.h header was missing from the tarballs,
causing the build to bomb for DRI2.
2008-02-17 18:10:15 -08:00
Ben Skeggs
5e091b573a nv40: ensure scissor gets disabled where necessary
Fixes progs/demos/lodbias.

Makes a complete mess of things, but now there's a motivation to finish
this off :)
2008-02-18 12:46:25 +11:00
Ben Skeggs
9a6c39bd2e Merge branch 'upstream-gallium-0.1' into nouveau-gallium-0.1 2008-02-18 12:45:56 +11:00
Dan Nicholson
7688791fc5 glapi: Generate xserver glapi sources in the mesa tree
Instead of generating the glapi sources for the xserver and commiting
them to the xserver tree, we can keep them in the mesa tree and change
the xserver build to use the files from the mesa tree.

This makes the xserver glx build more robust as it reduces the chances
for mismatches of the glX API used in the xserver vs. in mesa.
2008-02-17 17:40:43 -08:00
Zack Rusin
4a79156812 fix the build 2008-02-17 09:43:02 -05:00
Brian
0c6bbd41bd gallium: add missing mip level clamp 2008-02-16 13:55:47 -07:00
Brian
3b2a291888 gallium: tweak texture filter min/mag thresholds 2008-02-16 13:50:31 -07:00
Brian
08c9534107 gallium: implement min vs. mag filter determination for non-mipmapped textures
Fixes tests/minmag.c
2008-02-16 10:05:24 -07:00
Brian
f9973b1c3d Added minmag.c test
Test that different minification and magnification filters are chosen for the
non-mipmapped texture case.
2008-02-16 10:05:24 -07:00
Brian
15f0015df4 Fix potential glDrawPixels(GL_DEPTH_COMPONENT) crashes (bug 13915)
Also, general clean-up of the Xlib-optimized glDraw/CopyPixels code.
2008-02-16 09:57:50 -07:00
Brian
3955bbc303 Added minmag.c test
Test that different minification and magnification filters are chosen for the
non-mipmapped texture case.
2008-02-16 09:57:50 -07:00
Ben Skeggs
c303cf15dc nouveau: fix potential userbuf crash. 2008-02-16 17:51:44 +11:00
Ben Skeggs
26add9288c nouveau: match gallium code reorginisation.
That was... fun..
2008-02-16 17:23:12 +11:00
Ben Skeggs
87e3301533 Merge branch 'upstream-gallium-0.1' into nouveau-gallium-0.1
Conflicts:

	configs/linux-dri
	src/mesa/pipe/Makefile
2008-02-16 16:30:22 +11:00
Ben Skeggs
49405c43f2 Merge branch 'nouveau-gallium-0.1' into darktama-gallium-0.1
Conflicts:

	src/mesa/pipe/nouveau/nouveau_stateobj.h
	src/mesa/pipe/nv40/nv40_context.c
	src/mesa/pipe/nv40/nv40_miptree.c
2008-02-16 16:20:40 +11:00
Stephane Marchesin
4d9c19d2f7 nv30: fixes. 2008-02-16 03:04:28 +01:00
Stephane Marchesin
4032ff3889 nv30: fixes. 2008-02-16 02:54:22 +01:00
Adam Jackson
6ffe45bfd4 Fix path to minstall in last commit. 2008-02-15 17:22:09 -05:00
Adam Jackson
3f5a9a3a9e Install dri_interface.h in 'make install'. 2008-02-15 17:17:03 -05:00
Eric Anholt
c741d287ec [intel] Allow attIndex to be negative to avoid defeating the >= 0 check.
Otherwise, we would go wildly out of bounds if passed -1 (no renderbuffer), such
as while doing LOCK_HARDWARE with glDrawBuffer(GL_NONE).
2008-02-15 13:48:11 -08:00
Eric Anholt
eed5e6f40f [915] Don't attempt our accelerated drawpixels if no color buffer is attached.
Otherwise, glDrawBuffer(GL_NONE); glDrawPixels() results in a segfault when
we try to emit the color buffer state during setup.
2008-02-15 13:43:29 -08:00
Eric Anholt
19420e6c25 [915] Revert broken context creation change from IS_915 commit.
The IS_945 case was left to fall through to the 830 case, along with the
not-recognized-at-all case, making that dead code.
2008-02-15 13:18:09 -08:00
Brian
1d0ddea92f Fix glBindTexture crash (bug 14514) 2008-02-15 13:42:12 -07:00
Adam Jackson
4955325ae9 chmod a-x **/glslnoise.c 2008-02-15 15:05:42 -05:00
Adam Jackson
37e45b9b78 Fix parallel build by making symlinks before makedepend. 2008-02-15 14:59:30 -05:00
Adam Jackson
3ddd339ce3 Fix sis_dri on ia64. 2008-02-15 14:57:51 -05:00
Adam Jackson
49a3483756 Fix build on ia64. 2008-02-15 14:56:32 -05:00
Adam Jackson
cf0d91ae1d Add IS_915(), simplify IS_9XX() a bit. 2008-02-15 14:52:58 -05:00
Eric Anholt
c51eb3ec40 [intel] Bug #13636: Allow recursive buffer mapping in bufmgr_ttm. 2008-02-15 11:51:32 -08:00
Adam Jackson
39bcbe0921 Add E7221 variant to i915. 2008-02-15 14:46:25 -05:00
Ian Romanick
3320b1874e Cell: Enable code gen for SPE attribute fetch
Doubles are still unsupported.
2008-02-15 11:03:54 -08:00
Adam Jackson
66611f2298 Trivial SELinux awareness. Enable with --enable-selinux.
Avoids AVC warnings when allocating executable memory by first checking
if the current process has permission to do so.
2008-02-15 13:49:12 -05:00
Ian Romanick
71071b7a9e Cell: Add missing back-slash in linux-cell config file 2008-02-15 10:36:48 -08:00
Ian Romanick
eb3f7aa6f8 Cell: Add INCLUDE_DIRS to SPU_CFLAGS to fix build. 2008-02-15 10:33:12 -08:00
Ian Romanick
b08d3fa249 Make this file build on non-SSE builds (e.g., Cell) 2008-02-15 10:00:31 -08:00
Ian Romanick
397b81bd1c Move cell_vertex_fetch.c for recent code reorg. 2008-02-15 09:43:13 -08:00
Ian Romanick
55e64b63ad Initial version of code gen for attribute fetch 2008-02-15 09:40:44 -08:00
Ian Romanick
2cc0c3b997 Correct the convert to and from float instructions 2008-02-15 09:40:44 -08:00
Roland Scheidegger
bf4a0fafc8 fix bug with generated fragment programs if vertex shader is active
When generating a fragment program from fixed function, checking
texUnit->_ReallyEnabled is not sufficient, need texUnit->Enabled too
since the former also represents texture enables from an active vertex
shader.
2008-02-15 17:26:06 +01:00
Ben Skeggs
6e3e5ba3bb nv40: over-zealous s/ 2008-02-16 02:42:06 +11:00
Ben Skeggs
e82eabaf5e nv40: fix non-debug builds + start on obeying portability guidelines. 2008-02-16 02:31:52 +11:00
Keith Whitwell
c179bc9901 tgsi: pass through failure to sse-codegenerate for fragment programs too.
In particular, will fallback to interpreted execution for shaders with
TEX instructions.
2008-02-15 13:39:24 +00:00
Keith Whitwell
b29d8d2729 draw: subclass vertex shaders according to execution method
Create new files for shaders compiled/executed with llvm, sse, exec
respectively
2008-02-15 13:37:01 +00:00
Keith Whitwell
e822e09b89 softpipe: rename some functions to disambiguate 2008-02-15 13:35:46 +00:00
Keith Whitwell
30d0bacf7a Merge commit 'origin/gallium-0.1' into gallium-0.1 2008-02-15 11:18:04 +00:00
Keith Whitwell
6ac2c1cc0c Merge commit 'origin/gallium-0.1' into gallium-0.1
Conflicts:

	src/gallium/drivers/softpipe/sp_quad_fs.c
	src/gallium/drivers/softpipe/sp_state.h
	src/gallium/drivers/softpipe/sp_state_fs.c
2008-02-15 11:15:47 +00:00
José Fonseca
66f22aa3bf Code reorganization: s/aux/auxiliary/ -- update build. 2008-02-15 20:11:40 +09:00
José Fonseca
92fcbf6e7b Code reorganization: s/aux/auxiliary/.
"aux" is a reserved name on Windows (X_X)
2008-02-15 20:07:18 +09:00