mesa.git
22 years agoRemoved code that was proven to have faster alternatives to reduce complexity and...
Jose Fonseca [Thu, 18 Apr 2002 08:09:50 +0000 (08:09 +0000)]
Removed code that was proven to have faster alternatives to reduce complexity and facilitate reusability.

22 years agofixed problem with swap() function and GCC3 (patch 414404)
Brian Paul [Wed, 17 Apr 2002 19:30:41 +0000 (19:30 +0000)]
fixed problem with swap() function and GCC3 (patch 414404)

22 years agoDisabled SPARC cliptest functions for now. See bug report 544665.
Brian Paul [Wed, 17 Apr 2002 19:08:32 +0000 (19:08 +0000)]
Disabled SPARC cliptest functions for now.  See bug report 544665.

22 years agoRemaining patch for the 255x255=255 identity correction be
Jose Fonseca [Sun, 14 Apr 2002 11:33:54 +0000 (11:33 +0000)]
Remaining patch for the 255x255=255 identity correction be
made also in the runin and runout section of the code.

22 years agoJose's latest patch (GMBT_GEOMETRIC_CORRECTION)
Brian Paul [Fri, 12 Apr 2002 21:56:42 +0000 (21:56 +0000)]
Jose's latest patch (GMBT_GEOMETRIC_CORRECTION)

22 years agofixes for corrected GL_DOT3_RGB[A]_EXT token values
Brian Paul [Fri, 12 Apr 2002 21:17:28 +0000 (21:17 +0000)]
fixes for corrected GL_DOT3_RGB[A]_EXT token values

22 years agoversion 13 of glext.h - fixes GL_EXT_texture_env_dot3 token values
Brian Paul [Fri, 12 Apr 2002 21:09:12 +0000 (21:09 +0000)]
version 13 of glext.h - fixes GL_EXT_texture_env_dot3 token values

22 years agoupdated a few comments
Brian Paul [Fri, 12 Apr 2002 15:47:21 +0000 (15:47 +0000)]
updated a few comments

22 years agoKlaus Niederkrueger's latest changes: use INIT_SPAN() to init span primitive
Brian Paul [Fri, 12 Apr 2002 15:39:58 +0000 (15:39 +0000)]
Klaus Niederkrueger's latest changes: use INIT_SPAN() to init span primitive
type, width, interp mask and array mask.

22 years agonew MMX blend code (Jose Fonseca)
Brian Paul [Wed, 10 Apr 2002 16:32:32 +0000 (16:32 +0000)]
new MMX blend code (Jose Fonseca)

22 years ago Committing in .
Jouk Jansen [Wed, 10 Apr 2002 13:17:59 +0000 (13:17 +0000)]
 Committing in .

 Update OpenVMS makefile

 Modified Files:
  Mesa/src/descrip.mms
 ----------------------------------------------------------------------

22 years agobring in changes from dri tcl branch
Keith Whitwell [Tue, 9 Apr 2002 16:56:50 +0000 (16:56 +0000)]
bring in changes from dri tcl branch

22 years agoUpdate filelist to reflect two removed source files.
Karl Schultz [Tue, 9 Apr 2002 15:33:49 +0000 (15:33 +0000)]
Update filelist to reflect two removed source files.

22 years agoremove dead vertex assembly
Keith Whitwell [Tue, 9 Apr 2002 14:58:03 +0000 (14:58 +0000)]
remove dead vertex assembly

22 years agoremove dead vertex assembly
Keith Whitwell [Tue, 9 Apr 2002 14:47:57 +0000 (14:47 +0000)]
remove dead vertex assembly

22 years agotranforming display list normals by non-uniform scale didn't work (Carlos Pereira)
Brian Paul [Mon, 8 Apr 2002 15:37:13 +0000 (15:37 +0000)]
tranforming display list normals by non-uniform scale didn't work (Carlos Pereira)

22 years agoAdded -perf option to measure frame rate. This is useful for measuring
Karl Schultz [Fri, 5 Apr 2002 17:40:20 +0000 (17:40 +0000)]
Added -perf option to measure frame rate.  This is useful for measuring
Mesa in a more environment-independent way.

22 years agorepair Array.NewState flags (Michael Fitzpatrick)
Brian Paul [Thu, 4 Apr 2002 23:59:14 +0000 (23:59 +0000)]
repair Array.NewState flags (Michael Fitzpatrick)

22 years agoexport more symbols for osmesa (win32)
Karl Schultz [Thu, 4 Apr 2002 18:27:49 +0000 (18:27 +0000)]
export more symbols for osmesa (win32)

22 years agocasts to silence compiler warnings
Karl Schultz [Thu, 4 Apr 2002 18:25:40 +0000 (18:25 +0000)]
casts to silence compiler warnings

22 years agolatest 4.1 features and bug fixes
Brian Paul [Thu, 4 Apr 2002 17:01:50 +0000 (17:01 +0000)]
latest 4.1 features and bug fixes

22 years agofixed some 3D texture image stride bugs when using 16-bit channels
Brian Paul [Thu, 4 Apr 2002 16:59:05 +0000 (16:59 +0000)]
fixed some 3D texture image stride bugs when using 16-bit channels

22 years agoadded OSMesaGetProcAddress()
Brian Paul [Thu, 4 Apr 2002 16:58:04 +0000 (16:58 +0000)]
added OSMesaGetProcAddress()

22 years agoTexture combine alpha subtraction was wrong. Fixed 16-bit channel glitches
Brian Paul [Thu, 4 Apr 2002 16:56:24 +0000 (16:56 +0000)]
Texture combine alpha subtraction was wrong.  Fixed 16-bit channel glitches

22 years agouse NULL lambda array for pixel texture
Brian Paul [Thu, 4 Apr 2002 16:53:59 +0000 (16:53 +0000)]
use NULL lambda array for pixel texture

22 years agofixed 16 bit/channel problem in blend_modulate()
Brian Paul [Thu, 4 Apr 2002 16:53:26 +0000 (16:53 +0000)]
fixed 16 bit/channel problem in blend_modulate()

22 years agofixed 16/32-bit channel problems in CopyColor[Sub]Table()
Brian Paul [Thu, 4 Apr 2002 16:53:00 +0000 (16:53 +0000)]
fixed 16/32-bit channel problems in CopyColor[Sub]Table()

22 years agofixup float/ushort conversion macros
Brian Paul [Thu, 4 Apr 2002 16:51:52 +0000 (16:51 +0000)]
fixup float/ushort conversion macros

22 years agoblend_add() modified for GLfloat channels
Brian Paul [Thu, 4 Apr 2002 01:40:18 +0000 (01:40 +0000)]
blend_add() modified for GLfloat channels

22 years agocall _mesa_ResizeBuffersMESA() in OSMesaMakeCurrent() to reconcile buffer size changes
Brian Paul [Thu, 4 Apr 2002 00:54:02 +0000 (00:54 +0000)]
call _mesa_ResizeBuffersMESA() in OSMesaMakeCurrent() to reconcile buffer size changes

22 years agoadded an error check
Brian Paul [Tue, 2 Apr 2002 23:53:56 +0000 (23:53 +0000)]
added an error check

22 years agoreturn NULL from Fake_glXCreateContext() if dpy or visinfo are NULL
Brian Paul [Tue, 2 Apr 2002 23:52:53 +0000 (23:52 +0000)]
return NULL from Fake_glXCreateContext() if dpy or visinfo are NULL

22 years agomore blending updates from Jose
Brian Paul [Tue, 2 Apr 2002 23:36:50 +0000 (23:36 +0000)]
more blending updates from Jose

22 years agominor re-org
Brian Paul [Tue, 2 Apr 2002 16:20:00 +0000 (16:20 +0000)]
minor re-org

22 years agoadded GL_ARB_point_parameters
Brian Paul [Tue, 2 Apr 2002 16:19:21 +0000 (16:19 +0000)]
added GL_ARB_point_parameters

22 years agoDJGPP updates
Brian Paul [Tue, 2 Apr 2002 16:18:20 +0000 (16:18 +0000)]
DJGPP updates

22 years agofaster blending (Jose Fonseca)
Brian Paul [Tue, 2 Apr 2002 16:16:45 +0000 (16:16 +0000)]
faster blending (Jose Fonseca)

22 years agoupdates from Jose Fonseca
Brian Paul [Tue, 2 Apr 2002 16:16:14 +0000 (16:16 +0000)]
updates from Jose Fonseca

22 years agoGL_ARB_point_parameters support
Brian Paul [Tue, 2 Apr 2002 16:15:16 +0000 (16:15 +0000)]
GL_ARB_point_parameters support

22 years agominor optimization in GL_TRANSFORM_BIT popping
Brian Paul [Mon, 1 Apr 2002 17:03:38 +0000 (17:03 +0000)]
minor optimization in GL_TRANSFORM_BIT popping

22 years agoDOS driver update
Brian Paul [Mon, 1 Apr 2002 17:01:33 +0000 (17:01 +0000)]
DOS driver update

22 years agoAdd _glapi_get_context to export for osmesa.
Karl Schultz [Fri, 29 Mar 2002 23:49:51 +0000 (23:49 +0000)]
Add _glapi_get_context to export for osmesa.

22 years agoReplaced ClipEnabled[] array and _AnyClip with ClipPlanesEnabled bitmask.
Brian Paul [Fri, 29 Mar 2002 17:27:59 +0000 (17:27 +0000)]
Replaced ClipEnabled[] array and _AnyClip with ClipPlanesEnabled bitmask.

22 years agouse _glapi_get_context() instead of GET_CURRENT_CONTEXT(ctx); in buffer_size()
Brian Paul [Fri, 29 Mar 2002 17:20:48 +0000 (17:20 +0000)]
use _glapi_get_context() instead of GET_CURRENT_CONTEXT(ctx); in buffer_size()

22 years agoUse invert_matrix_general() instead of invert_matrix_perspective() because
Brian Paul [Fri, 29 Mar 2002 17:18:08 +0000 (17:18 +0000)]
Use invert_matrix_general() instead of invert_matrix_perspective() because
the later fails for some projection matrices (ala Vis5D with Chromium).

22 years agodecrement Transform._AnyClip when clip planes are disabled
Brian Paul [Thu, 28 Mar 2002 22:45:45 +0000 (22:45 +0000)]
decrement Transform._AnyClip when clip planes are disabled

22 years agopopping of user-defined clip planes was broken
Brian Paul [Thu, 28 Mar 2002 22:42:41 +0000 (22:42 +0000)]
popping of user-defined clip planes was broken

22 years agoreset span.end to zero after rendering the span
Brian Paul [Thu, 28 Mar 2002 16:24:14 +0000 (16:24 +0000)]
reset span.end to zero after rendering the span

22 years agofixed inequality in an assertion
Brian Paul [Wed, 27 Mar 2002 15:49:27 +0000 (15:49 +0000)]
fixed inequality in an assertion

22 years agoremoved a bad assertion
Brian Paul [Mon, 25 Mar 2002 17:24:43 +0000 (17:24 +0000)]
removed a bad assertion

22 years agomore extensions
Brian Paul [Sat, 23 Mar 2002 16:35:40 +0000 (16:35 +0000)]
more extensions

22 years agoexercise GL_EXT_shadow_funcs
Brian Paul [Sat, 23 Mar 2002 16:34:18 +0000 (16:34 +0000)]
exercise GL_EXT_shadow_funcs

22 years agoTest implementation of proposed GL_EXT_shadow_funcs extension. This just
Brian Paul [Sat, 23 Mar 2002 16:33:53 +0000 (16:33 +0000)]
Test implementation of proposed GL_EXT_shadow_funcs extension.  This just
generalizes the R/texture comparision operators to include all eight of
the depth test comparisons.

22 years agobring over from the 4.0 branch
Brian Paul [Sat, 23 Mar 2002 02:38:39 +0000 (02:38 +0000)]
bring over from the 4.0 branch

22 years agoadded 4.0.2 info
Brian Paul [Sat, 23 Mar 2002 02:38:10 +0000 (02:38 +0000)]
added 4.0.2 info

22 years agore-adding a lost file
Brian Paul [Sat, 23 Mar 2002 02:37:17 +0000 (02:37 +0000)]
re-adding a lost file

22 years agoDOS/Mesa driver updates (Daniel Borca)
Brian Paul [Sat, 23 Mar 2002 02:34:07 +0000 (02:34 +0000)]
DOS/Mesa driver updates (Daniel Borca)

22 years agouse -O3 to compile osmesa16/32 targets
Brian Paul [Sat, 23 Mar 2002 02:30:18 +0000 (02:30 +0000)]
use -O3 to compile osmesa16/32 targets

22 years agoreplaced an assertion with a conditional
Brian Paul [Sat, 23 Mar 2002 02:29:37 +0000 (02:29 +0000)]
replaced an assertion with a conditional

22 years agoremoved temporary GL_ARB_texture_mirrored_repeat enums
Brian Paul [Sat, 23 Mar 2002 01:49:58 +0000 (01:49 +0000)]
removed temporary GL_ARB_texture_mirrored_repeat enums

22 years agoremoved temporary ARB_texture enum defs
Brian Paul [Sat, 23 Mar 2002 01:48:18 +0000 (01:48 +0000)]
removed temporary ARB_texture enum defs

22 years agolatest extension headers from SGI
Brian Paul [Sat, 23 Mar 2002 01:47:27 +0000 (01:47 +0000)]
latest extension headers from SGI

22 years agoremoved glSamplePass()
Brian Paul [Wed, 20 Mar 2002 22:07:17 +0000 (22:07 +0000)]
removed glSamplePass()

22 years agodon't set plane mask for xm_buffer->gc, it causes an accum buffer conformance problem
Brian Paul [Tue, 19 Mar 2002 16:48:06 +0000 (16:48 +0000)]
don't set plane mask for xm_buffer->gc, it causes an accum buffer conformance problem

22 years agoUse MESA_PBUFFER_ALLOC/FREE macros to allocate all framebuffer and texture
Brian Paul [Tue, 19 Mar 2002 16:47:04 +0000 (16:47 +0000)]
Use MESA_PBUFFER_ALLOC/FREE macros to allocate all framebuffer and texture
memory.  These can be overridden by applications which need to manage this
memory specially.  Contributed by Gerk Huisma.
Also, new code for 8-bit -> 16-bit/channel texture image storage which
fills in the least-significant bits properly.

22 years agofix Intel C compiler warnings (Gerk Huisma)
Brian Paul [Tue, 19 Mar 2002 15:22:50 +0000 (15:22 +0000)]
fix Intel C compiler warnings (Gerk Huisma)

22 years agorename ResizeBuffersMESA to ResizeBuffers
Brian Paul [Sat, 16 Mar 2002 18:07:39 +0000 (18:07 +0000)]
rename ResizeBuffersMESA to ResizeBuffers

22 years agoadded latest 4.1 bug fixes/updates
Brian Paul [Sat, 16 Mar 2002 18:03:40 +0000 (18:03 +0000)]
added latest 4.1 bug fixes/updates

22 years agoNew mipmap lambda calculation. Previously, trilinear filtering could
Brian Paul [Sat, 16 Mar 2002 18:02:07 +0000 (18:02 +0000)]
New mipmap lambda calculation.  Previously, trilinear filtering could
result in _very_ blurry textures.  Still need to do some optimization
of the new code in s_span.c

22 years agobuffer resize changes
Brian Paul [Sat, 16 Mar 2002 00:57:14 +0000 (00:57 +0000)]
buffer resize changes

22 years agoadded XMesaResizeBuffers()
Brian Paul [Sat, 16 Mar 2002 00:53:48 +0000 (00:53 +0000)]
added XMesaResizeBuffers()

22 years agoLots of changes related to framebuffer/window buffer resizing. Basically,
Brian Paul [Sat, 16 Mar 2002 00:53:15 +0000 (00:53 +0000)]
Lots of changes related to framebuffer/window buffer resizing.  Basically,
instead of passing a GLcontext* to ResizeBuffers(), pass a GLframebuffer*.
The idea is that a window can be resized without it being bound to a rendering
context.  This makes for a nice clean-up in the XFree86 server-side GLX code.
Renamed ctx->Driver.ResizeBuffersMESA() to ctx->Driver.ResizeBuffers().

22 years agoprotect currentReadable reference with #ifndef GLX_BUILT_IN_XMESA
Brian Paul [Fri, 15 Mar 2002 18:43:25 +0000 (18:43 +0000)]
protect currentReadable reference with #ifndef GLX_BUILT_IN_XMESA

22 years agoupdated comments. removed dead code.
Brian Paul [Fri, 15 Mar 2002 18:33:12 +0000 (18:33 +0000)]
updated comments. removed dead code.

22 years agoremove a debug printf
Brian Paul [Fri, 15 Mar 2002 18:24:53 +0000 (18:24 +0000)]
remove a debug printf

22 years agofixed typo in CONVERT_TEXEL_DWORD for convert_abgr8888_to_ai88 textures (Michael...
Brian Paul [Fri, 15 Mar 2002 18:05:49 +0000 (18:05 +0000)]
fixed typo in CONVERT_TEXEL_DWORD for convert_abgr8888_to_ai88 textures (Michael Fitzpatrick)

22 years agofixed pointer arithmetic error in glCopyPixels
Brian Paul [Thu, 14 Mar 2002 22:09:25 +0000 (22:09 +0000)]
fixed pointer arithmetic error in glCopyPixels

22 years agoadded _mesa_image_image_stride()
Brian Paul [Wed, 13 Mar 2002 04:34:32 +0000 (04:34 +0000)]
added _mesa_image_image_stride()

22 years agoadded a comment
Brian Paul [Wed, 13 Mar 2002 04:33:32 +0000 (04:33 +0000)]
added a comment

22 years agoinitial work for NV_vertex_program1_1 extension
Brian Paul [Wed, 13 Mar 2002 04:33:16 +0000 (04:33 +0000)]
initial work for NV_vertex_program1_1 extension

22 years agoRemoved the xm_context field from XMesaBuffer. It was preventing N threads
Brian Paul [Tue, 12 Mar 2002 21:55:50 +0000 (21:55 +0000)]
Removed the xm_context field from XMesaBuffer.  It was preventing N threads
from rendering into one window in parallel and wasn't really needed anyway.

22 years agotweak file list for tarballs
Brian Paul [Mon, 11 Mar 2002 14:59:50 +0000 (14:59 +0000)]
tweak file list for tarballs

22 years agoobsolete
Brian Paul [Mon, 11 Mar 2002 14:57:40 +0000 (14:57 +0000)]
obsolete

22 years agofix some minor warnings
Brian Paul [Fri, 8 Mar 2002 19:44:28 +0000 (19:44 +0000)]
fix some minor warnings

22 years agoDOS driver updates from Daniel Borca
Brian Paul [Fri, 8 Mar 2002 19:27:17 +0000 (19:27 +0000)]
DOS driver updates from Daniel Borca

22 years agonew DOS driver files from Daniel Borca
Brian Paul [Fri, 8 Mar 2002 19:24:56 +0000 (19:24 +0000)]
new DOS driver files from Daniel Borca

22 years agonew assertions, use INLINE macro (Klaus Niederkrueger)
Brian Paul [Fri, 8 Mar 2002 00:09:18 +0000 (00:09 +0000)]
new assertions, use INLINE macro (Klaus Niederkrueger)

22 years agominor patches from David Dawes
Brian Paul [Thu, 7 Mar 2002 21:50:41 +0000 (21:50 +0000)]
minor patches from David Dawes

22 years agosyntax fixes for Solaris (David Dawes)
Brian Paul [Thu, 7 Mar 2002 21:40:08 +0000 (21:40 +0000)]
syntax fixes for Solaris (David Dawes)

22 years agosilence gcc warnings (Marc La France)
Brian Paul [Fri, 1 Mar 2002 04:28:32 +0000 (04:28 +0000)]
silence gcc warnings (Marc La France)

22 years agoupdated comments for CHAN_BITS=16 or 32
Brian Paul [Fri, 1 Mar 2002 04:23:36 +0000 (04:23 +0000)]
updated comments for CHAN_BITS=16 or 32

22 years agouse official enum values for GL_ARB_depth_texture and GL_ARB_shadow
Brian Paul [Mon, 25 Feb 2002 22:18:14 +0000 (22:18 +0000)]
use official enum values for GL_ARB_depth_texture and GL_ARB_shadow

22 years agoDOS updates from Daniel Borca
Brian Paul [Sat, 23 Feb 2002 17:11:27 +0000 (17:11 +0000)]
DOS updates from Daniel Borca

22 years agoFixed out-of-bounds memory write problem (CONVERT_TEXEL_DWORD macro).
Brian Paul [Thu, 21 Feb 2002 15:12:31 +0000 (15:12 +0000)]
Fixed out-of-bounds memory write problem (CONVERT_TEXEL_DWORD macro).
Renamed 'packing' to 'unpacking' since we're moving data from client -> GL.
Rnamed DST_ROW_WIDTH to DST_ROW_BYTES.

22 years agocheck for initialized XMesaBuffer in XMesaGarbageCollect()
Brian Paul [Wed, 20 Feb 2002 23:59:03 +0000 (23:59 +0000)]
check for initialized XMesaBuffer in XMesaGarbageCollect()

22 years agoUpdated 1D/3D/cube mipmapping code to work like the new 2D code.
Brian Paul [Sun, 17 Feb 2002 17:58:31 +0000 (17:58 +0000)]
Updated 1D/3D/cube mipmapping code to work like the new 2D code.

22 years agoundo some debug changes mistakenly checked in earlier
Brian Paul [Sun, 17 Feb 2002 17:37:55 +0000 (17:37 +0000)]
undo some debug changes mistakenly checked in earlier

22 years agoSimplified fog code.
Brian Paul [Sun, 17 Feb 2002 17:30:57 +0000 (17:30 +0000)]
Simplified fog code.

22 years agodon't include s_fog.h
Brian Paul [Sun, 17 Feb 2002 17:30:23 +0000 (17:30 +0000)]
don't include s_fog.h

22 years agoLots of improvements in the 2D texture sampling code. Fewer function calls
Brian Paul [Sun, 17 Feb 2002 01:58:59 +0000 (01:58 +0000)]
Lots of improvements in the 2D texture sampling code.  Fewer function calls
and no more switches inside loops.  To do: give the 1D/3D/cube routines the
same treatment.