profile/ivi/mesa.git
23 years agoreplaced __inline with INLINE
Brian Paul [Fri, 13 Jul 2001 17:26:39 +0000 (17:26 +0000)]
replaced __inline with INLINE

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

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

23 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

23 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)

23 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.
----------------------------------------------------------------------

23 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.

23 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

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

23 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()

23 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)

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

23 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

23 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

23 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

23 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.

23 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)

23 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

23 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

23 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

23 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.

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

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

23 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

23 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

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

23 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

23 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

23 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

23 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.

23 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

23 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

23 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.

23 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.

23 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.

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

23 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)

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

23 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

23 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.

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

23 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

23 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

23 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

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

23 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

23 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

23 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

23 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.

23 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()

23 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)

23 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
----------------------------------------------------------------------

23 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)

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

23 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

23 years agouse unoptimized COPY_4UBV code on SPARC to avoid memory alignment problems (bug 430689)
Brian Paul [Fri, 8 Jun 2001 12:49:38 +0000 (12:49 +0000)]
use unoptimized COPY_4UBV code on SPARC to avoid memory alignment problems (bug 430689)

23 years agoRemove dependency on MESA sources from gl* files
davem69 [Wed, 6 Jun 2001 22:55:28 +0000 (22:55 +0000)]
Remove dependency on MESA sources from gl* files
in SPARC glapi optimizations by moving the icache
flush into the glapi_sparc.S file.

Brian, how is this?

23 years agotest for X86_FXSR_MAGIC to be sure we have the _fpstate.magic field, needed for SSE...
Brian Paul [Wed, 6 Jun 2001 18:12:35 +0000 (18:12 +0000)]
test for X86_FXSR_MAGIC to be sure we have the _fpstate.magic field, needed for SSE signal handler

23 years agoSPARC normal tnl optimizations.
davem69 [Wed, 6 Jun 2001 11:46:04 +0000 (11:46 +0000)]
SPARC normal tnl optimizations.

23 years agoSparc optimized GLAPI dispatch table.
davem69 [Tue, 5 Jun 2001 23:54:00 +0000 (23:54 +0000)]
Sparc optimized GLAPI dispatch table.

23 years agoGenerate this now that I know which
davem69 [Tue, 5 Jun 2001 22:25:07 +0000 (22:25 +0000)]
Generate this now that I know which
gl.spec file to use.

23 years agominor clean-ups
Brian Paul [Tue, 5 Jun 2001 21:41:05 +0000 (21:41 +0000)]
minor clean-ups

23 years agofilled in a bunch of the function template strings
Brian Paul [Tue, 5 Jun 2001 19:29:41 +0000 (19:29 +0000)]
filled in a bunch of the function template strings

23 years agoPython script for making glapi_sparc.S
davem69 [Tue, 5 Jun 2001 04:30:03 +0000 (04:30 +0000)]
Python script for making glapi_sparc.S
Unused until Brian shows me what gl.spec file he is
actually using for glapi_x86.S as all the ones I can
find seem out of sync.

23 years agoAdd USE_SPARC_ASM diagnostics to print_info.
davem69 [Tue, 5 Jun 2001 03:58:20 +0000 (03:58 +0000)]
Add USE_SPARC_ASM diagnostics to print_info.

23 years agoremoved some code in XMesaDestroyContext() which could lead to a segfault
Brian Paul [Mon, 4 Jun 2001 22:33:02 +0000 (22:33 +0000)]
removed some code in XMesaDestroyContext() which could lead to a segfault

23 years agoAdaptor code that lets tnl convert compiled (display list) cassettes back
Keith Whitwell [Mon, 4 Jun 2001 16:09:28 +0000 (16:09 +0000)]
Adaptor code that lets tnl convert compiled (display list) cassettes back
to glVertex() type calls.  Allows driver-supplied tnl modules to avoid
fallback on glCallList inside begin/end pairs.

Still a little buggy...

23 years agofixed some GL_POINTS probs
Keith Whitwell [Mon, 4 Jun 2001 15:34:31 +0000 (15:34 +0000)]
fixed some GL_POINTS probs

23 years agoNew files to provide glEvalPoint, glEvalCoord implementations for
Keith Whitwell [Mon, 4 Jun 2001 13:57:35 +0000 (13:57 +0000)]
New files to provide glEvalPoint, glEvalCoord implementations for
driver tnl modules.

23 years agoAdd api_arrayelt.c
Keith Whitwell [Fri, 1 Jun 2001 22:22:41 +0000 (22:22 +0000)]
Add api_arrayelt.c

23 years agoWorking implementation of glArrayElt that decomposes to regular
Keith Whitwell [Fri, 1 Jun 2001 22:22:10 +0000 (22:22 +0000)]
Working implementation of glArrayElt that decomposes to regular
glVertex/glNormal/etc calls.

23 years agoadded minor comments
Brian Paul [Fri, 1 Jun 2001 16:29:18 +0000 (16:29 +0000)]
added minor comments

23 years agoapplied Klaus Niederkrueger's CHAN_BITS==32 patch
Brian Paul [Fri, 1 Jun 2001 13:23:27 +0000 (13:23 +0000)]
applied Klaus Niederkrueger's CHAN_BITS==32 patch

23 years agoapply David Miller's quad/backcolor patch
Keith Whitwell [Fri, 1 Jun 2001 12:07:15 +0000 (12:07 +0000)]
apply David Miller's quad/backcolor patch

23 years agoreplaced #ifdef 0 with #if 0
Brian Paul [Thu, 31 May 2001 23:06:01 +0000 (23:06 +0000)]
replaced #ifdef 0 with #if 0

23 years agoswapped in/out arguments to interp_func. Improved comments
Brian Paul [Thu, 31 May 2001 23:03:05 +0000 (23:03 +0000)]
swapped in/out arguments to interp_func.  Improved comments

23 years agofixed s/w alpha channel bug
Brian Paul [Thu, 31 May 2001 19:25:25 +0000 (19:25 +0000)]
fixed s/w alpha channel bug

23 years agoGLubyte -> GLchan fix
Brian Paul [Wed, 30 May 2001 17:44:14 +0000 (17:44 +0000)]
GLubyte -> GLchan fix

23 years agoadded current raster fog coord and related code
Brian Paul [Wed, 30 May 2001 15:22:04 +0000 (15:22 +0000)]
added current raster fog coord and related code

23 years agoadded test for EXT_fog_coord
Brian Paul [Wed, 30 May 2001 14:43:17 +0000 (14:43 +0000)]
added test for EXT_fog_coord

23 years agoforgot to check-in yesterday
Brian Paul [Wed, 30 May 2001 14:39:47 +0000 (14:39 +0000)]
forgot to check-in yesterday

23 years agorerun vertex stage on _MESA_NEW_NEED_EYE_COORDS
Keith Whitwell [Wed, 30 May 2001 10:01:41 +0000 (10:01 +0000)]
rerun vertex stage on _MESA_NEW_NEED_EYE_COORDS

23 years agomore DRI libGL-related changes
Brian Paul [Tue, 29 May 2001 23:15:07 +0000 (23:15 +0000)]
more DRI libGL-related changes

23 years agoadded math/m_debug_clip.c
Brian Paul [Tue, 29 May 2001 22:06:13 +0000 (22:06 +0000)]
added math/m_debug_clip.c

23 years agoremoved some old DRI-isms
Brian Paul [Tue, 29 May 2001 19:48:46 +0000 (19:48 +0000)]
removed some old DRI-isms

23 years agoadded new functions to GLX_functions[]
Brian Paul [Tue, 29 May 2001 16:23:26 +0000 (16:23 +0000)]
added new functions to GLX_functions[]

23 years agos/void */GLvoid */
Brian Paul [Tue, 29 May 2001 15:44:06 +0000 (15:44 +0000)]
s/void */GLvoid */

23 years agoinfrastructure for GL_ARB_multisample
Brian Paul [Tue, 29 May 2001 15:23:48 +0000 (15:23 +0000)]
infrastructure for GL_ARB_multisample

23 years agoremoved unused var
Brian Paul [Tue, 29 May 2001 15:23:15 +0000 (15:23 +0000)]
removed unused var

23 years agomore work on XMesa / libGL integration
Brian Paul [Fri, 25 May 2001 21:51:02 +0000 (21:51 +0000)]
more work on XMesa / libGL integration

23 years agoadded void to __GLXextFuncPtr
Brian Paul [Fri, 25 May 2001 15:44:06 +0000 (15:44 +0000)]
added void to __GLXextFuncPtr

23 years agoadded missing GLX_SGIS_multisample tokens
Brian Paul [Fri, 25 May 2001 15:41:29 +0000 (15:41 +0000)]
added missing GLX_SGIS_multisample tokens

23 years agochanged #if OLD_VMS to #ifdef OLD_VMS
Brian Paul [Fri, 25 May 2001 15:40:29 +0000 (15:40 +0000)]
changed #if OLD_VMS to #ifdef OLD_VMS

23 years agoadded some casts so that older glx.h can be used
Brian Paul [Thu, 24 May 2001 20:05:32 +0000 (20:05 +0000)]
added some casts so that older glx.h can be used

23 years agochange GLXContext and GLXFBConfig typedefs
Brian Paul [Thu, 24 May 2001 19:07:14 +0000 (19:07 +0000)]
change GLXContext and GLXFBConfig typedefs

23 years agoInitial changes to allow Mesa and its fake GLX to be built into XFree86 libGL.
Brian Paul [Thu, 24 May 2001 19:06:21 +0000 (19:06 +0000)]
Initial changes to allow Mesa and its fake GLX to be built into XFree86 libGL.

23 years agoadded GL_SGIS_generate_mipmap
Brian Paul [Thu, 24 May 2001 14:49:14 +0000 (14:49 +0000)]
added GL_SGIS_generate_mipmap

23 years agoFinished GL_SGIS_generate_mipmap. Should be trivial to enable in DRI drivers.
Brian Paul [Thu, 24 May 2001 14:47:56 +0000 (14:47 +0000)]
Finished GL_SGIS_generate_mipmap.  Should be trivial to enable in DRI drivers.

23 years agoprototyping some new stuff
Brian Paul [Thu, 24 May 2001 00:00:57 +0000 (00:00 +0000)]
prototyping some new stuff

23 years agoadded color table clamp bugfix
Brian Paul [Wed, 23 May 2001 23:55:52 +0000 (23:55 +0000)]
added color table clamp bugfix

23 years agofix bug 426657: need to clamp RGBA before color table lookups
Brian Paul [Wed, 23 May 2001 23:55:01 +0000 (23:55 +0000)]
fix bug 426657: need to clamp RGBA before color table lookups