mesa.git
17 years agoUse glxbyteorder.h in server-side source files.
Ian Romanick [Thu, 4 Jan 2007 22:53:48 +0000 (14:53 -0800)]
Use glxbyteorder.h in server-side source files.

17 years agoHack indent flags for indirect_reqsize.h to eliminate extra diffs.
Ian Romanick [Thu, 4 Jan 2007 22:52:53 +0000 (14:52 -0800)]
Hack indent flags for indirect_reqsize.h to eliminate extra diffs.

17 years agoAdd missing files to server generation list.
Ian Romanick [Thu, 4 Jan 2007 22:47:41 +0000 (14:47 -0800)]
Add missing files to server generation list.

The files indirect_reqsize.c and indirect_reqsize.h were missing from
the list of files to be generated for the server.  Add them back to
the list.  Also, update the INDENT_FLAGS to prevent conversion of
'GLbyte *pc' to 'GLbyte * pc' in function prototypes.

17 years agoUpdate spot light params
Patrice Mandin [Tue, 2 Jan 2007 13:31:16 +0000 (14:31 +0100)]
Update spot light params

17 years agonouveau: bump drm patchlevel.
Ben Skeggs [Tue, 2 Jan 2007 04:09:10 +0000 (15:09 +1100)]
nouveau: bump drm patchlevel.

17 years agofix issue with i915tex advertising visuals it can't support
Dave Airlie [Sat, 30 Dec 2006 23:01:17 +0000 (10:01 +1100)]
fix issue with i915tex advertising visuals it can't support

This may not be the proper way to fix this but it does work easily.

17 years agoUse the tiled flag in the sarea to determine region tiling.
Haihao Xiang [Sat, 30 Dec 2006 18:30:42 +0000 (10:30 -0800)]
Use the tiled flag in the sarea to determine region tiling.

This fixes mis-rendering if back/depth fail to get set up as tiled.  While it
probably won't ever be the case now that the pitch limits are loosened, this is
still the right thing to do.

17 years agonouveau: Use bufferobj interface for fragment program uploads
Ben Skeggs [Wed, 27 Dec 2006 12:52:40 +0000 (23:52 +1100)]
nouveau: Use bufferobj interface for fragment program uploads

17 years agonouveau: Initial buffer object support
Ben Skeggs [Wed, 27 Dec 2006 12:30:34 +0000 (23:30 +1100)]
nouveau: Initial buffer object support

17 years agonouveau: We'll need syncNotifier for NV_MEMORY_TO_MEMORY_FORMAT too.
Ben Skeggs [Wed, 27 Dec 2006 04:54:30 +0000 (15:54 +1100)]
nouveau: We'll need syncNotifier for NV_MEMORY_TO_MEMORY_FORMAT too.

17 years agonouveau: add nouveau_mem_alloc/free debugging
Ben Skeggs [Wed, 27 Dec 2006 04:50:59 +0000 (15:50 +1100)]
nouveau: add nouveau_mem_alloc/free debugging

17 years agonouveau: record *actual* type of memory that was alloc'd, not the requested types.
Ben Skeggs [Wed, 27 Dec 2006 04:39:52 +0000 (15:39 +1100)]
nouveau: record *actual* type of memory that was alloc'd, not the requested types.

17 years agonouveau: Typo
Ben Skeggs [Wed, 27 Dec 2006 04:38:09 +0000 (15:38 +1100)]
nouveau: Typo

17 years agonouveau: Add simple wrapper for NV_MEMORY_TO_MEMORY_FORMAT.
Ben Skeggs [Tue, 26 Dec 2006 13:02:38 +0000 (00:02 +1100)]
nouveau: Add simple wrapper for NV_MEMORY_TO_MEMORY_FORMAT.

17 years agoDeleted unused file which likely have be reintroduced during git move.
Jerome Glisse [Tue, 26 Dec 2006 17:39:21 +0000 (18:39 +0100)]
Deleted unused file which likely have be reintroduced during git move.

This file was deleted longtime ago, guess that git migration
created it again.

17 years agonouveau: Make use of NOUVEAU_DEBUG for shader disasm
Ben Skeggs [Tue, 26 Dec 2006 11:03:12 +0000 (22:03 +1100)]
nouveau: Make use of NOUVEAU_DEBUG for shader disasm

17 years agonouveau: Make the notifier stuff actually work..
Ben Skeggs [Tue, 26 Dec 2006 10:33:58 +0000 (21:33 +1100)]
nouveau: Make the notifier stuff actually work..

17 years agonouveau: Wait on notifier to check for completion of previous commands.
Ben Skeggs [Tue, 26 Dec 2006 10:10:38 +0000 (21:10 +1100)]
nouveau: Wait on notifier to check for completion of previous commands.

We can't wait on NV_PGRAPH_STATUS.  We don't have the regs mapped, and there's
no guarantee that we'll catch PGRAPH idle when multiple channels are active.

17 years agonouveau: Add notifier support functions
Ben Skeggs [Tue, 26 Dec 2006 09:59:49 +0000 (20:59 +1100)]
nouveau: Add notifier support functions

17 years agoRework r300 fragprog avoid using bitfield structure.
Jerome Glisse [Mon, 25 Dec 2006 22:34:56 +0000 (23:34 +0100)]
Rework r300 fragprog avoid using bitfield structure.

It seems that bitfield structure lead to some strange
problem on 64bits arch, don't want to waste time debugging
strange things like that so converted pfs_reg_t structure
to a GLuint and use good old masking and shifting spell.
(cherry picked from 2a7de9d095d8e60da12b11aaa1efe664b87b11d3 commit)

17 years agonouveau: Kill some compile warnings.
Ben Skeggs [Sat, 23 Dec 2006 13:50:13 +0000 (00:50 +1100)]
nouveau: Kill some compile warnings.

17 years agonouveau: Modify span routines to use nouveau_renderbuffer instead of driRenderbuffer
Ben Skeggs [Sat, 23 Dec 2006 13:13:34 +0000 (00:13 +1100)]
nouveau: Modify span routines to use nouveau_renderbuffer instead of driRenderbuffer

17 years agonouveau: maintain numClipRects/pClipRects in context.
Ben Skeggs [Sat, 23 Dec 2006 12:51:24 +0000 (23:51 +1100)]
nouveau: maintain numClipRects/pClipRects in context.

17 years agonouveau: Don't fill nrb->dPriv for private buffers
Ben Skeggs [Sat, 23 Dec 2006 12:03:55 +0000 (23:03 +1100)]
nouveau: Don't fill nrb->dPriv for private buffers

17 years agonouveau: get 16bpp working
Ben Skeggs [Fri, 22 Dec 2006 23:56:19 +0000 (10:56 +1100)]
nouveau: get 16bpp working

17 years agoDrop mesa wrappers for XFree86.
George Sapountzis [Wed, 6 Dec 2006 04:40:18 +0000 (06:40 +0200)]
Drop mesa wrappers for XFree86.

17 years agoUpdated keyboard input so that glut programs can read from stdin without
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.

17 years agoMerge branch 'nouveau-import'
Dave Airlie [Tue, 19 Dec 2006 22:30:32 +0000 (09:30 +1100)]
Merge branch 'nouveau-import'

17 years agoDon't build passthrough shader on <NV40
Ben Skeggs [Sun, 17 Dec 2006 03:38:21 +0000 (03:38 +0000)]
Don't build passthrough shader on <NV40

17 years agoDon't update span->array->z[] values from SLANG_FRAGMENT_FIXED_FRAGDEPTH.
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...

17 years agoinitial release notes for 6.5.3
Brian [Sat, 16 Dec 2006 18:09:14 +0000 (11:09 -0700)]
initial release notes for 6.5.3

17 years agodon't allow fog when using a fragment shader (bug 9346)
Brian [Sat, 16 Dec 2006 18:07:00 +0000 (11:07 -0700)]
don't allow fog when using a fragment shader (bug 9346)

17 years agoGet nv10_swtcl.c working enough for glxgears on NV40.
Ben Skeggs [Sat, 16 Dec 2006 12:32:11 +0000 (12:32 +0000)]
Get nv10_swtcl.c working enough for glxgears on NV40.

17 years agoFix copy-and-paste mistake in comment ("scaling" should read "translation").
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().

17 years agoNV1x/2x hw_func stubs.
Ben Skeggs [Fri, 15 Dec 2006 21:02:23 +0000 (21:02 +0000)]
NV1x/2x hw_func stubs.

17 years agoMerge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
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

17 years agoReplace __extension__ with LONGSTRING.
Brian [Thu, 14 Dec 2006 21:27:05 +0000 (14:27 -0700)]
Replace __extension__ with LONGSTRING.

17 years agoCheck in a long-misplaced spec update.
Brian [Thu, 14 Dec 2006 16:38:06 +0000 (09:38 -0700)]
Check in a long-misplaced spec update.

17 years agoFix copy-and-paste-o of my e-mail address.
Michel Dänzer [Thu, 14 Dec 2006 11:57:59 +0000 (12:57 +0100)]
Fix copy-and-paste-o of my e-mail address.

17 years agoAvoid failing assertion in intel_miptree_set_image_offset() with cube maps.
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.

17 years agoFix some corner cases in i945_miptree_layout_2d().
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.

17 years agoShare code to lay out >= 945 style 2D mipmaps between i915tex and i965 drivers.
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.

17 years agointel_finalize_mipmap_tree: Add more conditions for rebuilding mipmap trees.
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.

17 years agointel_batchbuffer_flush: Don't assert cliprects when lock is not held.
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.

17 years agointelTexSubimage: Fix last parameter for intel_miptree_image_map().
Michel Dänzer [Thu, 14 Dec 2006 09:24:09 +0000 (10:24 +0100)]
intelTexSubimage: Fix last parameter for intel_miptree_image_map().

17 years ago_mesa_swizzle_ubyte_image: Only use single swizzle_copy call when strides match.
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.

17 years agomipmap_limits: Fix display of current texture filtering mode.
Michel Dänzer [Tue, 12 Dec 2006 08:23:53 +0000 (09:23 +0100)]
mipmap_limits: Fix display of current texture filtering mode.

17 years agoImprove SwapBuffers a bit.
Ben Skeggs [Thu, 14 Dec 2006 04:34:38 +0000 (04:34 +0000)]
Improve SwapBuffers a bit.

17 years ago0x4497 doesn't have NV30_TCL_PRIMITIVE_3D_NORMALIZE_ENABLE
Ben Skeggs [Thu, 14 Dec 2006 04:12:05 +0000 (04:12 +0000)]
0x4497 doesn't have NV30_TCL_PRIMITIVE_3D_NORMALIZE_ENABLE

17 years agoSome more voodoo to get 3D going with a minimal initial context.
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.

17 years agosubmit vertex weights to make World of Warcraft maybe happy (bug 8250)
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).

17 years agoMove all the code for computing ctx->_TriangleCaps into state.c.
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...

17 years agoRemove the xdemo.c program from PROGS since it doesn't work with GLX/DRI.
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.

17 years agoUse XDisplayName() when reporting errors (bug 8079).
Brian [Wed, 13 Dec 2006 15:30:26 +0000 (08:30 -0700)]
Use XDisplayName() when reporting errors (bug 8079).

17 years agoBug 7260: mach64 texture memory mng cleanup
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.

17 years agoBug 7861: mach64 with render acceleration should restore texture state
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.

17 years agoBug 7790: Polygons incorrectly clipped by mach64 driver
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

17 years agominstall: Pass correct destination file path to $RM regardless of source path.
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.

17 years agominstall: Always remove destination file before (re-)creating it.
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.

17 years agoi965: Fix a crash with wine by not allocating >1MB on the stack.
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.

17 years agoUpdate spot light params also for nv20 and nv30
Patrice Mandin [Fri, 8 Dec 2006 18:56:51 +0000 (18:56 +0000)]
Update spot light params also for nv20 and nv30

17 years agogrr, always check twice before commit
Patrice Mandin [Fri, 8 Dec 2006 16:40:34 +0000 (16:40 +0000)]
grr, always check twice before commit

17 years agoResend spot light parameters when part of it changes
Patrice Mandin [Fri, 8 Dec 2006 16:39:12 +0000 (16:39 +0000)]
Resend spot light parameters when part of it changes

17 years agoSkeletal extension handling across chipsets.
Ben Skeggs [Fri, 8 Dec 2006 14:12:47 +0000 (14:12 +0000)]
Skeletal extension handling across chipsets.

17 years agoNV_44 uses nv30InitStateFuncs too
Ben Skeggs [Fri, 8 Dec 2006 12:36:26 +0000 (12:36 +0000)]
NV_44 uses nv30InitStateFuncs too

17 years agostate cache is automagically flushed on a normal BEGIN_RING_SIZE
Ben Skeggs [Fri, 8 Dec 2006 11:51:50 +0000 (11:51 +0000)]
state cache is automagically flushed on a normal BEGIN_RING_SIZE

17 years agoImplement a simple nv30Clear, and make sure we get a nouveau_renderbuffer
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

17 years agofix bug#9237
Xiang, Haihao [Fri, 8 Dec 2006 09:05:14 +0000 (17:05 +0800)]
fix bug#9237

17 years agofix bug#9045
Xiang, Haihao [Fri, 8 Dec 2006 09:00:59 +0000 (17:00 +0800)]
fix bug#9045

17 years agooops, typo
Ben Skeggs [Fri, 8 Dec 2006 07:27:39 +0000 (07:27 +0000)]
oops, typo

17 years agoCreate visuals for modes the ddx provides
Ben Skeggs [Fri, 8 Dec 2006 07:15:43 +0000 (07:15 +0000)]
Create visuals for modes the ddx provides

17 years agooops, we don't want this by default just yet...
Ben Skeggs [Fri, 8 Dec 2006 03:04:10 +0000 (03:04 +0000)]
oops, we don't want this by default just yet...

17 years agoSome work on buffer handling, most likely not entirely correct and
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.

17 years agoi915tex: Recalculate viewport related hardware state in intelWindowMoved().
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.

17 years agoMake git ignore Emacs backup files.
Michel Dänzer [Wed, 6 Dec 2006 17:11:27 +0000 (18:11 +0100)]
Make git ignore Emacs backup files.

17 years agoMerge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
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

17 years agoUpdated with new mesa-commit list.
Brian [Wed, 6 Dec 2006 15:20:03 +0000 (08:20 -0700)]
Updated with new mesa-commit list.

17 years agoMake git ignore some more generated files.
Michel Dänzer [Wed, 6 Dec 2006 14:14:43 +0000 (15:14 +0100)]
Make git ignore some more generated files.

17 years agoglxinfo: When direct rendering is not enabled, print some hints.
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 .

17 years agoMake git ignore files only generated at build time.
Michel Dänzer [Wed, 6 Dec 2006 13:17:56 +0000 (14:17 +0100)]
Make git ignore files only generated at build time.

17 years agoRe-generate options.h with Swedish translations.
Michel Dänzer [Wed, 6 Dec 2006 13:06:52 +0000 (14:06 +0100)]
Re-generate options.h with Swedish translations.

17 years agoSwedish translation of driconf options.
Daniel Nylander [Wed, 6 Dec 2006 12:21:02 +0000 (13:21 +0100)]
Swedish translation of driconf options.

17 years agoReplaced by .html file.
Brian [Tue, 5 Dec 2006 23:36:35 +0000 (16:36 -0700)]
Replaced by .html file.

17 years agoReplaced by .html files.
Brian [Tue, 5 Dec 2006 23:36:12 +0000 (16:36 -0700)]
Replaced by .html files.

17 years agoRemoved/obsolete.
Brian [Tue, 5 Dec 2006 23:27:31 +0000 (16:27 -0700)]
Removed/obsolete.

17 years agoNew git repository info, links.
Brian [Tue, 5 Dec 2006 23:14:39 +0000 (16:14 -0700)]
New git repository info, links.

17 years agoNew info about Mesa's git repository.
Brian [Tue, 5 Dec 2006 23:14:14 +0000 (16:14 -0700)]
New info about Mesa's git repository.

17 years agoFix the swtcl module.
Stephane Marchesin [Sun, 3 Dec 2006 11:46:18 +0000 (11:46 +0000)]
Fix the swtcl module.

17 years agoRemove duplicate nv10 tcl defines
Patrice Mandin [Sun, 3 Dec 2006 10:08:04 +0000 (10:08 +0000)]
Remove duplicate nv10 tcl defines

17 years agoMerge the pciid work. Use lock step versioning with the drm.
Stephane Marchesin [Sun, 3 Dec 2006 09:08:26 +0000 (09:08 +0000)]
Merge the pciid work. Use lock step versioning with the drm.

17 years agoFix a copy+paste'o that caused some *very* strange bugs..
Ben Skeggs [Sun, 3 Dec 2006 02:01:49 +0000 (02:01 +0000)]
Fix a copy+paste'o that caused some *very* strange bugs..

17 years agoversion bump
Brian Paul [Sat, 2 Dec 2006 19:26:01 +0000 (19:26 +0000)]
version bump

17 years agomd5 sums
Brian Paul [Sat, 2 Dec 2006 19:22:16 +0000 (19:22 +0000)]
md5 sums

17 years agoremove directfbgl.h file
Brian Paul [Sat, 2 Dec 2006 18:20:53 +0000 (18:20 +0000)]
remove directfbgl.h file

17 years agoremove bogus link
Brian Paul [Sat, 2 Dec 2006 18:18:55 +0000 (18:18 +0000)]
remove bogus link

17 years ago6.5.2 release updates
Brian Paul [Sat, 2 Dec 2006 18:18:41 +0000 (18:18 +0000)]
6.5.2 release updates

17 years agoAdd i915tex and i965.
Gary Wong [Sat, 2 Dec 2006 02:20:05 +0000 (02:20 +0000)]
Add i915tex and i965.

17 years agoStructure CopyPixels similarly to i915 do_texture_copypixels, to ease future unification.
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.

17 years agoBe aware that the surface storage can change between locks.
Claudio Ciccani [Fri, 1 Dec 2006 20:58:26 +0000 (20:58 +0000)]
Be aware that the surface storage can change between locks.

17 years agoRemove DirectFBGL header from Mesa bacause since 1.0.0 DirectFB installs its own...
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()).