mesa.git
22 years agosimplify drawarrays paths
Keith Whitwell [Mon, 3 Dec 2001 17:41:58 +0000 (17:41 +0000)]
simplify drawarrays paths

22 years agoavoid side-effects in macro param
Keith Whitwell [Mon, 3 Dec 2001 17:39:12 +0000 (17:39 +0000)]
avoid side-effects in macro param

22 years agocorrectly reset input after dlist execution
Keith Whitwell [Mon, 3 Dec 2001 17:19:14 +0000 (17:19 +0000)]
correctly reset input after dlist execution

23 years agoCorrected bad line breaks in macro definitions within code compiled
Karl Schultz [Fri, 30 Nov 2001 22:11:45 +0000 (22:11 +0000)]
Corrected bad line breaks in macro definitions within code compiled
when BEOS_THREADS is defined.  This usually does not cause a problem when
BEOS_THREADS is not defined, but the bad line break in this case put
the "#name" text as the first non-white space in a line, causing the
IRIX C preprocessor to think that it was a preprocessor directive, and
that generated a distracting warning.  I also fixed a couple of other
line breaks that seemed wrong to me.

23 years agoAdd darwin target
Karl Schultz [Fri, 30 Nov 2001 19:41:19 +0000 (19:41 +0000)]
Add darwin target

23 years agomalloc() prototype is in stdlib.h for darwin
Karl Schultz [Fri, 30 Nov 2001 19:35:22 +0000 (19:35 +0000)]
malloc() prototype is in stdlib.h for darwin

23 years agoDon't reset _tnl_CurrentInput when in DestroyContext.
Alan Hourihane [Fri, 30 Nov 2001 15:43:53 +0000 (15:43 +0000)]
Don't reset _tnl_CurrentInput when in DestroyContext.

23 years agomain trunk is now 4.1
Karl Schultz [Thu, 29 Nov 2001 23:13:12 +0000 (23:13 +0000)]
main trunk is now 4.1

23 years agoupdate to version 4.0
Karl Schultz [Thu, 29 Nov 2001 22:54:33 +0000 (22:54 +0000)]
update to version 4.0

23 years agoUpdate notes on si-glu NURBS.
Karl Schultz [Thu, 29 Nov 2001 16:55:37 +0000 (16:55 +0000)]
Update notes on si-glu NURBS.

23 years agoFix compilation errors and warnings for NURBS support. (Robert Bergkvist)
Karl Schultz [Thu, 29 Nov 2001 16:16:55 +0000 (16:16 +0000)]
Fix compilation errors and warnings for NURBS support. (Robert Bergkvist)

23 years agouse smaller buffer when decomposing large drawarrays, for cache goodness
Keith Whitwell [Thu, 29 Nov 2001 15:15:20 +0000 (15:15 +0000)]
use smaller buffer when decomposing large drawarrays, for cache goodness

23 years agoupdated comment about CHAN_BITS
Brian Paul [Wed, 28 Nov 2001 17:18:36 +0000 (17:18 +0000)]
updated comment about CHAN_BITS

23 years agouse v2 color, not v0 in flat_ci_triangle()
Brian Paul [Wed, 28 Nov 2001 16:11:32 +0000 (16:11 +0000)]
use v2 color, not v0 in flat_ci_triangle()

23 years agouse glXGetProcAddressARB to avoid extension linkage problems
Brian Paul [Tue, 27 Nov 2001 02:55:58 +0000 (02:55 +0000)]
use glXGetProcAddressARB to avoid extension linkage problems

23 years agodon't directly call glSecondaryColor*EXT() or glFogCoord*EXT()
Brian Paul [Tue, 27 Nov 2001 00:05:35 +0000 (00:05 +0000)]
don't directly call glSecondaryColor*EXT() or glFogCoord*EXT()

23 years agodon't use near and far for parameter names
Brian Paul [Mon, 26 Nov 2001 23:41:24 +0000 (23:41 +0000)]
don't use near and far for parameter names

23 years agoavoid using near and far as variable names since they are reserved words
Karl Schultz [Mon, 26 Nov 2001 22:55:28 +0000 (22:55 +0000)]
avoid using near and far as variable names since they are reserved words
in the windows compiler.

23 years agofix some warnings
Brian Paul [Mon, 26 Nov 2001 17:21:46 +0000 (17:21 +0000)]
fix some warnings

23 years agoPossible fix for vtk tristrip bug
Keith Whitwell [Mon, 26 Nov 2001 12:56:07 +0000 (12:56 +0000)]
Possible fix for vtk tristrip bug

23 years agofix for bug 474479, remove Trace/* stuff
Brian Paul [Fri, 23 Nov 2001 20:44:12 +0000 (20:44 +0000)]
fix for bug 474479, remove Trace/* stuff

23 years agofixed bug 484142, missing backslash
Brian Paul [Fri, 23 Nov 2001 20:09:26 +0000 (20:09 +0000)]
fixed bug 484142, missing backslash

23 years agoAnother locked drawarrys fix
Keith Whitwell [Thu, 22 Nov 2001 09:23:36 +0000 (09:23 +0000)]
Another locked drawarrys fix

23 years agominor update
Brian Paul [Wed, 21 Nov 2001 17:21:41 +0000 (17:21 +0000)]
minor update

23 years ago3dnow normalize_normals broken, disable
Keith Whitwell [Mon, 19 Nov 2001 13:52:41 +0000 (13:52 +0000)]
3dnow normalize_normals broken, disable

23 years agopossible fix for cva ignore start index bug
Keith Whitwell [Mon, 19 Nov 2001 10:22:41 +0000 (10:22 +0000)]
possible fix for cva ignore start index bug

23 years agoMore span rendering optimizations from Klaus Niederkrueger
Brian Paul [Mon, 19 Nov 2001 01:18:28 +0000 (01:18 +0000)]
More span rendering optimizations from Klaus Niederkrueger

23 years agoadded test implementation of GL_ARB_window_pos
Brian Paul [Mon, 19 Nov 2001 00:41:32 +0000 (00:41 +0000)]
added test implementation of GL_ARB_window_pos

23 years agofixed a glitch
Brian Paul [Mon, 19 Nov 2001 00:40:33 +0000 (00:40 +0000)]
fixed a glitch

23 years agoadded test implementation of GL_ARB_window_pos
Brian Paul [Mon, 19 Nov 2001 00:13:45 +0000 (00:13 +0000)]
added test implementation of GL_ARB_window_pos

23 years agoadded test implementation of GL_ARB_window_pos
Brian Paul [Sun, 18 Nov 2001 23:52:37 +0000 (23:52 +0000)]
added test implementation of GL_ARB_window_pos

23 years agotest for glXGetProcAddress()
Brian Paul [Sun, 18 Nov 2001 23:16:56 +0000 (23:16 +0000)]
test for glXGetProcAddress()

23 years agoremove -DMESA_TRACE from linux-debug config
Brian Paul [Sun, 18 Nov 2001 23:11:45 +0000 (23:11 +0000)]
remove -DMESA_TRACE from linux-debug config

23 years agoremove Glide and SVGA support from mesa-debug config
Brian Paul [Sun, 18 Nov 2001 23:03:53 +0000 (23:03 +0000)]
remove Glide and SVGA support from mesa-debug config

23 years agoincluded by glapi.c
Brian Paul [Sun, 18 Nov 2001 22:52:22 +0000 (22:52 +0000)]
included by glapi.c

23 years agoAPI dispath updates
Brian Paul [Sun, 18 Nov 2001 22:48:11 +0000 (22:48 +0000)]
API dispath updates

23 years agonew, simpler API specification file
Brian Paul [Sun, 18 Nov 2001 22:43:16 +0000 (22:43 +0000)]
new, simpler API specification file

23 years agonew Python API generator scripts
Brian Paul [Sun, 18 Nov 2001 22:42:57 +0000 (22:42 +0000)]
new Python API generator scripts

23 years agoadded missing const to glXGetContextIDEXT() prototype
Brian Paul [Sun, 18 Nov 2001 22:16:07 +0000 (22:16 +0000)]
added missing const to glXGetContextIDEXT() prototype

23 years agoimproved AA subpixel sample positions (Ray Tice)
Brian Paul [Tue, 13 Nov 2001 00:26:39 +0000 (00:26 +0000)]
improved AA subpixel sample positions (Ray Tice)

23 years agoBeOS thread support (Philippe Houdoin)
Brian Paul [Mon, 12 Nov 2001 23:50:12 +0000 (23:50 +0000)]
BeOS thread support (Philippe Houdoin)

23 years agofix typedef problem found with MSDev 6.0
Brian Paul [Fri, 9 Nov 2001 22:04:24 +0000 (22:04 +0000)]
fix typedef problem found with MSDev 6.0

23 years agoadded GLX 1.4 function manglers
Brian Paul [Fri, 9 Nov 2001 22:01:02 +0000 (22:01 +0000)]
added GLX 1.4 function manglers

23 years agoadded 1.3 function manglers
Brian Paul [Fri, 9 Nov 2001 22:00:53 +0000 (22:00 +0000)]
added 1.3 function manglers

23 years agodefine GL_VERSION_1_3 (doh!)
Brian Paul [Fri, 9 Nov 2001 21:54:30 +0000 (21:54 +0000)]
define GL_VERSION_1_3 (doh!)

23 years agocasts to silence warnings from gcc 2.96
Brian Paul [Tue, 6 Nov 2001 16:01:19 +0000 (16:01 +0000)]
casts to silence warnings from gcc 2.96

23 years agoadded missing GL_MAX_TEXTURE_LOD_BIAS_EXT query
Brian Paul [Tue, 6 Nov 2001 15:53:00 +0000 (15:53 +0000)]
added missing GL_MAX_TEXTURE_LOD_BIAS_EXT query

23 years agofix error in error checking conditional (bug 476846)
Brian Paul [Sat, 3 Nov 2001 04:11:26 +0000 (04:11 +0000)]
fix error in error checking conditional (bug 476846)

23 years agoinit the hash table mutex in _mesa_NewHashTable (Won-Suk Chun)
Brian Paul [Fri, 2 Nov 2001 00:57:04 +0000 (00:57 +0000)]
init the hash table mutex in _mesa_NewHashTable (Won-Suk Chun)

23 years agoUpdates for improved DirectDraw support (Daniel Slater)
Karl Schultz [Thu, 1 Nov 2001 22:44:47 +0000 (22:44 +0000)]
Updates for improved DirectDraw support (Daniel Slater)

23 years agoadded some (void *) casts to silence gcc 2.96 warnings
Brian Paul [Thu, 1 Nov 2001 00:39:24 +0000 (00:39 +0000)]
added some (void *) casts to silence gcc 2.96 warnings

23 years agoChange name of glut lib from glut32 to MesaGlut.
Karl Schultz [Fri, 26 Oct 2001 21:21:11 +0000 (21:21 +0000)]
Change name of glut lib from glut32 to MesaGlut.
This helps avoid confusion with other gluts on the system that may be
lined with OpenGl32.dll and Glu32.dll.

23 years agoCopy the readtex.[ch] files from ../util
Karl Schultz [Fri, 26 Oct 2001 21:01:45 +0000 (21:01 +0000)]
Copy the readtex.[ch] files from ../util

23 years agoadded a bunch of missing breaks for multisample gets
Brian Paul [Thu, 25 Oct 2001 23:21:28 +0000 (23:21 +0000)]
added a bunch of missing breaks for multisample gets

23 years agotemplate for 4.1 release notes
Brian Paul [Mon, 22 Oct 2001 22:57:23 +0000 (22:57 +0000)]
template for 4.1 release notes

23 years agoversion bumps, etc for 4.1
Brian Paul [Mon, 22 Oct 2001 22:45:18 +0000 (22:45 +0000)]
version bumps, etc for 4.1

23 years agoadded latest bug fixes
Brian Paul [Mon, 22 Oct 2001 16:04:46 +0000 (16:04 +0000)]
added latest bug fixes

23 years agoapplied Andrew Lewycky's patches
Brian Paul [Mon, 22 Oct 2001 01:21:16 +0000 (01:21 +0000)]
applied Andrew Lewycky's patches

23 years agoforgotten diffuse alpha fix
Keith Whitwell [Sat, 20 Oct 2001 00:13:45 +0000 (00:13 +0000)]
forgotten diffuse alpha fix

23 years ago Committing in .
Jouk Jansen [Thu, 18 Oct 2001 08:04:57 +0000 (08:04 +0000)]
 Committing in .

 Modified Files:
  Mesa/src/context.c

 Initializing ctx->Driver.CurrentExecPrimitive to 0, just after the allocation
 of the context. I hope this solved a very rare crash of the molecule mode
 of xlockmore on my VMS-machine. (I have not seen any crash the last week.
 Normally it crashed at least once in the 3 days)

----------------------------------------------------------------------

23 years agoadded a few comments
Brian Paul [Wed, 17 Oct 2001 23:03:56 +0000 (23:03 +0000)]
added a few comments

23 years agowarning fixes (Karl Schultz)
Brian Paul [Wed, 17 Oct 2001 23:03:34 +0000 (23:03 +0000)]
warning fixes (Karl Schultz)

23 years agoadded some missing Win32 files to tar file list
Brian Paul [Wed, 17 Oct 2001 20:44:26 +0000 (20:44 +0000)]
added some missing Win32 files to tar file list

23 years agominor updates
Brian Paul [Wed, 17 Oct 2001 14:59:21 +0000 (14:59 +0000)]
minor updates

23 years agoremoved src/mms_depend from tar file list
Brian Paul [Wed, 17 Oct 2001 14:57:16 +0000 (14:57 +0000)]
removed src/mms_depend from tar file list

23 years agoadded new entrypoints for 1.3
Brian Paul [Wed, 17 Oct 2001 14:33:05 +0000 (14:33 +0000)]
added new entrypoints for 1.3

23 years agoupdated for new glext.h
Brian Paul [Wed, 17 Oct 2001 13:34:08 +0000 (13:34 +0000)]
updated for new glext.h

23 years agoadded GL_ARB_texture_mirrored_repeat
Brian Paul [Wed, 17 Oct 2001 13:31:07 +0000 (13:31 +0000)]
added GL_ARB_texture_mirrored_repeat

23 years agominor updates for new glext.h
Brian Paul [Wed, 17 Oct 2001 13:29:02 +0000 (13:29 +0000)]
minor updates for new glext.h

23 years agoupdated extensions
Brian Paul [Wed, 17 Oct 2001 13:28:14 +0000 (13:28 +0000)]
updated extensions

23 years agoUpdated for Mesa 4.0
Karl Schultz [Mon, 15 Oct 2001 20:38:12 +0000 (20:38 +0000)]
Updated for Mesa 4.0

23 years agoFix comments.
Karl Schultz [Mon, 15 Oct 2001 17:28:53 +0000 (17:28 +0000)]
Fix comments.

23 years agoFix the clear() function
Karl Schultz [Fri, 5 Oct 2001 15:47:28 +0000 (15:47 +0000)]
Fix the clear() function
- add checks for the ColorMask and IndexMask (like osmesa)
- correctly handle the DD_*_BIT flags so that we don't also ask the
  swrast to clear the color buffer after we cleared it ourselves. (doh!)
  This gives nearly a 2X improvement in the frame rate in a program like
  gears.

23 years agoAllow to compile in Windows.
Karl Schultz [Thu, 4 Oct 2001 19:14:26 +0000 (19:14 +0000)]
Allow to compile in Windows.

23 years agoBuild a few demos that now work with Windows.
Karl Schultz [Thu, 4 Oct 2001 19:13:36 +0000 (19:13 +0000)]
Build a few demos that now work with Windows.

23 years agoNeed to define MESA_DEBUG in debug builds. Otherwise, NDEBUG gets
Karl Schultz [Thu, 4 Oct 2001 19:06:31 +0000 (19:06 +0000)]
Need to define MESA_DEBUG in debug builds.  Otherwise, NDEBUG gets
defined, which is bad for things like assert().

23 years agoUpdated Windows driver for Mesa 4.0.
Karl Schultz [Thu, 4 Oct 2001 19:04:56 +0000 (19:04 +0000)]
Updated Windows driver for Mesa 4.0.
Needs optimization.

23 years agoremove extra CR chars
Karl Schultz [Thu, 4 Oct 2001 19:03:11 +0000 (19:03 +0000)]
remove extra CR chars

23 years agouse correct vertex for flatshading
Keith Whitwell [Tue, 25 Sep 2001 17:38:11 +0000 (17:38 +0000)]
use correct vertex for flatshading

23 years agoFix up Windows makefiles so that the debug build leaves debugger info
Karl Schultz [Tue, 25 Sep 2001 16:25:41 +0000 (16:25 +0000)]
Fix up Windows makefiles so that the debug build leaves debugger info
in the libraries.  Make with NODEBUG=1 builds optimized without debug
info (doc'ed in top level Makefile.win).

23 years agodisable some more code so that it compiles quietly on Windows.
Karl Schultz [Tue, 25 Sep 2001 16:22:40 +0000 (16:22 +0000)]
disable some more code so that it compiles quietly on Windows.

23 years agoreplaced x86_xform_raw4.S with x86_xform4.S
Brian Paul [Mon, 24 Sep 2001 19:18:03 +0000 (19:18 +0000)]
replaced x86_xform_raw4.S with x86_xform4.S

23 years agouse OSMESA_* enums for OSMesaCreateContext instead of GL_*.
Karl Schultz [Mon, 24 Sep 2001 15:29:27 +0000 (15:29 +0000)]
use OSMESA_* enums for OSMesaCreateContext instead of GL_*.

23 years agoremoved duplicate GLX_AUX_BUFFERS_BIT definition
Brian Paul [Mon, 24 Sep 2001 14:15:58 +0000 (14:15 +0000)]
removed duplicate GLX_AUX_BUFFERS_BIT definition

23 years ago Committing in .
Jouk Jansen [Mon, 24 Sep 2001 09:40:40 +0000 (09:40 +0000)]
 Committing in .

 Modified Files:
  Mesa/si-glu/libutil/glue.c

 added some type casts to silence compiler warnings.

----------------------------------------------------------------------

23 years ago[rgba]shift values weren't always correct, only effected blended lines
Brian Paul [Sun, 23 Sep 2001 21:17:03 +0000 (21:17 +0000)]
[rgba]shift values weren't always correct, only effected blended lines

23 years agoadded missing tnl_dd files
Brian Paul [Sun, 23 Sep 2001 18:32:51 +0000 (18:32 +0000)]
added missing tnl_dd files

23 years ago4.0 updates
Brian Paul [Sun, 23 Sep 2001 18:19:30 +0000 (18:19 +0000)]
4.0 updates

23 years agoupdated version info
Brian Paul [Sun, 23 Sep 2001 16:53:28 +0000 (16:53 +0000)]
updated version info

23 years agofixed some configure;make build problems. cleaned-up copyright info.
Brian Paul [Sun, 23 Sep 2001 16:50:01 +0000 (16:50 +0000)]
fixed some configure;make build problems.  cleaned-up copyright info.

23 years agoupdates for Mesa 4.0
Brian Paul [Sun, 23 Sep 2001 16:10:02 +0000 (16:10 +0000)]
updates for Mesa 4.0

23 years agobump versions to 4.0
Brian Paul [Sun, 23 Sep 2001 16:06:13 +0000 (16:06 +0000)]
bump versions to 4.0

23 years agoMore of the same
Keith Whitwell [Sun, 23 Sep 2001 15:19:16 +0000 (15:19 +0000)]
More of the same

23 years agoMake osmesa a DLL instead of a static lib (Windows). This is more
Karl Schultz [Fri, 21 Sep 2001 21:32:14 +0000 (21:32 +0000)]
Make osmesa a DLL instead of a static lib (Windows).  This is more
consistent with the other modules and platforms.  It also makes the
API and linkage on Windows more consistent.

23 years agoAdd GLAPIENTRY to typedef for callback functions (used by tessellator).
Karl Schultz [Fri, 21 Sep 2001 20:39:03 +0000 (20:39 +0000)]
Add GLAPIENTRY to typedef for callback functions (used by tessellator).
This is important now that we're using __stdcall instead of the (default)
__cdecl on WIN32.  This gets apps using the tessellator working again
on Windows.

23 years agoadded __glCoreCreateContext and __glCoreNopDispatch
Brian Paul [Fri, 21 Sep 2001 17:23:30 +0000 (17:23 +0000)]
added __glCoreCreateContext and __glCoreNopDispatch

23 years agoadd the same conditional mangling stuff that gl.h has.
Karl Schultz [Thu, 20 Sep 2001 22:19:41 +0000 (22:19 +0000)]
add the same conditional mangling stuff that gl.h has.

23 years agoadd mangling for new entry points
Karl Schultz [Thu, 20 Sep 2001 22:18:47 +0000 (22:18 +0000)]
add mangling for new entry points

23 years agoDon't use "errno" as a parameter name - it is also a function and that
Karl Schultz [Thu, 20 Sep 2001 21:50:53 +0000 (21:50 +0000)]
Don't use "errno" as a parameter name - it is also a function and that
confused the Windows compiler.  Also make messages unsigned char for
consistency.

23 years agocompiler warnings
Karl Schultz [Thu, 20 Sep 2001 21:47:52 +0000 (21:47 +0000)]
compiler warnings