mesa.git
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 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 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 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 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 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()).

17 years agoFix an infinite loop error that may occur when many contexts are bound
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.

17 years agoFixed compilation errors/warnings.
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.

18 years agothe following improvements to linux-fbdev:
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

18 years agofix mixed conventional / generic vertex arrays which caused a wrong array order leadi...
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).

18 years agocheck for target instead of program->Target in _tnl_program_string, avoids segfault...
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

18 years agofix a bug in the sanity code when outputting vertex progs
Roland Scheidegger [Wed, 29 Nov 2006 19:18:50 +0000 (19:18 +0000)]
fix a bug in the sanity code when outputting vertex progs

18 years agocall Driver.ProgramStringNotify if a ati_fragment_shader changes and pick up the...
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.

18 years agoAdd accelerated CopyPixels for non-overlapping, 1:1 blits.
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>

18 years agoindent, comments, etc
Brian Paul [Tue, 28 Nov 2006 15:46:50 +0000 (15:46 +0000)]
indent, comments, etc

18 years agoadd support to miniglx for updating drawables ..
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

18 years agoUpdate miniglx support for new memory manager
Dave Airlie [Tue, 28 Nov 2006 04:50:07 +0000 (04:50 +0000)]
Update miniglx support for new memory manager

18 years agocomments
Brian Paul [Mon, 27 Nov 2006 17:48:59 +0000 (17:48 +0000)]
comments

18 years agoremove assertions to match i915tex code (bug 8726)
Brian Paul [Mon, 27 Nov 2006 17:40:07 +0000 (17:40 +0000)]
remove assertions to match i915tex code (bug 8726)

18 years agoget rid of meaningless XFree86LOADER test (bug 9144)
Brian Paul [Mon, 27 Nov 2006 16:50:10 +0000 (16:50 +0000)]
get rid of meaningless XFree86LOADER test (bug 9144)

18 years agoreplace check for XFree86LOADER and IN_MODULE with XFree86Server (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)

18 years agoBug #6044: actually delete the texture object in mgaDeleteTexture
Tilman Sauerbeck [Sun, 26 Nov 2006 09:39:21 +0000 (09:39 +0000)]
Bug #6044: actually delete the texture object in mgaDeleteTexture

18 years agocall slang_variable_construct() inside slang_variable_scope_grow()
Brian Paul [Fri, 24 Nov 2006 19:21:42 +0000 (19:21 +0000)]
call slang_variable_construct() inside slang_variable_scope_grow()

18 years agonew slang_variable_scope_grow() function
Brian Paul [Fri, 24 Nov 2006 19:01:14 +0000 (19:01 +0000)]
new slang_variable_scope_grow() function

18 years agoconst correctness, clean-ups
Brian Paul [Thu, 23 Nov 2006 16:56:55 +0000 (16:56 +0000)]
const correctness, clean-ups

18 years agoindent
Brian Paul [Thu, 23 Nov 2006 16:52:18 +0000 (16:52 +0000)]
indent

18 years agofix several program-related bugs (bug 9136)
Brian Paul [Thu, 23 Nov 2006 15:58:30 +0000 (15:58 +0000)]
fix several program-related bugs (bug 9136)

18 years agoHaihao Xiang's edgeflag patch.
Keith Whitwell [Thu, 23 Nov 2006 10:13:22 +0000 (10:13 +0000)]
Haihao Xiang's edgeflag patch.

18 years agoHaihao Xiang's pointsize initialization patch.
Keith Whitwell [Thu, 23 Nov 2006 10:12:05 +0000 (10:12 +0000)]
Haihao Xiang's pointsize initialization patch.

18 years agorealign some of the i830 code from the i915
Dave Airlie [Thu, 23 Nov 2006 01:12:41 +0000 (01:12 +0000)]
realign some of the i830 code from the i915

18 years agofix typo
Brian Paul [Thu, 23 Nov 2006 00:44:14 +0000 (00:44 +0000)]
fix typo

18 years agofix indirect glMap* bugs
Brian Paul [Thu, 23 Nov 2006 00:43:23 +0000 (00:43 +0000)]
fix indirect glMap* bugs

18 years agos/ource/source/
Brian Paul [Thu, 23 Nov 2006 00:42:25 +0000 (00:42 +0000)]
s/ource/source/

18 years agomove comments
Brian Paul [Thu, 23 Nov 2006 00:41:44 +0000 (00:41 +0000)]
move comments

18 years agoindent
Brian Paul [Thu, 23 Nov 2006 00:38:50 +0000 (00:38 +0000)]
indent

18 years agofixup draw/depth region handling in i830 along lines of i915
Dave Airlie [Thu, 23 Nov 2006 00:09:16 +0000 (00:09 +0000)]
fixup draw/depth region handling in i830 along lines of i915

18 years agoclean-up, comments
Brian Paul [Thu, 23 Nov 2006 00:09:00 +0000 (00:09 +0000)]
clean-up, comments

18 years agoindent
Brian Paul [Wed, 22 Nov 2006 23:58:47 +0000 (23:58 +0000)]
indent

18 years agodecrease the current vertex count by 1 if an uneven number of vertices is copied...
Roland Scheidegger [Wed, 22 Nov 2006 22:07:35 +0000 (22:07 +0000)]
decrease the current vertex count by 1 if an uneven number of vertices is copied by _tnl_copy_vertices. Otherwise, since in this case it will copy an extra vertex to avoid problems with vertex order in the new buffer, one triangle will be drawn twice. This fixes bug #9062.

18 years agoconst correctness
Brian Paul [Wed, 22 Nov 2006 21:59:28 +0000 (21:59 +0000)]
const correctness

18 years agonew comments
Brian Paul [Wed, 22 Nov 2006 21:49:14 +0000 (21:49 +0000)]
new comments

18 years agoclean-up, comments
Brian Paul [Wed, 22 Nov 2006 21:34:47 +0000 (21:34 +0000)]
clean-up, comments

18 years agoreindent
Brian Paul [Wed, 22 Nov 2006 21:34:30 +0000 (21:34 +0000)]
reindent

18 years agofix comments
Brian Paul [Wed, 22 Nov 2006 21:33:44 +0000 (21:33 +0000)]
fix comments

18 years agofix the gl version test
Roland Scheidegger [Wed, 22 Nov 2006 19:37:21 +0000 (19:37 +0000)]
fix the gl version test

18 years agoAdd tdfx updates to release notes.
Ian Romanick [Wed, 22 Nov 2006 19:05:20 +0000 (19:05 +0000)]
Add tdfx updates to release notes.

18 years agoremove unneded call to _tnl_invalidate_state() in _tnl_need_projected_coords(). Conne...
Roland Scheidegger [Wed, 22 Nov 2006 17:54:31 +0000 (17:54 +0000)]
remove unneded call to _tnl_invalidate_state() in _tnl_need_projected_coords(). Connected to bug #9103, though that bug got fixed without this change too.

18 years agoGLX protocol fixes for glMap* functions (bug 8899)
Brian Paul [Wed, 22 Nov 2006 16:01:48 +0000 (16:01 +0000)]
GLX protocol fixes for glMap* functions (bug 8899)

18 years agoPrune incoming state to the atoms of interest. Hopefully this will
Keith Whitwell [Wed, 22 Nov 2006 15:27:58 +0000 (15:27 +0000)]
Prune incoming state to the atoms of interest.  Hopefully this will
prevent driver-initiated statechanges in the middle of
DrawElements/DrawArrays from disturbing this code.

18 years agoAnother fix
Keith Whitwell [Wed, 22 Nov 2006 13:53:21 +0000 (13:53 +0000)]
Another fix

18 years agoSet _NEW_LIGHT when materials are present in display lists also.
Keith Whitwell [Wed, 22 Nov 2006 09:35:19 +0000 (09:35 +0000)]
Set _NEW_LIGHT when materials are present in display lists also.

18 years agoMove setting of _NEW_LIGHT to only occur when materials are present.
Keith Whitwell [Wed, 22 Nov 2006 09:34:55 +0000 (09:34 +0000)]
Move setting of _NEW_LIGHT to only occur when materials are present.

18 years agofix segfault with ATI_fs when trying to use a not enabled texture unit (bug #9110).
Roland Scheidegger [Tue, 21 Nov 2006 23:37:21 +0000 (23:37 +0000)]
fix segfault with ATI_fs when trying to use a not enabled texture unit (bug #9110).

18 years agolist header files in sources files (Dan Nicholson)
Brian Paul [Tue, 21 Nov 2006 16:04:22 +0000 (16:04 +0000)]
list header files in sources files (Dan Nicholson)

18 years agoblend, logicop changes for intelEmitCopyBlit backported to i915
Keith Whitwell [Tue, 21 Nov 2006 14:43:30 +0000 (14:43 +0000)]
blend, logicop changes for intelEmitCopyBlit backported to i915

18 years agoMore fixes, glean seems to run now.
Keith Whitwell [Tue, 21 Nov 2006 13:22:34 +0000 (13:22 +0000)]
More fixes, glean seems to run now.

18 years agoDon't define as const's to avoid compiler optimization & warning.
Alan Hourihane [Tue, 21 Nov 2006 10:59:31 +0000 (10:59 +0000)]
Don't define as const's to avoid compiler optimization & warning.

18 years agoFix more typos.
Keith Whitwell [Tue, 21 Nov 2006 10:50:01 +0000 (10:50 +0000)]
Fix more typos.

18 years agoGary Wong's patches for CopyPixels Logiop (enable) and Blend
Keith Whitwell [Tue, 21 Nov 2006 10:43:16 +0000 (10:43 +0000)]
Gary Wong's patches for CopyPixels Logiop (enable) and Blend
(disallow).  Slightly cleaned to disallow on all blend states for code
consiseness and turn a table lookup into a function to match other
code in the driver.

18 years agoGary Wong's fix for 64 bit cleanness of vertex program inputs bitmask.
Keith Whitwell [Tue, 21 Nov 2006 10:16:37 +0000 (10:16 +0000)]
Gary Wong's fix for 64 bit cleanness of vertex program inputs bitmask.

18 years agoCommit Gary Wong & Keith Packard's changes for bug 8867 -- adjust code
Keith Whitwell [Tue, 21 Nov 2006 10:11:02 +0000 (10:11 +0000)]
Commit Gary Wong & Keith Packard's changes for bug 8867 -- adjust code
after repositioning of INDEX value in BRW_ATTRIB enum.

18 years agoAdded correct include files to files,
Sean D'Epagnier [Tue, 21 Nov 2006 09:35:49 +0000 (09:35 +0000)]
Added correct include files to files,
No longer modify cmap if the device is truecolor (messes up dual monitors
with vt switching)

18 years agoglTexCoord3dv was not using third coordinate
Sean D'Epagnier [Tue, 21 Nov 2006 08:48:44 +0000 (08:48 +0000)]
glTexCoord3dv was not using third coordinate

18 years agoDisable fragment program debug messages.
Rune Petersen [Mon, 20 Nov 2006 19:57:10 +0000 (19:57 +0000)]
Disable fragment program debug messages.

18 years agoadded new 'sources' file to tarball (might not get used though)
Brian Paul [Mon, 20 Nov 2006 17:09:04 +0000 (17:09 +0000)]
added new 'sources' file to tarball (might not get used though)

18 years agoFix typos that meant vbos were never unmapped
Keith Whitwell [Mon, 20 Nov 2006 15:15:24 +0000 (15:15 +0000)]
Fix typos that meant vbos were never unmapped