platform/upstream/mesa.git
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

23 years agoimport from 3.4 branch
Brian Paul [Wed, 23 May 2001 14:45:01 +0000 (14:45 +0000)]
import from 3.4 branch

23 years agoadded 3.4.2 changes, SPARC assembly
Brian Paul [Wed, 23 May 2001 14:44:12 +0000 (14:44 +0000)]
added 3.4.2 changes, SPARC assembly

23 years agoupdated copyright
Brian Paul [Wed, 23 May 2001 14:42:47 +0000 (14:42 +0000)]
updated copyright

23 years agoSPARC assembly optimizations from David Miller.
Brian Paul [Wed, 23 May 2001 14:27:03 +0000 (14:27 +0000)]
SPARC assembly optimizations from David Miller.

23 years agoa little more work on GL_SGIS_generate_mipmap
Brian Paul [Tue, 22 May 2001 21:49:03 +0000 (21:49 +0000)]
a little more work on GL_SGIS_generate_mipmap

23 years agofixed a number of multi-texture line bugs
Brian Paul [Mon, 21 May 2001 18:13:43 +0000 (18:13 +0000)]
fixed a number of multi-texture line bugs

23 years agoadded multitexture support
Brian Paul [Mon, 21 May 2001 17:45:25 +0000 (17:45 +0000)]
added multitexture support

23 years agoinitial support for GL_SGIS_generate_mipmap extension
Brian Paul [Mon, 21 May 2001 16:41:03 +0000 (16:41 +0000)]
initial support for GL_SGIS_generate_mipmap extension

23 years agoInitial commit of cliptest work. More to come shortly.
Gareth Hughes [Mon, 21 May 2001 16:33:41 +0000 (16:33 +0000)]
Initial commit of cliptest work.  More to come shortly.

 - Add debug, benchmark code.
 - Change linux/x86 FAST_MATH code to GCC/x86, and clear FP exceptions
   before exiting the fast math block.
 - Remove divide-by-zero test in x86 cliptest, and set clipped vertices
   to [0,0,0,1] instead of leaving them uninitialized.

23 years agos/Height/height/ (Jeff Potter)
Brian Paul [Mon, 21 May 2001 14:46:33 +0000 (14:46 +0000)]
s/Height/height/ (Jeff Potter)

23 years agoadded missing #undefs at end of file
Brian Paul [Fri, 18 May 2001 23:58:26 +0000 (23:58 +0000)]
added missing #undefs at end of file

23 years agofixed a bad error string in ClientActiveTexture()
Brian Paul [Fri, 18 May 2001 22:10:49 +0000 (22:10 +0000)]
fixed a bad error string in ClientActiveTexture()

23 years agofixed two GL error calls
Brian Paul [Thu, 17 May 2001 21:33:14 +0000 (21:33 +0000)]
fixed two GL error calls

23 years agofixed Width/Height typo (Jeff Hartmann)
Brian Paul [Thu, 17 May 2001 20:18:45 +0000 (20:18 +0000)]
fixed Width/Height typo (Jeff Hartmann)

23 years agoremoved (void) index; statement
Brian Paul [Thu, 17 May 2001 14:49:38 +0000 (14:49 +0000)]
removed (void) index; statement

23 years agoComment out __FUNCTION__ usage.
Keith Whitwell [Thu, 17 May 2001 11:33:33 +0000 (11:33 +0000)]
Comment out __FUNCTION__ usage.

23 years agoFix order of decomposition of quad.
Keith Whitwell [Thu, 17 May 2001 09:32:17 +0000 (09:32 +0000)]
Fix order of decomposition of quad.
Remove 'swrast->_MultiTexEnabled' derived value.

23 years agouse DEFARRAY, etc macros to work around 32k data limit on Macs (Tom Goon)
Brian Paul [Wed, 16 May 2001 20:27:12 +0000 (20:27 +0000)]
use DEFARRAY, etc macros to work around 32k data limit on Macs (Tom Goon)

23 years agogenerate INVALID_OPERATION if active texture != 0 in glMap[12][fd]
Brian Paul [Wed, 16 May 2001 17:06:28 +0000 (17:06 +0000)]
generate INVALID_OPERATION if active texture != 0 in glMap[12][fd]

23 years agofix for Jouk's glplanet bug
Keith Whitwell [Wed, 16 May 2001 09:28:32 +0000 (09:28 +0000)]
fix for Jouk's glplanet bug

23 years agoadded latest 3.5 changes
Brian Paul [Tue, 15 May 2001 21:31:36 +0000 (21:31 +0000)]
added latest 3.5 changes

23 years agoApply antialiasing coverage factor to alpha after texture application,
Brian Paul [Tue, 15 May 2001 21:30:26 +0000 (21:30 +0000)]
Apply antialiasing coverage factor to alpha after texture application,
not before.

23 years ago_mesa_pack_index_span() was broken for non-GLubyte datatypes
Brian Paul [Tue, 15 May 2001 21:21:08 +0000 (21:21 +0000)]
_mesa_pack_index_span() was broken for non-GLubyte datatypes

23 years agoincrease FOG_MAX to 10.0 to fix CI conformace failure
Brian Paul [Tue, 15 May 2001 20:52:51 +0000 (20:52 +0000)]
increase FOG_MAX to 10.0 to fix CI conformace failure

23 years agominor clean-ups and more comments
Brian Paul [Tue, 15 May 2001 16:18:13 +0000 (16:18 +0000)]
minor clean-ups and more comments

23 years agomoved some misplaced compiler flags from CC assigment to CFLAGS
Brian Paul [Tue, 15 May 2001 15:27:43 +0000 (15:27 +0000)]
moved some misplaced compiler flags from CC assigment to CFLAGS

23 years agoNew IFLOOR, ICEIL macros from Josh Vanderhoof. Fixes problems with
Brian Paul [Mon, 14 May 2001 23:11:12 +0000 (23:11 +0000)]
New IFLOOR, ICEIL macros from Josh Vanderhoof.  Fixes problems with
IFLOOR(1.99999)==2, for example.  Moved some macros from config.h to glheader.h

23 years agotypo
Keith Whitwell [Mon, 14 May 2001 16:34:24 +0000 (16:34 +0000)]
typo

23 years agochanged MAX_HEIGHT to 2048
Brian Paul [Mon, 14 May 2001 16:25:18 +0000 (16:25 +0000)]
changed MAX_HEIGHT to 2048

23 years agoNew triangle rasterization code. Store per-span initial/step values in the
Brian Paul [Mon, 14 May 2001 16:23:04 +0000 (16:23 +0000)]
New triangle rasterization code.  Store per-span initial/step values in the
new triangle_span struct.  Much cleaner code and possibilities for future
optimizations.

23 years agoFix for glean texgen test.
Keith Whitwell [Mon, 14 May 2001 09:00:51 +0000 (09:00 +0000)]
Fix for glean texgen test.

23 years agoincrease blocksize, remove dead opcodes
Keith Whitwell [Mon, 14 May 2001 08:57:36 +0000 (08:57 +0000)]
increase blocksize, remove dead opcodes

23 years agoFix long-standing FP exception bug in _mesa_x86_cliptest_points4().
Gareth Hughes [Sun, 13 May 2001 18:55:15 +0000 (18:55 +0000)]
Fix long-standing FP exception bug in _mesa_x86_cliptest_points4().

23 years agofixed scissor clear problem (Michael Saunders)
Brian Paul [Fri, 11 May 2001 18:58:32 +0000 (18:58 +0000)]
fixed scissor clear problem (Michael Saunders)

23 years agoClean up _tnl_Begin/begin/hard_begin.
Keith Whitwell [Fri, 11 May 2001 15:53:06 +0000 (15:53 +0000)]
Clean up _tnl_Begin/begin/hard_begin.
Fix some problems with draw_arrays, draw_elements.

23 years agofix a couple of small bugs
Keith Whitwell [Fri, 11 May 2001 15:47:02 +0000 (15:47 +0000)]
fix a couple of small bugs

23 years agomade render path selection more flexible
Keith Whitwell [Fri, 11 May 2001 12:08:15 +0000 (12:08 +0000)]
made render path selection more flexible

23 years agoClean up translation of array elements, copying of elts in pure-elt
Keith Whitwell [Fri, 11 May 2001 08:11:31 +0000 (08:11 +0000)]
Clean up translation of array elements, copying of elts in pure-elt
cassettes.  Fixes problem with isosurf/compiled-array-elt/strips.

23 years agoredo previous change in a more defensive way
Brian Paul [Thu, 10 May 2001 18:01:19 +0000 (18:01 +0000)]
redo previous change in a more defensive way

23 years agoadded check for zero-length spans, avoids potential problems later
Brian Paul [Thu, 10 May 2001 17:55:54 +0000 (17:55 +0000)]
added check for zero-length spans, avoids potential problems later

23 years agofixed some divide by zero problems found w/ conform
Brian Paul [Thu, 10 May 2001 17:41:41 +0000 (17:41 +0000)]
fixed some divide by zero problems found w/ conform

23 years agoRGBA mode GL_NAND was wrong, fixed 16-bit GLchan support
Brian Paul [Thu, 10 May 2001 16:54:12 +0000 (16:54 +0000)]
RGBA mode GL_NAND was wrong, fixed 16-bit GLchan support

23 years agoSet 'prefer_float_colors' true, now that tnl uses them natively.
Keith Whitwell [Thu, 10 May 2001 15:42:42 +0000 (15:42 +0000)]
Set 'prefer_float_colors' true, now that tnl uses them natively.
Apply Jeff Epler's optimization to ci spans as well, remove old code.

23 years agoapplied Jeff & Keith's optimization to write_span_mono_pixmap()
Brian Paul [Thu, 10 May 2001 14:21:17 +0000 (14:21 +0000)]
applied Jeff & Keith's optimization to write_span_mono_pixmap()

23 years agofixed bad texture border test (sometimes caused a segfault)
Brian Paul [Thu, 10 May 2001 12:57:12 +0000 (12:57 +0000)]
fixed bad texture border test (sometimes caused a segfault)

23 years agominor clean-up
Brian Paul [Thu, 10 May 2001 12:33:28 +0000 (12:33 +0000)]
minor clean-up

23 years agoDriver interface changes
Keith Whitwell [Thu, 10 May 2001 12:22:32 +0000 (12:22 +0000)]
Driver interface changes

23 years agoReplace PipelineStart, PipelineFinish with RunPipeline. Clean up
Keith Whitwell [Thu, 10 May 2001 12:18:38 +0000 (12:18 +0000)]
Replace PipelineStart, PipelineFinish with RunPipeline.  Clean up
_tnl_run_pipeline() a little.

23 years agoremoved linux-386-opt-V2-glide config since FX_V2 symbol has no significance anymore
Brian Paul [Thu, 10 May 2001 03:00:58 +0000 (03:00 +0000)]
removed linux-386-opt-V2-glide config since FX_V2 symbol has no significance anymore

23 years agocheck hardware type and use SETUP_SNAP if needed
Brian Paul [Thu, 10 May 2001 02:59:04 +0000 (02:59 +0000)]
check hardware type and use SETUP_SNAP if needed

23 years agofixed loop bug in _mesa_ConvolutionFilter2D()
Brian Paul [Wed, 9 May 2001 22:24:22 +0000 (22:24 +0000)]
fixed loop bug in _mesa_ConvolutionFilter2D()

23 years agominor clean-ups
Brian Paul [Wed, 9 May 2001 21:58:19 +0000 (21:58 +0000)]
minor clean-ups

23 years agofixed FP underflow problem in kfact computation
Brian Paul [Wed, 9 May 2001 21:36:52 +0000 (21:36 +0000)]
fixed FP underflow problem in kfact computation

23 years agofixed font/bitmap x-offset bug (Frank Warmerdam)
Brian Paul [Wed, 9 May 2001 20:45:00 +0000 (20:45 +0000)]
fixed font/bitmap x-offset bug (Frank Warmerdam)

23 years agofixed Y flip problem in read_rgba_pixels() (Frank Warmerdam)
Brian Paul [Wed, 9 May 2001 20:42:37 +0000 (20:42 +0000)]
fixed Y flip problem in read_rgba_pixels() (Frank Warmerdam)

23 years agocheck for tiny values in dir[] vector in calcposobjs(), prevents FP underflows later
Brian Paul [Wed, 9 May 2001 20:02:28 +0000 (20:02 +0000)]
check for tiny values in dir[] vector in calcposobjs(), prevents FP underflows later

23 years agomissed a GLfixed->GLfloat fog change
Brian Paul [Wed, 9 May 2001 17:31:46 +0000 (17:31 +0000)]
missed a GLfixed->GLfloat fog change

23 years agodon't call _mesa_win_fog_coords_from_z() if fog is disabled, fixes FP exception
Brian Paul [Wed, 9 May 2001 17:21:51 +0000 (17:21 +0000)]
don't call _mesa_win_fog_coords_from_z() if fog is disabled, fixes FP exception

23 years agomake sure rotation plugged into sin/cos lookup tables is always positive, fixes FP...
Brian Paul [Wed, 9 May 2001 17:14:19 +0000 (17:14 +0000)]
make sure rotation plugged into sin/cos lookup tables is always positive, fixes FP exception

23 years agofixed minor logic error in _mesa_StencilOp()
Brian Paul [Wed, 9 May 2001 16:34:09 +0000 (16:34 +0000)]
fixed minor logic error in _mesa_StencilOp()

23 years agoremove debug code
Keith Whitwell [Wed, 9 May 2001 15:34:08 +0000 (15:34 +0000)]
remove debug code

23 years agoadd missing translate functions
Keith Whitwell [Wed, 9 May 2001 14:12:34 +0000 (14:12 +0000)]
add missing translate functions

23 years agofix possible segfault on destroy context
Keith Whitwell [Wed, 9 May 2001 13:53:36 +0000 (13:53 +0000)]
fix possible segfault on destroy context

23 years agoAdd FLUSH_CURRENT() calls to fix ordering problems (incl. hierarchical
Keith Whitwell [Wed, 9 May 2001 12:48:21 +0000 (12:48 +0000)]
Add FLUSH_CURRENT() calls to fix ordering problems (incl. hierarchical
dlist calls).

23 years agoUse correct PV when clipping.
Keith Whitwell [Wed, 9 May 2001 12:25:40 +0000 (12:25 +0000)]
Use correct PV when clipping.

23 years agoDon't scale basealpha by 255 now it's a float.
Keith Whitwell [Wed, 9 May 2001 12:24:51 +0000 (12:24 +0000)]
Don't scale basealpha by 255 now it's a float.

23 years agofix eval/colormaterial interaction
Keith Whitwell [Wed, 9 May 2001 11:06:30 +0000 (11:06 +0000)]
fix eval/colormaterial interaction

23 years agoset MRD to 1.0, fixes new Glean polygon offset failure
Brian Paul [Mon, 7 May 2001 16:32:51 +0000 (16:32 +0000)]
set MRD to 1.0, fixes new Glean polygon offset failure

23 years agosample plane equations at fragment centers, not lower-left corner
Brian Paul [Mon, 7 May 2001 16:01:59 +0000 (16:01 +0000)]
sample plane equations at fragment centers, not lower-left corner

23 years agoAdd new tests.
Gareth Hughes [Mon, 7 May 2001 14:16:19 +0000 (14:16 +0000)]
Add new tests.

23 years agoMore cleanups.
Gareth Hughes [Mon, 7 May 2001 14:06:15 +0000 (14:06 +0000)]
More cleanups.

23 years agoInitial new Win32 build support. More to come.
Gareth Hughes [Mon, 7 May 2001 13:58:00 +0000 (13:58 +0000)]
Initial new Win32 build support.  More to come.

23 years agoadded info about driver status in 3.5
Brian Paul [Fri, 4 May 2001 17:42:53 +0000 (17:42 +0000)]
added info about driver status in 3.5