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

23 years agoFix striding of color material inputs. (Fixes glean colorLitPerf)
Keith Whitwell [Thu, 19 Apr 2001 12:22:09 +0000 (12:22 +0000)]
Fix striding of color material inputs.  (Fixes glean colorLitPerf)

23 years agominor optimization to dot3 computation
Brian Paul [Tue, 17 Apr 2001 22:08:28 +0000 (22:08 +0000)]
minor optimization to dot3 computation

23 years agoFixed a number of minor GL_ARB_texture_env_combine/dot3 issues.
Brian Paul [Tue, 17 Apr 2001 21:25:53 +0000 (21:25 +0000)]
Fixed a number of minor GL_ARB_texture_env_combine/dot3 issues.

23 years agoanother fix in import_texcoord()
Brian Paul [Tue, 17 Apr 2001 21:08:32 +0000 (21:08 +0000)]
another fix in import_texcoord()

23 years agoreplaced ac->count with ac->count - ac->start in import_texcoord(), as in the other...
Brian Paul [Tue, 17 Apr 2001 20:37:44 +0000 (20:37 +0000)]
replaced ac->count with ac->count - ac->start in import_texcoord(), as in the other import functions

23 years agofixed mis-ordered args to _math_trans_4f() in _tnl_fill_immediate_drawarrays()
Brian Paul [Tue, 17 Apr 2001 17:01:33 +0000 (17:01 +0000)]
fixed mis-ordered args to _math_trans_4f() in _tnl_fill_immediate_drawarrays()

23 years agoreturn hex string for unknown tokens in _mesa_lookup_enum_by_nr()
Brian Paul [Mon, 16 Apr 2001 21:07:33 +0000 (21:07 +0000)]
return hex string for unknown tokens in _mesa_lookup_enum_by_nr()

23 years agoadded missing 'break' in _mesa_TexEnvfv(), better error messages
Brian Paul [Mon, 16 Apr 2001 21:06:54 +0000 (21:06 +0000)]
added missing 'break' in _mesa_TexEnvfv(), better error messages

23 years agoadded a work-around in _swrast_copy_texsubimage[123]d() to fix alpha channel problem...
Brian Paul [Fri, 13 Apr 2001 00:13:51 +0000 (00:13 +0000)]
added a work-around in _swrast_copy_texsubimage[123]d() to fix alpha channel problem in some DRI drivers (see comments)

23 years agob-key toggles between textures w/ and w/out border
Brian Paul [Thu, 12 Apr 2001 20:50:26 +0000 (20:50 +0000)]
b-key toggles between textures w/ and w/out border

23 years agoMoved FRAC macro out of mmath.h into s_texture.c since it's only used there
Brian Paul [Thu, 12 Apr 2001 15:18:07 +0000 (15:18 +0000)]
Moved FRAC macro out of mmath.h into s_texture.c since it's only used there
and doesn't do what one might expect for negative values.
Reimplemented FRAC in terms of floor() to fix glitches seen in tests/texwrap.c.
Minor fix for problem with GL_CLAMP_TO_BORDER_ARB with GL_NEAREST sampling.

23 years agoReimplemented glPopAttrib code for GL_TEXTURE_BIT. It now calls the
Brian Paul [Wed, 11 Apr 2001 23:22:20 +0000 (23:22 +0000)]
Reimplemented glPopAttrib code for GL_TEXTURE_BIT. It now calls the
various texture API functions to restore state.  Before, the device
drivers weren't getting notified of important texture state changes.

23 years agofixed some divide by zero conformance problems
Brian Paul [Tue, 10 Apr 2001 15:46:51 +0000 (15:46 +0000)]
fixed some divide by zero conformance problems

23 years agoAdded IROUND_POS() macro to mmath.h and use where appropriate. (Klaus Niederkrueger)
Brian Paul [Tue, 10 Apr 2001 15:25:45 +0000 (15:25 +0000)]
Added IROUND_POS() macro to mmath.h and use where appropriate. (Klaus Niederkrueger)

23 years agoremove a HAVE_ELTS that I'd stuck before.
Alan Hourihane [Mon, 9 Apr 2001 15:41:11 +0000 (15:41 +0000)]
remove a HAVE_ELTS that I'd stuck before.

23 years agoPerform fixup on material values
Keith Whitwell [Mon, 9 Apr 2001 14:47:34 +0000 (14:47 +0000)]
Perform fixup on material values

23 years agofix use of projected vertices with notex vertices when DO_PTEX isn't set.
Alan Hourihane [Mon, 9 Apr 2001 10:16:01 +0000 (10:16 +0000)]
fix use of projected vertices with notex vertices when DO_PTEX isn't set.

23 years agoAdd quad and quad_strip
Alan Hourihane [Sat, 7 Apr 2001 16:16:58 +0000 (16:16 +0000)]
Add quad and quad_strip

23 years agoadd FINISH function at end of each render_* function
Alan Hourihane [Fri, 6 Apr 2001 16:26:41 +0000 (16:26 +0000)]
add FINISH function at end of each render_* function
fix typo.

23 years agoreplaced IntFormat GL_BGRA with GL_RGBA, fixes problems calling _mesa_base_texture_fo...
Brian Paul [Wed, 4 Apr 2001 23:56:33 +0000 (23:56 +0000)]
replaced IntFormat GL_BGRA with GL_RGBA, fixes problems calling _mesa_base_texture_format()

23 years agoGL_INTENSITY case was incorrect in extract_float_rgba()
Brian Paul [Wed, 4 Apr 2001 23:22:38 +0000 (23:22 +0000)]
GL_INTENSITY case was incorrect in extract_float_rgba()

23 years agofixed tmpTexelSize computation bug
Brian Paul [Wed, 4 Apr 2001 22:41:23 +0000 (22:41 +0000)]
fixed tmpTexelSize computation bug

23 years agoMore texture image changes.
Brian Paul [Wed, 4 Apr 2001 21:54:20 +0000 (21:54 +0000)]
More texture image changes.
1. Added ctx->Driver.ChooseTextureFormat() function.  Examines user's
   internalFormat, format, type params and returns a gl_texture_format.
2. _mesa_store_teximage[123]d() calls ctx->Driver.ChooseTextureFormat(),
   allocates storage and transfers the image into the desired format.
3. _mesa_transfer_teximage() now takes a gl_texture_format to describe
   the destination format.  Any combination of input format/type and
   output gl_texture_format is accepted.  Uses optimized _mesa_convert_-
   texsubimage[123]d() functions when possible.
3. DRI driver's TexImage[123]D functions should be a lot simpler now.

23 years agoUpdated bug report info in _mesa_problem()
Brian Paul [Wed, 4 Apr 2001 13:38:51 +0000 (13:38 +0000)]
Updated bug report info in _mesa_problem()

23 years ago Committing in .
Jouk Jansen [Wed, 4 Apr 2001 12:02:12 +0000 (12:02 +0000)]
 Committing in .

 Modified Files:
  Mesa/src/descrip.mms

 Removed glapinoop

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

23 years agoanother fix to clear_32bit_ximage()
Brian Paul [Tue, 3 Apr 2001 17:35:54 +0000 (17:35 +0000)]
another fix to clear_32bit_ximage()

23 years agoinclude fxdrv.h before other headers (Ivan Kalvatchev)
Brian Paul [Tue, 3 Apr 2001 16:32:29 +0000 (16:32 +0000)]
include fxdrv.h before other headers (Ivan Kalvatchev)

23 years agofixed wglUseFontBitmapsA() bugs (Frank Warmerdam)
Brian Paul [Tue, 3 Apr 2001 16:25:54 +0000 (16:25 +0000)]
fixed wglUseFontBitmapsA() bugs (Frank Warmerdam)

23 years agoclear pixel value wasn't byteswapped for scissored clears in clear_32bit_ximage()
Brian Paul [Tue, 3 Apr 2001 16:19:54 +0000 (16:19 +0000)]
clear pixel value wasn't byteswapped for scissored clears in clear_32bit_ximage()

23 years agoapplied David's patch for parsing display's server:screen string
Brian Paul [Mon, 2 Apr 2001 22:45:07 +0000 (22:45 +0000)]
applied David's patch for parsing display's server:screen string

23 years agoquerying proxy texture image info was segfaulting because of NULL TexFormat pointer
Brian Paul [Fri, 30 Mar 2001 21:14:30 +0000 (21:14 +0000)]
querying proxy texture image info was segfaulting because of NULL TexFormat pointer

23 years agoadd texture border width to x/y/zoffset in gl[Copy]TexSubImage*D() functions to accom...
Brian Paul [Fri, 30 Mar 2001 21:12:15 +0000 (21:12 +0000)]
add texture border width to x/y/zoffset in gl[Copy]TexSubImage*D() functions to accomodate negative offsets correctly

23 years agotexImage->FetchTexel wasn't getting initialized in _mesa_CopyTexImage1/2D()
Brian Paul [Fri, 30 Mar 2001 15:31:44 +0000 (15:31 +0000)]
texImage->FetchTexel wasn't getting initialized in _mesa_CopyTexImage1/2D()

23 years agofixed compilation problems related to ctx->_Enabled removal
Brian Paul [Fri, 30 Mar 2001 15:16:12 +0000 (15:16 +0000)]
fixed compilation problems related to ctx->_Enabled removal

23 years agoRemove all traces of CULL_MASK_ACTIVE.
Gareth Hughes [Fri, 30 Mar 2001 14:44:43 +0000 (14:44 +0000)]
Remove all traces of CULL_MASK_ACTIVE.

23 years agoFix calculation of fog coordinate in translate_vertex().
Keith Whitwell [Fri, 30 Mar 2001 00:39:02 +0000 (00:39 +0000)]
Fix calculation of fog coordinate in translate_vertex().

23 years agoRemove ENABLE_* flags, ctx->_Enabled.
Keith Whitwell [Thu, 29 Mar 2001 21:16:25 +0000 (21:16 +0000)]
Remove ENABLE_* flags, ctx->_Enabled.
Replace with ctx->Texture._TexMatEnabled, ctx->Texture._TexGenEnabled.

23 years agosilence a compiler warning
Brian Paul [Thu, 29 Mar 2001 17:15:21 +0000 (17:15 +0000)]
silence a compiler warning

23 years agoRemoved DD_STENCIL, DD_FEEDBACK, DD_SELECT.
Keith Whitwell [Thu, 29 Mar 2001 17:08:26 +0000 (17:08 +0000)]
Removed DD_STENCIL, DD_FEEDBACK, DD_SELECT.
Added some switchable debug to s_context.c

23 years agoRemoved DD_Z_NEVER.
Brian Paul [Thu, 29 Mar 2001 16:50:31 +0000 (16:50 +0000)]
Removed DD_Z_NEVER.
Replaced SEPERATE with SEPARATE.
Renumbered _NEW_ flags.
Removed _NEW_COLORTABLE.