mesa.git
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

23 years agodo FLUSH_VERTICES() in glGet*() functions to make occlusion testing work, perhaps...
Brian Paul [Thu, 3 May 2001 23:55:38 +0000 (23:55 +0000)]
do FLUSH_VERTICES() in glGet*() functions to make occlusion testing work, perhaps needed for other cases, like GL_CURRENT_COLOR

23 years agointerpolate fog valus as floats, not fixed - fixed the swrast fog problem
Brian Paul [Thu, 3 May 2001 22:13:32 +0000 (22:13 +0000)]
interpolate fog valus as floats, not fixed - fixed the swrast fog problem

23 years agofix for moebius infinite loop
Keith Whitwell [Thu, 3 May 2001 16:49:27 +0000 (16:49 +0000)]
fix for moebius infinite loop

23 years agoadded assertion to catch infinite loop in _tnl_fixup_compiled_cassette() - might...
Brian Paul [Thu, 3 May 2001 16:11:16 +0000 (16:11 +0000)]
added assertion to catch infinite loop in _tnl_fixup_compiled_cassette() - might help Keith

23 years agominor clean-ups and warning fixes
Brian Paul [Thu, 3 May 2001 14:11:18 +0000 (14:11 +0000)]
minor clean-ups and warning fixes

23 years agoadd disabled test to turn on vertex snapping.
Keith Whitwell [Thu, 3 May 2001 09:11:03 +0000 (09:11 +0000)]
add disabled test to turn on vertex snapping.

23 years agofixed vertex color problems
Brian Paul [Wed, 2 May 2001 23:08:35 +0000 (23:08 +0000)]
fixed vertex color problems

23 years agoteximage updates. seems to work fine.
Brian Paul [Wed, 2 May 2001 21:04:08 +0000 (21:04 +0000)]
teximage updates.  seems to work fine.

23 years agochanged parameters to _mesa_rescale_teximage2d()
Brian Paul [Wed, 2 May 2001 21:02:38 +0000 (21:02 +0000)]
changed parameters to _mesa_rescale_teximage2d()

23 years agominor XFree86 change
Brian Paul [Tue, 1 May 2001 22:01:11 +0000 (22:01 +0000)]
minor XFree86 change

23 years agofloat color changes
Keith Whitwell [Tue, 1 May 2001 19:17:15 +0000 (19:17 +0000)]
float color changes

23 years agoapplied Diego Santa Cruz's patch to triangulateRectCenter()
Brian Paul [Tue, 1 May 2001 14:56:00 +0000 (14:56 +0000)]
applied Diego Santa Cruz's patch to triangulateRectCenter()

23 years agoremoved debug
Keith Whitwell [Tue, 1 May 2001 13:15:28 +0000 (13:15 +0000)]
removed debug

23 years agofix from Jouk
Keith Whitwell [Tue, 1 May 2001 07:25:41 +0000 (07:25 +0000)]
fix from Jouk

23 years agoLots more eval fixes
Keith Whitwell [Mon, 30 Apr 2001 21:08:51 +0000 (21:08 +0000)]
Lots more eval fixes

23 years agoRestore optimization for cva glArrayElement operation.
Keith Whitwell [Mon, 30 Apr 2001 09:04:00 +0000 (09:04 +0000)]
Restore optimization for cva glArrayElement operation.

23 years agosync with XFree86/DRI glcore.h, now identical
Brian Paul [Sun, 29 Apr 2001 19:31:45 +0000 (19:31 +0000)]
sync with XFree86/DRI glcore.h, now identical

23 years agotypo
Keith Whitwell [Sun, 29 Apr 2001 08:48:43 +0000 (08:48 +0000)]
typo

23 years agoMore HW_DIVIDE checks.
Keith Whitwell [Sun, 29 Apr 2001 08:44:30 +0000 (08:44 +0000)]
More HW_DIVIDE checks.

23 years agoAllow drivers to provide a dynamic CHECK_HW_DIVIDE, to turn the divide off
Keith Whitwell [Sun, 29 Apr 2001 08:41:09 +0000 (08:41 +0000)]
Allow drivers to provide a dynamic CHECK_HW_DIVIDE, to turn the divide off
according to a runtime test.

23 years agofix color copying in twosided quads
Keith Whitwell [Sat, 28 Apr 2001 15:47:48 +0000 (15:47 +0000)]
fix color copying in twosided quads

23 years agoadd specialized interp for backcolor, edgeflags
Keith Whitwell [Sat, 28 Apr 2001 15:26:43 +0000 (15:26 +0000)]
add specialized interp for backcolor, edgeflags

23 years agoSupport for floating point color representation in tnl module.
Keith Whitwell [Sat, 28 Apr 2001 08:39:17 +0000 (08:39 +0000)]
Support for floating point color representation in tnl module.

23 years agoadded -display option
Brian Paul [Fri, 27 Apr 2001 21:19:13 +0000 (21:19 +0000)]
added -display option

23 years agochanged xmesa_visual and xmesa_buffer structs to directly include GLvisual and GLfram...
Brian Paul [Fri, 27 Apr 2001 21:18:25 +0000 (21:18 +0000)]
changed xmesa_visual and xmesa_buffer structs to directly include GLvisual and GLframebuffer structs instead of pointers

23 years agoadded _mesa_free_framebuffer_data()
Brian Paul [Fri, 27 Apr 2001 21:17:20 +0000 (21:17 +0000)]
added _mesa_free_framebuffer_data()

23 years agoadded 16-bit/channel rendering info
Brian Paul [Thu, 26 Apr 2001 22:33:34 +0000 (22:33 +0000)]
added 16-bit/channel rendering info

23 years agoAdded Makefile support for building libOSMesa16.so which is Mesa compiled
Brian Paul [Thu, 26 Apr 2001 22:27:09 +0000 (22:27 +0000)]
Added Makefile support for building libOSMesa16.so which is Mesa compiled
for 16-bit color channels, using the OSMesa driver.

23 years agofixed mem leak in XFreeFontInfo() call
Brian Paul [Thu, 26 Apr 2001 19:28:02 +0000 (19:28 +0000)]
fixed mem leak in XFreeFontInfo() call

23 years agoflush pipeline in WMesaSwapBuffers (Frank Warmerdam)
Brian Paul [Thu, 26 Apr 2001 19:14:35 +0000 (19:14 +0000)]
flush pipeline in WMesaSwapBuffers (Frank Warmerdam)

23 years agofirst pass at eval fixes
Keith Whitwell [Thu, 26 Apr 2001 14:53:48 +0000 (14:53 +0000)]
first pass at eval fixes

23 years agono-copy drawarrays for remaining non-fan primitives
Keith Whitwell [Thu, 26 Apr 2001 14:51:06 +0000 (14:51 +0000)]
no-copy drawarrays for remaining non-fan primitives

23 years agofixed a potential tex obj reference count problem involving multi-texture
Brian Paul [Wed, 25 Apr 2001 18:21:05 +0000 (18:21 +0000)]
fixed a potential tex obj reference count problem involving multi-texture

23 years agoadded -Wundef to linux-debug compiler flags
Brian Paul [Wed, 25 Apr 2001 15:52:15 +0000 (15:52 +0000)]
added -Wundef to linux-debug compiler flags

23 years agoadded ShowAlphaBuffer feature - 'a' key
Brian Paul [Wed, 25 Apr 2001 15:51:32 +0000 (15:51 +0000)]
added ShowAlphaBuffer feature - 'a' key

23 years agominor simplification in glGetTexLevelParameter
Brian Paul [Wed, 25 Apr 2001 15:41:22 +0000 (15:41 +0000)]
minor simplification in glGetTexLevelParameter

23 years agofixed typo in GL_ARB_transpose_matrix
Brian Paul [Tue, 24 Apr 2001 21:52:36 +0000 (21:52 +0000)]
fixed typo in GL_ARB_transpose_matrix

23 years agoadded -i and -h options
Brian Paul [Tue, 24 Apr 2001 20:57:36 +0000 (20:57 +0000)]
added -i and -h options

23 years agoreordered a few blend enums
Brian Paul [Tue, 24 Apr 2001 16:12:48 +0000 (16:12 +0000)]
reordered a few blend enums

23 years agofixed problems with texel component size queries in glGetTexLevelParameter()
Brian Paul [Tue, 24 Apr 2001 16:11:35 +0000 (16:11 +0000)]
fixed problems with texel component size queries in glGetTexLevelParameter()

23 years agotexture image code updates (not finished)
Brian Paul [Tue, 24 Apr 2001 03:02:23 +0000 (03:02 +0000)]
texture image code updates (not finished)

23 years agoassign texImage->FetchTexel only if NULL
Brian Paul [Tue, 24 Apr 2001 03:00:17 +0000 (03:00 +0000)]
assign texImage->FetchTexel only if NULL

23 years agofixed two mistakes in texture combine code
Brian Paul [Mon, 23 Apr 2001 18:06:09 +0000 (18:06 +0000)]
fixed two mistakes in texture combine code

23 years agocompilation fixes - texturing isn't working at this time
Brian Paul [Fri, 20 Apr 2001 22:51:55 +0000 (22:51 +0000)]
compilation fixes - texturing isn't working at this time

23 years agoMinor fixes for Win32 (Karl Schultz).
Brian Paul [Fri, 20 Apr 2001 19:21:41 +0000 (19:21 +0000)]
Minor fixes for Win32 (Karl Schultz).

23 years agoimproved a glBindTexture error message
Brian Paul [Fri, 20 Apr 2001 17:16:52 +0000 (17:16 +0000)]
improved a glBindTexture error message

23 years agoFixed a texture conversion problem: sometimes need to produce an intermediate
Brian Paul [Fri, 20 Apr 2001 16:46:04 +0000 (16:46 +0000)]
Fixed a texture conversion problem: sometimes need to produce an intermediate
texture image in the base internal format between user->Mesa format
conversion.  See comments in texstore.c

23 years agocheck-in of old updates
Brian Paul [Fri, 20 Apr 2001 02:34:12 +0000 (02:34 +0000)]
check-in of old updates

23 years agoremoved glext.h hacks
Brian Paul [Thu, 19 Apr 2001 22:40:45 +0000 (22:40 +0000)]
removed glext.h hacks

23 years agobug fixes, added missing state query cases
Brian Paul [Thu, 19 Apr 2001 22:39:50 +0000 (22:39 +0000)]
bug fixes, added missing state query cases

23 years agoadded GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_border_clamp...
Brian Paul [Thu, 19 Apr 2001 22:34:05 +0000 (22:34 +0000)]
added GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_border_clamp (temporary until SGI updates this file)

23 years agoadded SecondaryColor functions
Brian Paul [Thu, 19 Apr 2001 22:33:03 +0000 (22:33 +0000)]
added SecondaryColor functions

23 years agoAdd more options, including '-10','-100' and '-1000' to limit nr of vertices.
Keith Whitwell [Thu, 19 Apr 2001 13:12:40 +0000 (13:12 +0000)]
Add more options, including '-10','-100' and '-1000' to limit nr of vertices.

23 years agoRemove values from VB->importable_data as those arrays are removed
Keith Whitwell [Thu, 19 Apr 2001 12:23:07 +0000 (12:23 +0000)]
Remove values from VB->importable_data as those arrays are removed
from the VB.