George Sapountzis [Wed, 6 Dec 2006 04:40:18 +0000 (06:40 +0200)]
Drop mesa wrappers for XFree86.
Sean D'Epagnier [Thu, 21 Dec 2006 08:50:33 +0000 (01:50 -0700)]
Updated keyboard input so that glut programs can read from stdin without
problems if tty input is used. Also corrected a few stdin keycodes.
Dave Airlie [Tue, 19 Dec 2006 22:30:32 +0000 (09:30 +1100)]
Merge branch 'nouveau-import'
Ben Skeggs [Sun, 17 Dec 2006 03:38:21 +0000 (03:38 +0000)]
Don't build passthrough shader on <NV40
Brian [Sat, 16 Dec 2006 18:17:41 +0000 (11:17 -0700)]
Don't update span->array->z[] values from SLANG_FRAGMENT_FIXED_FRAGDEPTH.
This restores the behaviour of Mesa 6.5.1, fixing a regression in 6.5.2.
See bug 9345. Revisit someday...
Brian [Sat, 16 Dec 2006 18:09:14 +0000 (11:09 -0700)]
initial release notes for 6.5.3
Brian [Sat, 16 Dec 2006 18:07:00 +0000 (11:07 -0700)]
don't allow fog when using a fragment shader (bug 9346)
Ben Skeggs [Sat, 16 Dec 2006 12:32:11 +0000 (12:32 +0000)]
Get nv10_swtcl.c working enough for glxgears on NV40.
Gary Wong [Fri, 15 Dec 2006 22:18:36 +0000 (17:18 -0500)]
Fix copy-and-paste mistake in comment ("scaling" should read "translation").
Before _mesa_Translatef().
Ben Skeggs [Fri, 15 Dec 2006 21:02:23 +0000 (21:02 +0000)]
NV1x/2x hw_func stubs.
Brian [Thu, 14 Dec 2006 22:20:15 +0000 (15:20 -0700)]
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
Brian [Thu, 14 Dec 2006 21:27:05 +0000 (14:27 -0700)]
Replace __extension__ with LONGSTRING.
Brian [Thu, 14 Dec 2006 16:38:06 +0000 (09:38 -0700)]
Check in a long-misplaced spec update.
Michel Dänzer [Thu, 14 Dec 2006 11:57:59 +0000 (12:57 +0100)]
Fix copy-and-paste-o of my e-mail address.
Michel Dänzer [Thu, 14 Dec 2006 11:47:44 +0000 (12:47 +0100)]
Avoid failing assertion in intel_miptree_set_image_offset() with cube maps.
Cube maps still aren't working quite correctly though.
Michel Dänzer [Thu, 14 Dec 2006 11:42:51 +0000 (12:42 +0100)]
Fix some corner cases in i945_miptree_layout_2d().
Based on a patch from Keith Whitwell, with some further fixes.
Michel Dänzer [Thu, 14 Dec 2006 11:32:41 +0000 (12:32 +0100)]
Share code to lay out >= 945 style 2D mipmaps between i915tex and i965 drivers.
Use the i965 version as it has some fixes over the i915tex version.
Michel Dänzer [Thu, 14 Dec 2006 09:56:10 +0000 (10:56 +0100)]
intel_finalize_mipmap_tree: Add more conditions for rebuilding mipmap trees.
These are taken from the i965 driver and fix corruption of some mipmap levels
under some circumsances with 945 chipsets at least.
Also flush the batchbuffer after copying data between trees, or some apps fail
an assertion elsewhere.
Michel Dänzer [Thu, 14 Dec 2006 09:49:26 +0000 (10:49 +0100)]
intel_batchbuffer_flush: Don't assert cliprects when lock is not held.
This is a legitimate situation when copying texture data between mipmap trees.
Michel Dänzer [Thu, 14 Dec 2006 09:24:09 +0000 (10:24 +0100)]
intelTexSubimage: Fix last parameter for intel_miptree_image_map().
Michel Dänzer [Thu, 14 Dec 2006 09:01:43 +0000 (10:01 +0100)]
_mesa_swizzle_ubyte_image: Only use single swizzle_copy call when strides match.
This fixes texture data corruption with glTexSubimage (and probably glTexImage
under some circumstances) with the texstore swizzle path.
Michel Dänzer [Tue, 12 Dec 2006 08:23:53 +0000 (09:23 +0100)]
mipmap_limits: Fix display of current texture filtering mode.
Ben Skeggs [Thu, 14 Dec 2006 04:34:38 +0000 (04:34 +0000)]
Improve SwapBuffers a bit.
Ben Skeggs [Thu, 14 Dec 2006 04:12:05 +0000 (04:12 +0000)]
0x4497 doesn't have NV30_TCL_PRIMITIVE_3D_NORMALIZE_ENABLE
Ben Skeggs [Thu, 14 Dec 2006 03:24:57 +0000 (03:24 +0000)]
Some more voodoo to get 3D going with a minimal initial context.
Roland Scheidegger [Wed, 13 Dec 2006 23:34:44 +0000 (00:34 +0100)]
submit vertex weights to make World of Warcraft maybe happy (bug 8250)
submit the vertex weights to hw, which will enable broken vertex programs
errorneously using them to work. Note however that this will only work
if glWeight is used, there is no code in mesa at all to deal with weight
vertex array (glWeightPointerARB).
Brian [Wed, 13 Dec 2006 22:31:14 +0000 (15:31 -0700)]
Move all the code for computing ctx->_TriangleCaps into state.c.
ctx->_TriangleCaps should probably go away altogether someday...
Brian [Wed, 13 Dec 2006 15:57:06 +0000 (08:57 -0700)]
Remove the xdemo.c program from PROGS since it doesn't work with GLX/DRI.
Brian [Wed, 13 Dec 2006 15:30:26 +0000 (08:30 -0700)]
Use XDisplayName() when reporting errors (bug 8079).
George Sapountzis [Thu, 7 Dec 2006 16:01:13 +0000 (18:01 +0200)]
Bug 7260: mach64 texture memory mng cleanup
mach64 uses its own set of texture memory management routines which are buggy,
running a second DRI client kills the first one. This patch ports mach64 code
to the stock dri texture managment code.
George Sapountzis [Thu, 7 Dec 2006 15:56:47 +0000 (17:56 +0200)]
Bug 7861: mach64 with render acceleration should restore texture state
RENDER acceleration uses texturing, thus when RENDER acceleration is enabled,
the mach64 DRI driver should restore texture state when acquiring the DRI lock.
George Sapountzis [Thu, 7 Dec 2006 15:53:59 +0000 (17:53 +0200)]
Bug 7790: Polygons incorrectly clipped by mach64 driver
un-break strict-aliasing rules
Michel Dänzer [Mon, 11 Dec 2006 16:45:06 +0000 (17:45 +0100)]
minstall: Pass correct destination file path to $RM regardless of source path.
Michel Dänzer [Mon, 11 Dec 2006 16:36:35 +0000 (17:36 +0100)]
minstall: Always remove destination file before (re-)creating it.
This avoids issues with overwriting files that are being used.
Eric Anholt [Sun, 10 Dec 2006 06:35:07 +0000 (22:35 -0800)]
i965: Fix a crash with wine by not allocating >1MB on the stack.
Patrice Mandin [Fri, 8 Dec 2006 18:56:51 +0000 (18:56 +0000)]
Update spot light params also for nv20 and nv30
Patrice Mandin [Fri, 8 Dec 2006 16:40:34 +0000 (16:40 +0000)]
grr, always check twice before commit
Patrice Mandin [Fri, 8 Dec 2006 16:39:12 +0000 (16:39 +0000)]
Resend spot light parameters when part of it changes
Ben Skeggs [Fri, 8 Dec 2006 14:12:47 +0000 (14:12 +0000)]
Skeletal extension handling across chipsets.
Ben Skeggs [Fri, 8 Dec 2006 12:36:26 +0000 (12:36 +0000)]
NV_44 uses nv30InitStateFuncs too
Ben Skeggs [Fri, 8 Dec 2006 11:51:50 +0000 (11:51 +0000)]
state cache is automagically flushed on a normal BEGIN_RING_SIZE
Ben Skeggs [Fri, 8 Dec 2006 11:45:39 +0000 (11:45 +0000)]
Implement a simple nv30Clear, and make sure we get a nouveau_renderbuffer
for the depth buffer and not a Mesa renderbuffer adaptor
Xiang, Haihao [Fri, 8 Dec 2006 09:05:14 +0000 (17:05 +0800)]
fix bug#9237
Xiang, Haihao [Fri, 8 Dec 2006 09:00:59 +0000 (17:00 +0800)]
fix bug#9045
Ben Skeggs [Fri, 8 Dec 2006 07:27:39 +0000 (07:27 +0000)]
oops, typo
Ben Skeggs [Fri, 8 Dec 2006 07:15:43 +0000 (07:15 +0000)]
Create visuals for modes the ddx provides
Ben Skeggs [Fri, 8 Dec 2006 03:04:10 +0000 (03:04 +0000)]
oops, we don't want this by default just yet...
Ben Skeggs [Fri, 8 Dec 2006 03:01:33 +0000 (03:01 +0000)]
Some work on buffer handling, most likely not entirely correct and
incomplete. But, it works well enough that windows can be
moved/resized.
Michel Dänzer [Thu, 7 Dec 2006 10:03:48 +0000 (11:03 +0100)]
i915tex: Recalculate viewport related hardware state in intelWindowMoved().
This fixes vertically displaced rendering with some apps like Google Earth.
Simplify other parts of the function somewhat.
Michel Dänzer [Wed, 6 Dec 2006 17:11:27 +0000 (18:11 +0100)]
Make git ignore Emacs backup files.
Brian [Wed, 6 Dec 2006 15:20:57 +0000 (08:20 -0700)]
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
Brian [Wed, 6 Dec 2006 15:20:03 +0000 (08:20 -0700)]
Updated with new mesa-commit list.
Michel Dänzer [Wed, 6 Dec 2006 14:14:43 +0000 (15:14 +0100)]
Make git ignore some more generated files.
Michel Dänzer [Wed, 6 Dec 2006 13:54:43 +0000 (14:54 +0100)]
glxinfo: When direct rendering is not enabled, print some hints.
If indirect rendering is forced, say how. Otherwise, suggest setting
LIBGL_DEBUG=verbose.
Inspired by http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=379323 .
Michel Dänzer [Wed, 6 Dec 2006 13:17:56 +0000 (14:17 +0100)]
Make git ignore files only generated at build time.
Michel Dänzer [Wed, 6 Dec 2006 13:06:52 +0000 (14:06 +0100)]
Re-generate options.h with Swedish translations.
Daniel Nylander [Wed, 6 Dec 2006 12:21:02 +0000 (13:21 +0100)]
Swedish translation of driconf options.
Brian [Tue, 5 Dec 2006 23:36:35 +0000 (16:36 -0700)]
Replaced by .html file.
Brian [Tue, 5 Dec 2006 23:36:12 +0000 (16:36 -0700)]
Replaced by .html files.
Brian [Tue, 5 Dec 2006 23:27:31 +0000 (16:27 -0700)]
Removed/obsolete.
Brian [Tue, 5 Dec 2006 23:14:39 +0000 (16:14 -0700)]
New git repository info, links.
Brian [Tue, 5 Dec 2006 23:14:14 +0000 (16:14 -0700)]
New info about Mesa's git repository.
Stephane Marchesin [Sun, 3 Dec 2006 11:46:18 +0000 (11:46 +0000)]
Fix the swtcl module.
Patrice Mandin [Sun, 3 Dec 2006 10:08:04 +0000 (10:08 +0000)]
Remove duplicate nv10 tcl defines
Stephane Marchesin [Sun, 3 Dec 2006 09:08:26 +0000 (09:08 +0000)]
Merge the pciid work. Use lock step versioning with the drm.
Ben Skeggs [Sun, 3 Dec 2006 02:01:49 +0000 (02:01 +0000)]
Fix a copy+paste'o that caused some *very* strange bugs..
Brian Paul [Sat, 2 Dec 2006 19:26:01 +0000 (19:26 +0000)]
version bump
Brian Paul [Sat, 2 Dec 2006 19:22:16 +0000 (19:22 +0000)]
md5 sums
Brian Paul [Sat, 2 Dec 2006 18:20:53 +0000 (18:20 +0000)]
remove directfbgl.h file
Brian Paul [Sat, 2 Dec 2006 18:18:55 +0000 (18:18 +0000)]
remove bogus link
Brian Paul [Sat, 2 Dec 2006 18:18:41 +0000 (18:18 +0000)]
6.5.2 release updates
Gary Wong [Sat, 2 Dec 2006 02:20:05 +0000 (02:20 +0000)]
Add i915tex and i965.
Gary Wong [Sat, 2 Dec 2006 01:13:06 +0000 (01:13 +0000)]
Structure CopyPixels similarly to i915 do_texture_copypixels, to ease future unification.
Claudio Ciccani [Fri, 1 Dec 2006 20:58:26 +0000 (20:58 +0000)]
Be aware that the surface storage can change between locks.
Claudio Ciccani [Fri, 1 Dec 2006 14:12:05 +0000 (14:12 +0000)]
Remove DirectFBGL header from Mesa bacause since 1.0.0 DirectFB installs its own header.
Updated to the current DirectFBGL interface (i.e. added GetProcAddress()).
Thomas Hellström [Fri, 1 Dec 2006 12:41:43 +0000 (12:41 +0000)]
Fix an infinite loop error that may occur when many contexts are bound
to the same drawable in a multithreading environment. This one slipped out
of the texman merge.
Claudio Ciccani [Fri, 1 Dec 2006 11:42:58 +0000 (11:42 +0000)]
Fixed compilation errors/warnings.
Duplicate destination surface to avoid saving/restoring the rendering state during each Clear.
Sean D'Epagnier [Thu, 30 Nov 2006 03:25:28 +0000 (03:25 +0000)]
the following improvements to linux-fbdev:
1. updated makefiles to build libOSMesa as well as libGL
these are improvements to fbdev-glut
1. mouse cursor will timeout and be invisible if not being used
2. do not restore colormaps to truecolor targets, this causes problems at
exit on my g450
3. fixed a crash when cleaning up from failure by munmaping what had not
yet been mmaped
4. Resize event handling is improved, the resize function is not invoked
from a signal handler now.
5. The main loop can detect if it is running very fast (greater than 2khz)
6. keyboard up and special up events are generated from stdin input mode
and if it is also not redrawing, it sleeps
7. corrections in escape sequences for function keys for stdin input
Roland Scheidegger [Thu, 30 Nov 2006 00:52:54 +0000 (00:52 +0000)]
fix mixed conventional / generic vertex arrays which caused a wrong array order leading to very bogus rendering (for instance WoW intro screen mentioned in #8250).
Roland Scheidegger [Wed, 29 Nov 2006 22:16:16 +0000 (22:16 +0000)]
check for target instead of program->Target in _tnl_program_string, avoids segfault if program is NULL
Roland Scheidegger [Wed, 29 Nov 2006 19:18:50 +0000 (19:18 +0000)]
fix a bug in the sanity code when outputting vertex progs
Roland Scheidegger [Wed, 29 Nov 2006 16:41:28 +0000 (16:41 +0000)]
call Driver.ProgramStringNotify if a ati_fragment_shader changes and pick up the change in the r200 driver accordingly.
Eric Anholt [Wed, 29 Nov 2006 01:16:12 +0000 (01:16 +0000)]
Add accelerated CopyPixels for non-overlapping, 1:1 blits.
Submitted by Gary Wong <gtw@gnu.org>
Brian Paul [Tue, 28 Nov 2006 15:46:50 +0000 (15:46 +0000)]
indent, comments, etc
Dave Airlie [Tue, 28 Nov 2006 04:50:54 +0000 (04:50 +0000)]
add support to miniglx for updating drawables ..
requires hacks to DRM to remove MASTER from UPDATE_DRAW and ADD_DRAW
Dave Airlie [Tue, 28 Nov 2006 04:50:07 +0000 (04:50 +0000)]
Update miniglx support for new memory manager
Brian Paul [Mon, 27 Nov 2006 17:48:59 +0000 (17:48 +0000)]
comments
Brian Paul [Mon, 27 Nov 2006 17:40:07 +0000 (17:40 +0000)]
remove assertions to match i915tex code (bug 8726)
Brian Paul [Mon, 27 Nov 2006 16:50:10 +0000 (16:50 +0000)]
get rid of meaningless XFree86LOADER test (bug 9144)
Brian Paul [Mon, 27 Nov 2006 16:33:43 +0000 (16:33 +0000)]
replace check for XFree86LOADER and IN_MODULE with XFree86Server (bug 9144)
Ben Skeggs [Mon, 27 Nov 2006 01:57:37 +0000 (01:57 +0000)]
- Add InitInstruction to hw shader backend, and remove SetUnusedSource.
- NV30FP/NV40VP: Clear any fields before we OR new values into them
- NV40VP: It seems that it might be possible to write a result reg at the
same time a temp is written. In InitInstruction, initialise OUT_DEST to
OUT_DEST_TEMP so result regs don't get clobbered by default.
Ben Skeggs [Sun, 26 Nov 2006 13:18:41 +0000 (13:18 +0000)]
Fix RSQ emulation
Ben Skeggs [Sun, 26 Nov 2006 10:19:44 +0000 (10:19 +0000)]
Fix progs/fp/tri-xpd
Fragprog consts are inlined, so make sure we update *all* occurances of a
param :)
Tilman Sauerbeck [Sun, 26 Nov 2006 09:39:21 +0000 (09:39 +0000)]
Bug #6044: actually delete the texture object in mgaDeleteTexture
Ben Skeggs [Sat, 25 Nov 2006 09:58:35 +0000 (09:58 +0000)]
Incomplete shader stuff, should mostly work for NV40. Other cards, not so
much..
Ben Skeggs [Sat, 25 Nov 2006 06:02:10 +0000 (06:02 +0000)]
fix scissor
Patrice Mandin [Fri, 24 Nov 2006 23:34:03 +0000 (23:34 +0000)]
nv10,nv20,nv30: send correct values for spot light direction X,Y,Z and
cutoff parameter C
Patrice Mandin [Fri, 24 Nov 2006 23:23:18 +0000 (23:23 +0000)]
nv10: rename spot light coefs like nv20,nv30
Brian Paul [Fri, 24 Nov 2006 19:21:42 +0000 (19:21 +0000)]
call slang_variable_construct() inside slang_variable_scope_grow()
Brian Paul [Fri, 24 Nov 2006 19:01:14 +0000 (19:01 +0000)]
new slang_variable_scope_grow() function