mesa.git
19 years agos/0/NULL/ (Jeff Muizelaar)
Brian Paul [Wed, 16 Feb 2005 15:02:25 +0000 (15:02 +0000)]
s/0/NULL/ (Jeff Muizelaar)

19 years agoget two textures to work
reist [Wed, 16 Feb 2005 10:38:57 +0000 (10:38 +0000)]
get two textures to work

19 years agoDon't enable fog. It's broken
Ben Skeggs [Wed, 16 Feb 2005 06:24:07 +0000 (06:24 +0000)]
Don't enable fog.  It's broken

19 years agoShare routing code between immd/vb. Fix breakage of vertex programs in vb mode.
Ben Skeggs [Tue, 15 Feb 2005 19:07:35 +0000 (19:07 +0000)]
Share routing code between immd/vb.  Fix breakage of vertex programs in vb mode.

19 years agoAdd missing texture formats for completeness
Dave Airlie [Tue, 15 Feb 2005 11:20:11 +0000 (11:20 +0000)]
Add missing texture formats for completeness

19 years agoadd some missing texture formats and bits from r200 docs
Dave Airlie [Tue, 15 Feb 2005 10:44:20 +0000 (10:44 +0000)]
add some missing texture formats and bits from r200 docs

19 years agoAdded texture format table for big endian (this is a tempory hack).
Jerome Glisse [Tue, 15 Feb 2005 10:40:34 +0000 (10:40 +0000)]
Added texture format table for big endian (this is a tempory hack).

19 years agoadd EnableExtension so r200 enables all its extensions, add mesa memory
Dave Airlie [Tue, 15 Feb 2005 08:40:24 +0000 (08:40 +0000)]
add EnableExtension so r200 enables all its extensions, add mesa memory
extension entry points

19 years agoremove accidentally commited printf for tiling support
Roland Scheidegger [Mon, 14 Feb 2005 17:37:52 +0000 (17:37 +0000)]
remove accidentally commited printf for tiling support

19 years agoSimple test for GL_MESA_pack_invert.
Ian Romanick [Mon, 14 Feb 2005 17:07:29 +0000 (17:07 +0000)]
Simple test for GL_MESA_pack_invert.

19 years agoupdated doc
Daniel Borca [Mon, 14 Feb 2005 15:06:50 +0000 (15:06 +0000)]
updated doc

19 years agoremoved detritus
Daniel Borca [Mon, 14 Feb 2005 15:05:24 +0000 (15:05 +0000)]
removed detritus

19 years agoseparated DOS GLUT from GLX GLUT.
Daniel Borca [Mon, 14 Feb 2005 15:04:52 +0000 (15:04 +0000)]
separated DOS GLUT from GLX GLUT.
added a few FreeGLUT specific functions.

19 years agoSupport for blend color(not tested), "proper line width/point size" clamps and fix...
Aapo Tahkola [Mon, 14 Feb 2005 13:14:16 +0000 (13:14 +0000)]
Support for blend color(not tested), "proper line width/point size" clamps and fix for glxinfo problem.

19 years agomesa-fix-one-bit-signed-bitfield.patch from Jeff Muizelaar
Keith Whitwell [Mon, 14 Feb 2005 09:36:00 +0000 (09:36 +0000)]
mesa-fix-one-bit-signed-bitfield.patch from Jeff Muizelaar

19 years agofix some signed vs unsigned warnings
Dave Airlie [Mon, 14 Feb 2005 09:27:38 +0000 (09:27 +0000)]
fix some signed vs unsigned warnings

19 years agofix signed vs unsigned comparison warnings in tnl_dd
Dave Airlie [Mon, 14 Feb 2005 09:25:08 +0000 (09:25 +0000)]
fix signed vs unsigned comparison warnings in tnl_dd

19 years agokilled a few warnings
Daniel Borca [Mon, 14 Feb 2005 08:19:54 +0000 (08:19 +0000)]
killed a few warnings

19 years agoadded a bunch of const in the decoder
Daniel Borca [Mon, 14 Feb 2005 08:08:35 +0000 (08:08 +0000)]
added a bunch of const in the decoder

19 years ago`static const' instead of `const static'
Daniel Borca [Mon, 14 Feb 2005 08:02:50 +0000 (08:02 +0000)]
`static const' instead of `const static'

19 years agoProgramCallbackMesa must match the prototype
Daniel Borca [Mon, 14 Feb 2005 08:01:59 +0000 (08:01 +0000)]
ProgramCallbackMesa must match the prototype

19 years agoChange another usage of __AMD64__ to the standard __amd64__, and remove
Eric Anholt [Mon, 14 Feb 2005 06:57:27 +0000 (06:57 +0000)]
Change another usage of __AMD64__ to the standard __amd64__, and remove
__AMD64__ from the linux configs so it won't creep back in as easily.  Fixes
hang on FreeBSD on the first lock grab.

19 years agoDon't forget to -L/usr/local/lib to grab expat.
Eric Anholt [Mon, 14 Feb 2005 06:54:50 +0000 (06:54 +0000)]
Don't forget to -L/usr/local/lib to grab expat.

19 years agoTypo fix.
Michel Dänzer [Sun, 13 Feb 2005 18:37:36 +0000 (18:37 +0000)]
Typo fix.

19 years agoinitial r400 support: r400 cards are treated as RV350 for now.
Rune Petersen [Sat, 12 Feb 2005 21:29:51 +0000 (21:29 +0000)]
initial r400 support: r400 cards are treated as RV350 for now.

19 years agoMMIO endianness fixes for Radeon drivers.
Michel Dänzer [Sat, 12 Feb 2005 20:37:07 +0000 (20:37 +0000)]
MMIO endianness fixes for Radeon drivers.

19 years agounlock mutex upon error return (Jeff Muizelaar)
Brian Paul [Sat, 12 Feb 2005 18:43:38 +0000 (18:43 +0000)]
unlock mutex upon error return (Jeff Muizelaar)

19 years agoFall back properly when GL_COLOR_LOGIC_OP is enabled and != GL_COPY.
Felix Kuehling [Sat, 12 Feb 2005 16:02:30 +0000 (16:02 +0000)]
Fall back properly when GL_COLOR_LOGIC_OP is enabled and != GL_COPY.
Add missing per-primitive fallback for polygon stipple.

19 years agoOffset LOD bias by about 0.3 to match software rendering more closely.
Felix Kuehling [Sat, 12 Feb 2005 14:37:17 +0000 (14:37 +0000)]
Offset LOD bias by about 0.3 to match software rendering more closely.
Another small tweak to subtile upload (mostly cosmetic).

19 years agoMake glean's masked clear test pass.
Felix Kuehling [Sat, 12 Feb 2005 14:35:17 +0000 (14:35 +0000)]
Make glean's masked clear test pass.

19 years agoSavage3D-based chips seem so use a constant tile stride of 2048 for
Felix Kuehling [Sat, 12 Feb 2005 14:03:05 +0000 (14:03 +0000)]
Savage3D-based chips seem so use a constant tile stride of 2048 for
vertically incomplete tiles, but only if the color depth is
32bpp. Nobody said this was supposed to be logical!

19 years agoEnabled vertex buffer mode as default.
Ben Skeggs [Sat, 12 Feb 2005 11:15:55 +0000 (11:15 +0000)]
Enabled vertex buffer mode as default.

19 years agoTurn _via_fastrender_stage back on.
Keith Whitwell [Fri, 11 Feb 2005 18:25:55 +0000 (18:25 +0000)]
Turn _via_fastrender_stage back on.

19 years agomesa-main-0-NULL.patch from Jeff Muizelaar
Keith Whitwell [Fri, 11 Feb 2005 09:34:05 +0000 (09:34 +0000)]
mesa-main-0-NULL.patch from Jeff Muizelaar

19 years agoPort of r200 VB code. VB path should be as fast as the immediate path now, tuxracer...
Ben Skeggs [Fri, 11 Feb 2005 05:59:13 +0000 (05:59 +0000)]
Port of r200 VB code.  VB path should be as fast as the immediate path now, tuxracer should render correctly.  Immediate path was left enabled.

19 years agoadd texture micro and macro tiling to radeon/r200 driver. This can improve performanc...
Roland Scheidegger [Thu, 10 Feb 2005 22:36:06 +0000 (22:36 +0000)]
add texture micro and macro tiling to radeon/r200 driver. This can improve performance up to 15% in texture-intensive applications. Convert the driver to use the correct blit format and blit width instead of fixed blit format and blit width when uploading textures to make it work.

19 years agoadd the new RADEON_CUBIC_OFFSET/FACES state packets/registers to radeon (and r200...
Roland Scheidegger [Thu, 10 Feb 2005 21:59:20 +0000 (21:59 +0000)]
add the new RADEON_CUBIC_OFFSET/FACES state packets/registers to radeon (and r200) sanity code

19 years ago(Andreas Stenglein) fix projected textures with swtcl, they need the w coordinate...
Roland Scheidegger [Thu, 10 Feb 2005 18:28:44 +0000 (18:28 +0000)]
(Andreas Stenglein) fix projected textures with swtcl, they need the w coordinate of the vertex (bugzilla #1648)

19 years agonew comments, fix zoffset error test
Brian Paul [Thu, 10 Feb 2005 16:08:07 +0000 (16:08 +0000)]
new comments, fix zoffset error test

19 years agolots of updates
Brian Paul [Thu, 10 Feb 2005 15:18:26 +0000 (15:18 +0000)]
lots of updates

19 years agoAdded kindly note about single buffer mode.
Aapo Tahkola [Thu, 10 Feb 2005 12:40:41 +0000 (12:40 +0000)]
Added kindly note about single buffer mode.

19 years agoUpdating master copy of r300_reg.h and turning immediate mode back on
Aapo Tahkola [Thu, 10 Feb 2005 11:02:55 +0000 (11:02 +0000)]
Updating master copy of r300_reg.h and turning immediate mode back on

19 years agomesa-tnl-0-to-NULL.patch from Jeff Muizelaar
Keith Whitwell [Thu, 10 Feb 2005 10:57:22 +0000 (10:57 +0000)]
mesa-tnl-0-to-NULL.patch from Jeff Muizelaar

19 years agoCatch no-op vertex buffers consisting only of vertices which will
Keith Whitwell [Thu, 10 Feb 2005 10:55:30 +0000 (10:55 +0000)]
Catch no-op vertex buffers consisting only of vertices which will
also appear in a future buffer.

19 years agoRemoving some regs that are wrong and adding some comments to r300_reg.h .
Aapo Tahkola [Thu, 10 Feb 2005 10:45:54 +0000 (10:45 +0000)]
Removing some regs that are wrong and adding some comments to r300_reg.h .

19 years agoSupport for PolygonMode. Not too far from working even though i almost gave up once...
Aapo Tahkola [Thu, 10 Feb 2005 08:56:35 +0000 (08:56 +0000)]
Support for PolygonMode. Not too far from working even though i almost gave up once already.

19 years agoFix copy'n'paste errors.
Vladimir Dergachev [Thu, 10 Feb 2005 07:39:11 +0000 (07:39 +0000)]
Fix copy'n'paste errors.
Print command buffer sizes during startup (TODO: remove 1 || when the driver is more mature).

19 years agoTurns out unknown5 was border color. texwrap looks good now.
Aapo Tahkola [Thu, 10 Feb 2005 05:11:31 +0000 (05:11 +0000)]
Turns out unknown5 was border color. texwrap looks good now.

19 years agoAdding support for selecting line width. Stipple patterns still cause lots of trouble.
Aapo Tahkola [Thu, 10 Feb 2005 04:43:07 +0000 (04:43 +0000)]
Adding support for selecting line width. Stipple patterns still cause lots of trouble.

19 years agoSimple test for ARB_texture_env_crossbar functionality. It is difficult
Ian Romanick [Wed, 9 Feb 2005 22:16:38 +0000 (22:16 +0000)]
Simple test for ARB_texture_env_crossbar functionality.  It is difficult
to come up with good tests for this functionality that don't require
either ATI_texture_env_combine3 or NV_texture_env_combine4.

19 years agoglGet*(GL_FRAGMENT_PROGRAM_BINDING_NV) was returning the vertex program binding.
Brian Paul [Wed, 9 Feb 2005 18:46:16 +0000 (18:46 +0000)]
glGet*(GL_FRAGMENT_PROGRAM_BINDING_NV) was returning the vertex program binding.

19 years agoAdded a test/clamp in the scale_internal_*() functions to prevent reading
Brian Paul [Wed, 9 Feb 2005 16:18:39 +0000 (16:18 +0000)]
Added a test/clamp in the scale_internal_*() functions to prevent reading
a row of pixels beyond the input buffer's bounds.
FDO/Mesa bug #2510.

19 years agoEnabled user-defined point size, enabled zbiases for rest of the primitives and fixed...
Aapo Tahkola [Wed, 9 Feb 2005 05:53:34 +0000 (05:53 +0000)]
Enabled user-defined point size, enabled zbiases for rest of the primitives and fixed bad vertex number checks triggered by nurb.

19 years agoinitial support for GL_EXT_framebuffer_object
Brian Paul [Wed, 9 Feb 2005 03:51:11 +0000 (03:51 +0000)]
initial support for GL_EXT_framebuffer_object

19 years agoimplement the 'completeness' tests
Brian Paul [Wed, 9 Feb 2005 03:50:30 +0000 (03:50 +0000)]
implement the 'completeness' tests

19 years agoGenerate GLX protocol for pixel single commands.
Ian Romanick [Wed, 9 Feb 2005 03:11:23 +0000 (03:11 +0000)]
Generate GLX protocol for pixel single commands.

19 years agoFixed stride of incomplete tiles.
Felix Kuehling [Wed, 9 Feb 2005 00:45:16 +0000 (00:45 +0000)]
Fixed stride of incomplete tiles.

19 years agoSUBPIXEL fixes from Dieter
Keith Whitwell [Tue, 8 Feb 2005 20:52:02 +0000 (20:52 +0000)]
SUBPIXEL fixes from Dieter

19 years agoRemove #ifdef's around PolygonOffset function.
Vladimir Dergachev [Tue, 8 Feb 2005 20:27:09 +0000 (20:27 +0000)]
Remove #ifdef's around PolygonOffset function.
Print number of missing entry for texture format.
Add alpha-luminance format.

19 years agoCorrect a couple problems / omissions in the DTD.
Ian Romanick [Tue, 8 Feb 2005 19:52:26 +0000 (19:52 +0000)]
Correct a couple problems / omissions in the DTD.

19 years agoTypo..
Aapo Tahkola [Tue, 8 Feb 2005 19:29:05 +0000 (19:29 +0000)]
Typo..

19 years agoFix the bug and get zbias back into shape. There might still be some problems with...
Aapo Tahkola [Tue, 8 Feb 2005 19:26:59 +0000 (19:26 +0000)]
Fix the bug and get zbias back into shape. There might still be some problems with initial zbias...

19 years agoCall _mesa_ResizeBuffersMESA() in r200Viewport(), fixes incorrect rendering
Michel Dänzer [Tue, 8 Feb 2005 17:39:08 +0000 (17:39 +0000)]
Call _mesa_ResizeBuffersMESA() in r200Viewport(), fixes incorrect rendering
in bzflag 2.0. (Alexander E. Patrakov)

19 years agoclamp anisotropy against max value
Brian Paul [Tue, 8 Feb 2005 14:44:01 +0000 (14:44 +0000)]
clamp anisotropy against max value

19 years agoBIG FAT NOTE: Theres a nasty bug somewhere thats causing vb color buffer clears and...
Aapo Tahkola [Tue, 8 Feb 2005 07:05:25 +0000 (07:05 +0000)]
BIG FAT NOTE: Theres a nasty bug somewhere thats causing vb color buffer clears and other things not to work. This bug can be triggered by extending struct r300_hw_state by two struct r300_state_atom's from its current size. Everything zbs and unk42B4 related is now covered with HAVE_ZBS and GA ifdefs. Who wants to fix it? Not i. :)

19 years agoBug #2477: Make GLU/GLw/glut build properly even with -fvisibility=hidden.
Adam Jackson [Tue, 8 Feb 2005 05:46:53 +0000 (05:46 +0000)]
Bug #2477: Make GLU/GLw/glut build properly even with -fvisibility=hidden.

19 years agoBetter fix to get tuxracer working.
Aapo Tahkola [Tue, 8 Feb 2005 05:33:44 +0000 (05:33 +0000)]
Better fix to get tuxracer working.

19 years agofog + immediate mode = bad things
Aapo Tahkola [Tue, 8 Feb 2005 04:46:39 +0000 (04:46 +0000)]
fog + immediate mode = bad things

19 years agoImplemented checks that prevent r300 from locking up when bad number of verts are...
Aapo Tahkola [Tue, 8 Feb 2005 04:31:29 +0000 (04:31 +0000)]
Implemented checks that prevent r300 from locking up when bad number of verts are given. Also tweaked WARN_ONCE a bit to handle va-args.

19 years agoLet Polygon Offset be turned on and off.
Vladimir Dergachev [Tue, 8 Feb 2005 04:20:40 +0000 (04:20 +0000)]
Let Polygon Offset be turned on and off.

19 years agojust some comments
Brian Paul [Tue, 8 Feb 2005 04:08:56 +0000 (04:08 +0000)]
just some comments

19 years agoa bunch of assorted fixes
Brian Paul [Tue, 8 Feb 2005 03:46:37 +0000 (03:46 +0000)]
a bunch of assorted fixes

19 years agoplug in GL_EXT_framebuffer_object functions
Brian Paul [Tue, 8 Feb 2005 03:46:08 +0000 (03:46 +0000)]
plug in GL_EXT_framebuffer_object functions

19 years agoremoved GL_EXT_framebuffer_object tokens
Brian Paul [Tue, 8 Feb 2005 03:45:44 +0000 (03:45 +0000)]
removed GL_EXT_framebuffer_object tokens

19 years agoadded GL_EXT_framebuffer_object enums/funcs. Remove when glext.h is updated
Brian Paul [Tue, 8 Feb 2005 03:45:08 +0000 (03:45 +0000)]
added GL_EXT_framebuffer_object enums/funcs.  Remove when glext.h is updated

19 years agoAdd new entrypoints for GL_EXT_framebuffer_object.
Brian Paul [Tue, 8 Feb 2005 03:44:24 +0000 (03:44 +0000)]
Add new entrypoints for GL_EXT_framebuffer_object.

19 years agoDefinitions for EXT_framebuffer_object. Just <include/> it in gl_API.xml
Ian Romanick [Tue, 8 Feb 2005 02:11:44 +0000 (02:11 +0000)]
Definitions for EXT_framebuffer_object.  Just <include/> it in gl_API.xml
when ready.

19 years agoAdd the ability to include other XML files by using a
Ian Romanick [Tue, 8 Feb 2005 02:11:14 +0000 (02:11 +0000)]
Add the ability to include other XML files by using a
<include name="file"/> element as a sub-element of <OpenGLAPI>.

19 years agocheckpoint latest work
Brian Paul [Tue, 8 Feb 2005 02:06:00 +0000 (02:06 +0000)]
checkpoint latest work

19 years agoadded missing prototype
Brian Paul [Tue, 8 Feb 2005 02:05:13 +0000 (02:05 +0000)]
added missing prototype

19 years agoindentation fix
Brian Paul [Tue, 8 Feb 2005 02:04:49 +0000 (02:04 +0000)]
indentation fix

19 years agoTo cut the long and boring story short, polygon offsets should now work. vb mode...
Aapo Tahkola [Tue, 8 Feb 2005 01:49:03 +0000 (01:49 +0000)]
To cut the long and boring story short, polygon offsets should now work. vb mode colorbuffer clears are still mysticly broken by offsets... Maybe we need to merge zbs and unk42B4 together?

19 years agoimproved warning message
Brian Paul [Mon, 7 Feb 2005 15:04:56 +0000 (15:04 +0000)]
improved warning message

19 years agoargb8888 optimizations from via branch
Keith Whitwell [Mon, 7 Feb 2005 13:20:17 +0000 (13:20 +0000)]
argb8888 optimizations from via branch

19 years agoMore texture enums (Andreas Stenglein)
Keith Whitwell [Mon, 7 Feb 2005 11:00:32 +0000 (11:00 +0000)]
More texture enums (Andreas Stenglein)

19 years agoGL_ARB_texture_rectangle enums (Andreas Stenglein)
Keith Whitwell [Mon, 7 Feb 2005 10:36:00 +0000 (10:36 +0000)]
GL_ARB_texture_rectangle enums (Andreas Stenglein)

19 years agoadditional work on GL_EXT_framebuffer_object
Brian Paul [Mon, 7 Feb 2005 05:08:24 +0000 (05:08 +0000)]
additional work on GL_EXT_framebuffer_object

19 years agoAdded PCI id (0x4152).
Jerome Glisse [Sun, 6 Feb 2005 12:37:23 +0000 (12:37 +0000)]
Added PCI id (0x4152).

19 years agoDisable vertex DMA on SuperSavages.
Felix Kuehling [Sat, 5 Feb 2005 22:10:14 +0000 (22:10 +0000)]
Disable vertex DMA on SuperSavages.

19 years ago- Fixed scissor rectangle not moving with the window (Xorg bug #1731).
Felix Kuehling [Sat, 5 Feb 2005 21:21:02 +0000 (21:21 +0000)]
- Fixed scissor rectangle not moving with the window (Xorg bug #1731).
- Flush buffered primitives before changing scissors.
- Require Savage DRM version 2.1.0, so that the broken single-cliprect
  code can finally rest in peace.
- Removed some more dead code.

19 years agoadded fbobject.c to sources
Brian Paul [Sat, 5 Feb 2005 20:00:15 +0000 (20:00 +0000)]
added fbobject.c to sources

19 years agoSome initial work on GL_EXT_framebuffer_object.
Brian Paul [Sat, 5 Feb 2005 19:56:45 +0000 (19:56 +0000)]
Some initial work on GL_EXT_framebuffer_object.

19 years agoAdded PCI id (0x4152).
Jerome Glisse [Sat, 5 Feb 2005 19:52:26 +0000 (19:52 +0000)]
Added PCI id (0x4152).

19 years agoRemove the Shared->TexObjectList pointer and Next field from gl_texture_object.
Brian Paul [Sat, 5 Feb 2005 18:12:59 +0000 (18:12 +0000)]
Remove the Shared->TexObjectList pointer and Next field from gl_texture_object.
Was only used by two drivers to walk over all texture objects.  Can do that
via the hash table instead.
Cleaned up some comments for struct gl_texture_object.

19 years agoadd a few comments
Brian Paul [Sat, 5 Feb 2005 18:11:05 +0000 (18:11 +0000)]
add a few comments

19 years agoModified hw state for big endian computers.
Jerome Glisse [Sat, 5 Feb 2005 18:01:21 +0000 (18:01 +0000)]
Modified hw state for big endian computers.

19 years agoremove dependency on Shared->TexObjectList
Brian Paul [Sat, 5 Feb 2005 17:43:33 +0000 (17:43 +0000)]
remove dependency on Shared->TexObjectList

19 years agoremove unneeded code
Brian Paul [Sat, 5 Feb 2005 17:38:13 +0000 (17:38 +0000)]
remove unneeded code

19 years agoremoved need for Shared->TexObjectList, walk over texture hash table entries instead
Brian Paul [Sat, 5 Feb 2005 17:37:00 +0000 (17:37 +0000)]
removed need for Shared->TexObjectList, walk over texture hash table entries instead

19 years agoFixed a typo in an assertion. (Don't understand how this ever compiled.)
Felix Kuehling [Sat, 5 Feb 2005 13:17:34 +0000 (13:17 +0000)]
Fixed a typo in an assertion. (Don't understand how this ever compiled.)
Found by Andreas Stenglein.