mesa.git
22 years agoupdated vertex program dispatch
Brian Paul [Mon, 27 May 2002 17:00:18 +0000 (17:00 +0000)]
updated vertex program dispatch

22 years agoupdated vertex program dispatch offsets to official values
Brian Paul [Mon, 27 May 2002 16:58:24 +0000 (16:58 +0000)]
updated vertex program dispatch offsets to official values

22 years agoanother checkpoint of struct immediate replacement code
Keith Whitwell [Sat, 11 May 2002 08:38:25 +0000 (08:38 +0000)]
another checkpoint of struct immediate replacement code

22 years agoMinor change to current raster position and texcoords.
Brian Paul [Thu, 9 May 2002 21:54:16 +0000 (21:54 +0000)]
Minor change to current raster position and texcoords.

22 years agoFix FETCH(argb1555) mask values
Keith Whitwell [Thu, 9 May 2002 20:51:05 +0000 (20:51 +0000)]
Fix FETCH(argb1555) mask values

22 years agoremove -xK flag from linux-icc
Brian Paul [Mon, 6 May 2002 15:46:05 +0000 (15:46 +0000)]
remove -xK flag from linux-icc

22 years agoadded linux-icc config (Marc.Dietrich)
Brian Paul [Sun, 5 May 2002 16:00:06 +0000 (16:00 +0000)]
added linux-icc config (Marc.Dietrich)

22 years agoremove test code
Alan Hourihane [Thu, 2 May 2002 09:17:59 +0000 (09:17 +0000)]
remove test code

22 years agoglutSwapBuffers implicitly does a glFinish when swapping back to the front
Alan Hourihane [Thu, 2 May 2002 09:15:22 +0000 (09:15 +0000)]
glutSwapBuffers implicitly does a glFinish when swapping back to the front
buffer. We now issue a glFinish when not issuing SwapBuffers to ensure
the pipeline is complete.

(Problem found with Chromium).

22 years agoImplemented GL_ARB_texture_env_crossbar.
Brian Paul [Thu, 2 May 2002 00:59:20 +0000 (00:59 +0000)]
Implemented GL_ARB_texture_env_crossbar.
Simplification of some of the texture application code.

22 years agoreplaced GLshort with GLushort in _mesa_sizeof_packed_type()
Brian Paul [Fri, 26 Apr 2002 13:59:09 +0000 (13:59 +0000)]
replaced GLshort with GLushort in _mesa_sizeof_packed_type()

22 years agoadded GL_TEXTURE_MAX_ANISOTROPY_EXT to glGetTexParameteriv()
Brian Paul [Fri, 26 Apr 2002 13:40:11 +0000 (13:40 +0000)]
added GL_TEXTURE_MAX_ANISOTROPY_EXT to glGetTexParameteriv()

22 years agoadded GL_TEXTURE_MAX_ANISOTROPY_EXT to glGetTexParameter (bug 548812)
Brian Paul [Thu, 25 Apr 2002 22:11:33 +0000 (22:11 +0000)]
added GL_TEXTURE_MAX_ANISOTROPY_EXT to glGetTexParameter (bug 548812)

22 years agotest mapsize against 1, not 0 in glPixelMap()
Brian Paul [Wed, 24 Apr 2002 20:11:20 +0000 (20:11 +0000)]
test mapsize against 1, not 0 in glPixelMap()

22 years agoadded GL_EDGE_FLAG_ARRAY_COUNT_EXT to glGetBooleanv() (Bug 548277)
Brian Paul [Wed, 24 Apr 2002 20:05:26 +0000 (20:05 +0000)]
added GL_EDGE_FLAG_ARRAY_COUNT_EXT to glGetBooleanv() (Bug 548277)

22 years agoApply alpha buffer control fix to accum buffer too.
Karl Schultz [Tue, 23 Apr 2002 18:39:09 +0000 (18:39 +0000)]
Apply alpha buffer control fix to accum buffer too.

22 years agoFix up alpha buffer handling for Windows.
Karl Schultz [Tue, 23 Apr 2002 18:23:32 +0000 (18:23 +0000)]
Fix up alpha buffer handling for Windows.
- add two new Pixel Format Descriptors that do not have alpha bits to
mirror the two that do.
- add logic to wglChoosePixelFormat to match PFD's with respect to alpha.
- Create/clear software alpha buffer as required.
Now a wgl or GLUT program can control the creation of a software alpha
buffer via the PFD or GLUT parms, respectively.

22 years agocall _mesa_sizeof_packed_type() in _mesa_GetTexImage() (bug 547203)
Brian Paul [Tue, 23 Apr 2002 16:44:46 +0000 (16:44 +0000)]
call _mesa_sizeof_packed_type() in _mesa_GetTexImage() (bug 547203)

22 years agoTest for NULL pointer for LoadMatrix(), MultMatrix() and
Alan Hourihane [Mon, 22 Apr 2002 20:00:16 +0000 (20:00 +0000)]
Test for NULL pointer for LoadMatrix(), MultMatrix() and
Load/MultTransposeMatrix() and return without recording any errors or
doing any multiplication.

22 years agoremoved CVS $Log comments
Brian Paul [Mon, 22 Apr 2002 16:03:37 +0000 (16:03 +0000)]
removed CVS $Log comments

22 years agotest program for NV_vertex_program + vertex arrays
Brian Paul [Mon, 22 Apr 2002 15:53:54 +0000 (15:53 +0000)]
test program for NV_vertex_program + vertex arrays

22 years ago Committing in .
Jouk Jansen [Mon, 22 Apr 2002 10:29:43 +0000 (10:29 +0000)]
 Committing in .

 Remove __FUNCTION__ macro definition from CC compile definitions.
 (OpenVMS only)

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

22 years agoadded to-do list for the 4.1 release
Brian Paul [Sun, 21 Apr 2002 21:12:49 +0000 (21:12 +0000)]
added to-do list for the 4.1 release

22 years agocheck for vertex program mode
Brian Paul [Sun, 21 Apr 2002 21:04:46 +0000 (21:04 +0000)]
check for vertex program mode

22 years agofixed assertion, replaced switch() with if/elseif
Brian Paul [Sun, 21 Apr 2002 21:03:02 +0000 (21:03 +0000)]
fixed assertion, replaced switch() with if/elseif

22 years agoVertex program attribute arrays seem to work now. This includes fallbacks
Brian Paul [Sun, 21 Apr 2002 20:37:04 +0000 (20:37 +0000)]
Vertex program attribute arrays seem to work now.  This includes fallbacks
to the conventional arrays when attribute arrays aren't enabled.

22 years agoadded support for vertex program attribute arrays
Brian Paul [Sun, 21 Apr 2002 19:39:48 +0000 (19:39 +0000)]
added support for vertex program attribute arrays

22 years agovertex program attribute array work
Brian Paul [Sun, 21 Apr 2002 18:49:18 +0000 (18:49 +0000)]
vertex program attribute array work

22 years agofixed Width/Height cut&paste typo
Brian Paul [Sat, 20 Apr 2002 17:54:55 +0000 (17:54 +0000)]
fixed Width/Height cut&paste typo

22 years agoRe-scheduling of the instructions according to the MMX pairing rules. This is dificul...
Jose Fonseca [Fri, 19 Apr 2002 21:27:12 +0000 (21:27 +0000)]
Re-scheduling of the instructions according to the MMX pairing rules. This is dificult to quantify but the improvemnet reaches about of 0.7% in some cases in a Pentium III. In older Pentiums the improvements could be quite substancial due less capable integer pipelines.

22 years agoAdded min and max blend functions.
Jose Fonseca [Fri, 19 Apr 2002 20:12:30 +0000 (20:12 +0000)]
Added min and max blend functions.
Slight optimization of _mesa_mmx_blend_add.

22 years agoProvide a reasonable replacement for __FUNCTION__ when using non GNU C
Karl Schultz [Fri, 19 Apr 2002 15:49:40 +0000 (15:49 +0000)]
Provide a reasonable replacement for __FUNCTION__ when using non GNU C
compilers.  This allows Mesa to compile with non GNU C compilers again.

22 years agoAllocate a sw_span struct in the swrast context instead of allocating it
Brian Paul [Fri, 19 Apr 2002 14:05:50 +0000 (14:05 +0000)]
Allocate a sw_span struct in the swrast context instead of allocating it
on the stack frame in the point/line/triangle functions. (Klaus Niederkrueger)
This should solve the performance problem Karl found on Windows.

22 years agopass context pointer to _tnl_free_immediate(), removed backref pointer
Brian Paul [Fri, 19 Apr 2002 12:32:14 +0000 (12:32 +0000)]
pass context pointer to _tnl_free_immediate(), removed backref pointer

22 years agoMMX add blending function added.
Jose Fonseca [Fri, 19 Apr 2002 10:53:08 +0000 (10:53 +0000)]
MMX add blending function added.

22 years agoMMX modulate belding function added.
Jose Fonseca [Fri, 19 Apr 2002 10:33:34 +0000 (10:33 +0000)]
MMX modulate belding function added.
Factorization of more common MMX code.

22 years agoCorrect check for noop array state change (Raystonn)
Alan Hourihane [Fri, 19 Apr 2002 08:38:23 +0000 (08:38 +0000)]
Correct check for noop array state change (Raystonn)

22 years agoremoved a stray debug printf
Brian Paul [Fri, 19 Apr 2002 01:08:48 +0000 (01:08 +0000)]
removed a stray debug printf

22 years agoC++ fix
Brian Paul [Fri, 19 Apr 2002 00:47:07 +0000 (00:47 +0000)]
C++ fix

22 years agonew casts
Brian Paul [Fri, 19 Apr 2002 00:45:50 +0000 (00:45 +0000)]
new casts

22 years agoadded two (GLchan *) casts
Brian Paul [Fri, 19 Apr 2002 00:42:20 +0000 (00:42 +0000)]
added two (GLchan *) casts

22 years agocasts to fix GLint/GLuint mismatches
Brian Paul [Fri, 19 Apr 2002 00:38:27 +0000 (00:38 +0000)]
casts to fix GLint/GLuint mismatches

22 years agoadded some casts
Brian Paul [Fri, 19 Apr 2002 00:23:08 +0000 (00:23 +0000)]
added some casts

22 years agorestored writeAll = GL_FALSE test/assignment
Brian Paul [Thu, 18 Apr 2002 14:57:00 +0000 (14:57 +0000)]
restored writeAll = GL_FALSE test/assignment

22 years agoDefinition of several utility macros for self-contained MMX operations such as scalin...
Jose Fonseca [Thu, 18 Apr 2002 11:57:28 +0000 (11:57 +0000)]
Definition of several utility macros for self-contained MMX operations such as scaling and lerping.
Restructured the MMX blending function to use a template, being only necessary to specify the main loop, which is also used for making the runin and runout sections.
Optimization of the MMX function after remembering that the multiplication was commutative (how can somebody forget this..) resulting in less register usage. Now there is no need for generate or read from memory any constant inside the loop.

Assemblers other than the GNU assembler can choke on the output of the C preprocessor since it was necessary to add line separators ';' to the defined macros.

22 years agoCore of the future vertex engine. Isn't built yet, nor will be for a while...
Keith Whitwell [Thu, 18 Apr 2002 08:17:03 +0000 (08:17 +0000)]
Core of the future vertex engine.  Isn't built yet, nor will be for a while...
Checkpoint commit.

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