mesa.git
22 years agoadded GLX context share bug fix
Brian Paul [Tue, 7 Aug 2001 16:02:48 +0000 (16:02 +0000)]
added GLX context share bug fix

22 years agofixed GLX context sharing bug (reported by Eric Plante)
Brian Paul [Tue, 7 Aug 2001 16:01:34 +0000 (16:01 +0000)]
fixed GLX context sharing bug (reported by Eric Plante)

22 years agoUse #function instead of @function
davem69 [Fri, 3 Aug 2001 13:16:31 +0000 (13:16 +0000)]
Use #function instead of @function
in .type directive so it works with Solaris
assembler as well as GNU assembler.

22 years agoFix VERT_RGBA special case.
Keith Whitwell [Fri, 3 Aug 2001 00:16:36 +0000 (00:16 +0000)]
Fix VERT_RGBA special case.

22 years agoFix SGL testLights.exe bugs (interaction of copying and fixup in display lists)
Keith Whitwell [Thu, 2 Aug 2001 22:39:51 +0000 (22:39 +0000)]
Fix SGL testLights.exe bugs (interaction of copying and fixup in display lists)

22 years agoFix SGL testGeoSets.exe polygon mode problem (wrong interpretation of
Keith Whitwell [Thu, 2 Aug 2001 21:30:10 +0000 (21:30 +0000)]
Fix SGL testGeoSets.exe polygon mode problem (wrong interpretation of
count parameter in DrawArrays)

22 years agoFix SGL monoindexed bug (glDrawRangeElements in dlist)
Keith Whitwell [Thu, 2 Aug 2001 19:58:07 +0000 (19:58 +0000)]
Fix SGL monoindexed bug (glDrawRangeElements in dlist)

22 years agoFix copying problem (light spots) on evaluated surfaces.
Keith Whitwell [Wed, 1 Aug 2001 05:10:42 +0000 (05:10 +0000)]
Fix copying problem (light spots) on evaluated surfaces.

22 years agoFix core in fixup_normal_lengths
Keith Whitwell [Sat, 28 Jul 2001 21:04:21 +0000 (21:04 +0000)]
Fix core in fixup_normal_lengths

22 years agoRemove _BaseAlpha, fix reflect lighting bug.
Keith Whitwell [Sat, 28 Jul 2001 19:28:49 +0000 (19:28 +0000)]
Remove _BaseAlpha, fix reflect lighting bug.

22 years agomore GLAPIENTRY fixes (Karl Schultz)
Brian Paul [Fri, 27 Jul 2001 19:09:58 +0000 (19:09 +0000)]
more GLAPIENTRY fixes (Karl Schultz)

22 years agoadded latest 3.5.1 bug fixes
Brian Paul [Fri, 27 Jul 2001 14:49:08 +0000 (14:49 +0000)]
added latest 3.5.1 bug fixes

22 years agoundo previous check-in (restore the @ symbols)
Brian Paul [Fri, 27 Jul 2001 14:38:17 +0000 (14:38 +0000)]
undo previous check-in (restore the @ symbols)

22 years agocheck if deleting _Current texobj in _mesa_DeleteTextures (Bart Barenbrug)
Brian Paul [Fri, 27 Jul 2001 14:30:50 +0000 (14:30 +0000)]
check if deleting _Current texobj in _mesa_DeleteTextures (Bart Barenbrug)

22 years agoadded four missing GLX 1.3 tokens
Brian Paul [Fri, 27 Jul 2001 14:26:27 +0000 (14:26 +0000)]
added four missing GLX 1.3 tokens

22 years agoreplaced @ with ## or # to allow compilation on SunOS 5.6 (Bug 442742)
Brian Paul [Fri, 27 Jul 2001 14:06:35 +0000 (14:06 +0000)]
replaced @ with ## or # to allow compilation on SunOS 5.6 (Bug 442742)

22 years agowglUseFontBitmapsA() update (Frank Warmerdam)
Brian Paul [Fri, 27 Jul 2001 14:03:55 +0000 (14:03 +0000)]
wglUseFontBitmapsA() update (Frank Warmerdam)

22 years agofixes for proxy cube map texture images
Brian Paul [Thu, 26 Jul 2001 20:02:10 +0000 (20:02 +0000)]
fixes for proxy cube map texture images

22 years agouse GLAPIENTRY when declaring a couple function pointers (Gerk Huisma)
Brian Paul [Thu, 26 Jul 2001 16:04:10 +0000 (16:04 +0000)]
use GLAPIENTRY when declaring a couple function pointers (Gerk Huisma)

22 years agoApplied Klaus Niederkrueger's latest flat-shading clean-ups and some of my own.
Brian Paul [Thu, 26 Jul 2001 15:57:49 +0000 (15:57 +0000)]
Applied Klaus Niederkrueger's latest flat-shading clean-ups and some of my own.

22 years agoGLchan and GL_ADD clamping changes (Klaus Niederkrueger)
Brian Paul [Mon, 23 Jul 2001 16:47:53 +0000 (16:47 +0000)]
GLchan and GL_ADD clamping changes (Klaus Niederkrueger)

22 years agodon't make default teximage if glTexImage's pixels=NULL (Gerk Huisma)
Brian Paul [Mon, 23 Jul 2001 16:18:18 +0000 (16:18 +0000)]
don't make default teximage if glTexImage's pixels=NULL (Gerk Huisma)

22 years agorename ERROR macro to TE_ERROR (Gerk Huisma)
Brian Paul [Mon, 23 Jul 2001 16:10:03 +0000 (16:10 +0000)]
rename ERROR macro to TE_ERROR (Gerk Huisma)

22 years agofix some Win32 warnings (Gerk Huisma)
Brian Paul [Mon, 23 Jul 2001 16:08:59 +0000 (16:08 +0000)]
fix some Win32 warnings (Gerk Huisma)

22 years agodon't clamp colors if GLchan==GLfloat in add_colors()
Brian Paul [Mon, 23 Jul 2001 16:08:19 +0000 (16:08 +0000)]
don't clamp colors if GLchan==GLfloat in add_colors()

22 years agoGLubyte -> GLchan change
Brian Paul [Mon, 23 Jul 2001 16:07:39 +0000 (16:07 +0000)]
GLubyte -> GLchan change

22 years agocheck for pixels=NULL in _mesa_store_teximage[123]d()
Brian Paul [Mon, 23 Jul 2001 16:07:12 +0000 (16:07 +0000)]
check for pixels=NULL in _mesa_store_teximage[123]d()

22 years agoadded vms_x_fix.h to tar file list
Brian Paul [Mon, 23 Jul 2001 15:09:52 +0000 (15:09 +0000)]
added vms_x_fix.h to tar file list

22 years ago Committing in .
Jouk Jansen [Fri, 20 Jul 2001 11:20:32 +0000 (11:20 +0000)]
 Committing in .

 Modified Files:
  Mesa/si-glu/libtess/memalloc.h

 malloc.h is non-standard on OpenVMS. If it is present it only includes
 stdlib.h. therefore for VMS malloc.h is replaced by stdlib.h.
----------------------------------------------------------------------

22 years agoGLchan changes
Brian Paul [Thu, 19 Jul 2001 16:12:03 +0000 (16:12 +0000)]
GLchan changes

22 years agoAdded Win32 memory debugging and fixed a few memory leaks (Gerk Huisma)
Brian Paul [Thu, 19 Jul 2001 15:54:34 +0000 (15:54 +0000)]
Added Win32 memory debugging and fixed a few memory leaks (Gerk Huisma)

22 years agodo some 16-bit GLchan computations in floating point (Gerk Huisma)
Brian Paul [Wed, 18 Jul 2001 14:10:51 +0000 (14:10 +0000)]
do some 16-bit GLchan computations in floating point (Gerk Huisma)

22 years ago Committing in .
Jouk Jansen [Wed, 18 Jul 2001 11:17:35 +0000 (11:17 +0000)]
 Committing in .

 Modified Files:
  Mesa/si-glu/libnurbs/interface/glcurveval.cc

 Corrected declaration of putCallBack

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

22 years agoFix Alan Barnett's 'try10' display list bug.
Keith Whitwell [Tue, 17 Jul 2001 21:44:37 +0000 (21:44 +0000)]
Fix Alan Barnett's 'try10' display list bug.

22 years agoLighting now emits colors as CHAN_TYPE, as it used to. This will require
Keith Whitwell [Tue, 17 Jul 2001 19:39:32 +0000 (19:39 +0000)]
Lighting now emits colors as CHAN_TYPE, as it used to.  This will require
minor adjustments in the dri drivers for twosided lighting to work again.

22 years agoinclude glu.h
Brian Paul [Tue, 17 Jul 2001 15:39:13 +0000 (15:39 +0000)]
include glu.h

22 years agodisable MMX blend code until it gets fixed
Brian Paul [Mon, 16 Jul 2001 20:45:55 +0000 (20:45 +0000)]
disable MMX blend code until it gets fixed

22 years agoVarious 16-bit GLchan fixes and Win32 fixes (Gerk Huisma)
Brian Paul [Mon, 16 Jul 2001 15:54:23 +0000 (15:54 +0000)]
Various 16-bit GLchan fixes and Win32 fixes (Gerk Huisma)

22 years agoassorted fixes for Win32 (Gerk Huisma)
Brian Paul [Mon, 16 Jul 2001 15:46:42 +0000 (15:46 +0000)]
assorted fixes for Win32 (Gerk Huisma)

22 years agomore work on float colors (still not finished)
Brian Paul [Sat, 14 Jul 2001 17:53:04 +0000 (17:53 +0000)]
more work on float colors (still not finished)

22 years agoadded latest 3.5.1 bug fixes
Brian Paul [Sat, 14 Jul 2001 16:30:56 +0000 (16:30 +0000)]
added latest 3.5.1 bug fixes

22 years agoremoved unused tiny triangle test code
Brian Paul [Sat, 14 Jul 2001 16:05:44 +0000 (16:05 +0000)]
removed unused tiny triangle test code

22 years agoundo previous check-in (unfinished code)
Brian Paul [Fri, 13 Jul 2001 20:12:44 +0000 (20:12 +0000)]
undo previous check-in (unfinished code)

22 years agominor tweaks
Brian Paul [Fri, 13 Jul 2001 20:09:18 +0000 (20:09 +0000)]
minor tweaks

22 years agoadded linux-osmesa32 config
Brian Paul [Fri, 13 Jul 2001 20:08:42 +0000 (20:08 +0000)]
added linux-osmesa32 config

22 years agoassorted changes for supporting GLfloat color channels (not done)
Brian Paul [Fri, 13 Jul 2001 20:07:37 +0000 (20:07 +0000)]
assorted changes for supporting GLfloat color channels (not done)

22 years agoreplaced __inline with INLINE
Brian Paul [Fri, 13 Jul 2001 17:26:39 +0000 (17:26 +0000)]
replaced __inline with INLINE

22 years agosilence an uninitialized var warning
Brian Paul [Fri, 13 Jul 2001 16:39:19 +0000 (16:39 +0000)]
silence an uninitialized var warning

22 years agosilence a warning
Brian Paul [Fri, 13 Jul 2001 16:38:44 +0000 (16:38 +0000)]
silence a warning

22 years agoreplace _NEW_PIXEL with _IMAGE_NEW_TRANSFER_STATE to catch color matrix changes
Brian Paul [Fri, 13 Jul 2001 15:44:21 +0000 (15:44 +0000)]
replace _NEW_PIXEL with _IMAGE_NEW_TRANSFER_STATE to catch color matrix changes

22 years agofixed two bad casts (Stephane Conversy)
Brian Paul [Fri, 13 Jul 2001 15:24:34 +0000 (15:24 +0000)]
fixed two bad casts (Stephane Conversy)

22 years ago Committing in .
Jouk Jansen [Fri, 13 Jul 2001 11:28:07 +0000 (11:28 +0000)]
 Committing in .

 Modified Files:
  Mesa/src/descrip.mms Mesa/src/FX/fxtris.c Mesa/src/FX/fxvb.c

 -updated OpenVMS makefile
 -fixed compilation if FX is NOT defined.
----------------------------------------------------------------------

22 years agoRename some of the tnl->Driver.* functions to tnl->Driver.Render.*, to make it
Keith Whitwell [Thu, 12 Jul 2001 22:09:21 +0000 (22:09 +0000)]
Rename some of the tnl->Driver.* functions to tnl->Driver.Render.*, to make it
clear that these are owned by t_vb_render.c.

Make swrast_setup opaque - it now hooks itself directly into
tnl->Driver.Render.*.  Add a _swsetup_Wakeup() call that does this.

Update X11 (tested), osmesa and FX drivers for this change.

FX compiles but is probably broken as the changes there are large.  It was the
only remaining driver that used the internal _swsetup_ functions for
interp and copy_pv.  This usage has been replaced with code from the DRI
tdfx driver.

22 years agofixed flat shading bug in affine_ and persp_textured_triangle() functions
Brian Paul [Mon, 9 Jul 2001 16:24:30 +0000 (16:24 +0000)]
fixed flat shading bug in affine_ and persp_textured_triangle() functions

22 years agoadded missing \'s
Brian Paul [Mon, 9 Jul 2001 16:16:20 +0000 (16:16 +0000)]
added missing \'s

22 years agofixed segfault (NULL _ShineTable[0]) in shade_rastpos()
Brian Paul [Thu, 5 Jul 2001 15:31:21 +0000 (15:31 +0000)]
fixed segfault (NULL _ShineTable[0]) in shade_rastpos()

22 years agofixed logic error in OSMesaMakeCurrent() for 565 pixel support (Lars Andersson)
Brian Paul [Thu, 5 Jul 2001 15:12:13 +0000 (15:12 +0000)]
fixed logic error in OSMesaMakeCurrent() for 565 pixel support (Lars Andersson)

22 years agoMore .cvsignore updates.
pesco [Mon, 2 Jul 2001 11:41:02 +0000 (11:41 +0000)]
More .cvsignore updates.

22 years agorestore normal length optimization in dlists
Keith Whitwell [Thu, 28 Jun 2001 17:34:14 +0000 (17:34 +0000)]
restore normal length optimization in dlists

22 years agosupport for RGB_565 pixels (Lars Andersson), untested
Brian Paul [Wed, 27 Jun 2001 13:56:17 +0000 (13:56 +0000)]
support for RGB_565 pixels (Lars Andersson), untested

22 years agoAdd -f to rm in make clean to avoid error messages
Keith Whitwell [Wed, 27 Jun 2001 12:52:12 +0000 (12:52 +0000)]
Add -f to rm in make clean to avoid error messages

22 years agoMore raster fog coord fixes.
Brian Paul [Tue, 26 Jun 2001 21:15:35 +0000 (21:15 +0000)]
More raster fog coord fixes.
New truncate vs. floor comments in drawpixels.c
Added current raster secondary color state, not used yet.

22 years agooptimized texture triangle updates (Klaus Niederkrueger)
Brian Paul [Tue, 26 Jun 2001 15:33:28 +0000 (15:33 +0000)]
optimized texture triangle updates (Klaus Niederkrueger)

22 years agoadded initial 3.5.1 info
Brian Paul [Tue, 26 Jun 2001 01:33:15 +0000 (01:33 +0000)]
added initial 3.5.1 info

22 years agoadded GL_IBM_rasterpos_clip extension
Brian Paul [Tue, 26 Jun 2001 01:32:48 +0000 (01:32 +0000)]
added GL_IBM_rasterpos_clip extension

22 years agoadded missing GLX_PBUFFER_WIDTH/HEIGHT tokens
Brian Paul [Mon, 25 Jun 2001 15:29:11 +0000 (15:29 +0000)]
added missing GLX_PBUFFER_WIDTH/HEIGHT tokens

22 years ago Modified Files:
Jouk Jansen [Thu, 21 Jun 2001 12:19:43 +0000 (12:19 +0000)]
 Modified Files:
  Mesa/src/descrip.mms

 Removed obsolete .obj files.

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

22 years agobumped version numbers
Brian Paul [Wed, 20 Jun 2001 19:52:11 +0000 (19:52 +0000)]
bumped version numbers

22 years agoalso print GL_MAX_TEXTURE_SIZE
Brian Paul [Wed, 20 Jun 2001 19:12:30 +0000 (19:12 +0000)]
also print GL_MAX_TEXTURE_SIZE

22 years agoupdates for the 3.5 release
Brian Paul [Wed, 20 Jun 2001 19:02:48 +0000 (19:02 +0000)]
updates for the 3.5 release

22 years agoremoved beta from version string
Brian Paul [Wed, 20 Jun 2001 18:54:43 +0000 (18:54 +0000)]
removed beta from version string

22 years agoadded a few missing si-glu files
Brian Paul [Tue, 19 Jun 2001 21:49:06 +0000 (21:49 +0000)]
added a few missing si-glu files

22 years agoadd m4/ directory to tar file list
Brian Paul [Tue, 19 Jun 2001 19:51:23 +0000 (19:51 +0000)]
add m4/ directory to tar file list

22 years agomore updates to tar file lists for 3.5
Brian Paul [Tue, 19 Jun 2001 18:06:41 +0000 (18:06 +0000)]
more updates to tar file lists for 3.5

22 years agofix glDraw/CopyPixels w/ fog bug. minor fog code clean-ups.
Brian Paul [Mon, 18 Jun 2001 23:55:18 +0000 (23:55 +0000)]
fix glDraw/CopyPixels w/ fog bug.  minor fog code clean-ups.

22 years agotar file list updates for 3.5
Brian Paul [Mon, 18 Jun 2001 23:39:38 +0000 (23:39 +0000)]
tar file list updates for 3.5

22 years agoreplaced -g with -O3 under linux-x86
Brian Paul [Mon, 18 Jun 2001 22:45:16 +0000 (22:45 +0000)]
replaced -g with -O3 under linux-x86

22 years agoConsolidated source files. Since the re-org a number of source files
Brian Paul [Mon, 18 Jun 2001 17:26:08 +0000 (17:26 +0000)]
Consolidated source files.  Since the re-org a number of source files
only had one or two functions left in them.

22 years agoAdded fi_type union typedef to glheader.h.
Brian Paul [Fri, 15 Jun 2001 15:22:07 +0000 (15:22 +0000)]
Added fi_type union typedef to glheader.h.
Replace various float/int casts with the fi_type union cast.
Fixes -fstrict-aliasing problems.

22 years agoEnable GL_ARB_texture_compression for XMesa/GLX driver. Texture
Brian Paul [Fri, 15 Jun 2001 14:18:46 +0000 (14:18 +0000)]
Enable GL_ARB_texture_compression for XMesa/GLX driver.  Texture
compression isn't really implmented.  Just updated glTexImageXD()
to accept compressed internal format tokens.

22 years agoreplace 255 with CHAN_MAX
Brian Paul [Fri, 15 Jun 2001 13:41:12 +0000 (13:41 +0000)]
replace 255 with CHAN_MAX

22 years agodefine both GL_ALL_CLIENT_ATTRIB_BITS and GL_CLIENT_ALL_ATTRIB_BITS (spec and SI...
Brian Paul [Thu, 14 Jun 2001 21:37:43 +0000 (21:37 +0000)]
define both GL_ALL_CLIENT_ATTRIB_BITS and GL_CLIENT_ALL_ATTRIB_BITS (spec and SI don't agree)

22 years agofixed a comment
Brian Paul [Thu, 14 Jun 2001 18:30:14 +0000 (18:30 +0000)]
fixed a comment

22 years agodisabled an assertion that doesn't seem to be needed
Brian Paul [Wed, 13 Jun 2001 14:57:55 +0000 (14:57 +0000)]
disabled an assertion that doesn't seem to be needed

22 years agoAllow different max texture sizes for 1/2D, 3D and cube maps.
Brian Paul [Wed, 13 Jun 2001 14:56:14 +0000 (14:56 +0000)]
Allow different max texture sizes for 1/2D, 3D and cube maps.

22 years agofixed an assertion
Brian Paul [Wed, 13 Jun 2001 14:55:25 +0000 (14:55 +0000)]
fixed an assertion

22 years agofixed a +/- typo in the Y coord setup
Brian Paul [Wed, 13 Jun 2001 14:53:52 +0000 (14:53 +0000)]
fixed a +/- typo in the Y coord setup

22 years agomoved glTexEnvi calls to better logical locations
Brian Paul [Wed, 13 Jun 2001 14:33:16 +0000 (14:33 +0000)]
moved glTexEnvi calls to better logical locations

22 years agoremoved old, redundant CurrentTransformUnit state var
Brian Paul [Tue, 12 Jun 2001 22:08:41 +0000 (22:08 +0000)]
removed old, redundant CurrentTransformUnit state var

22 years agoalways feedback unit 0 texcoords
Brian Paul [Tue, 12 Jun 2001 22:06:53 +0000 (22:06 +0000)]
always feedback unit 0 texcoords

22 years agodon't compile glClientActiveTextureARB() into display lists, per the spec
Brian Paul [Tue, 12 Jun 2001 22:06:10 +0000 (22:06 +0000)]
don't compile glClientActiveTextureARB() into display lists, per the spec

22 years agodisable pixel transfer ops for glGetTexImage(), per the spec
Brian Paul [Tue, 12 Jun 2001 22:05:34 +0000 (22:05 +0000)]
disable pixel transfer ops for glGetTexImage(), per the spec

22 years agoadded latest line and triangle bug fixes
Brian Paul [Tue, 12 Jun 2001 14:32:15 +0000 (14:32 +0000)]
added latest line and triangle bug fixes

22 years agoSnap triangle x,y vertices to 1/16 subpixel positions.
Brian Paul [Tue, 12 Jun 2001 14:18:58 +0000 (14:18 +0000)]
Snap triangle x,y vertices to 1/16 subpixel positions.
Disabled tiny triangle threshold test.

22 years agocheck for PB overflow in general_flat_rgba_line()
Brian Paul [Mon, 11 Jun 2001 19:44:01 +0000 (19:44 +0000)]
check for PB overflow in general_flat_rgba_line()

22 years agofixed minor display list bugs (#431517)
Brian Paul [Mon, 11 Jun 2001 19:17:11 +0000 (19:17 +0000)]
fixed minor display list bugs (#431517)

22 years ago Committing in .
Jouk Jansen [Mon, 11 Jun 2001 07:52:51 +0000 (07:52 +0000)]
 Committing in .

 Modified Files:
  Mesa/src/macros.h

 Added
  #define COPY_4UBV()
 for non i386 machines
----------------------------------------------------------------------

22 years agoadd check for NULL malloc (from Stanford metacompilation analysis)
Brian Paul [Fri, 8 Jun 2001 20:10:55 +0000 (20:10 +0000)]
add check for NULL malloc (from Stanford metacompilation analysis)

22 years agoadded COPY_4UBV bug fix
Brian Paul [Fri, 8 Jun 2001 15:47:48 +0000 (15:47 +0000)]
added COPY_4UBV bug fix

22 years agoonly copy GLubyte[4] as a GLuint on x86
Brian Paul [Fri, 8 Jun 2001 15:46:30 +0000 (15:46 +0000)]
only copy GLubyte[4] as a GLuint on x86