mesa.git
22 years agoinit tmp->Normal.size = 3
Brian Paul [Thu, 8 Aug 2002 16:55:17 +0000 (16:55 +0000)]
init tmp->Normal.size = 3

22 years agocomments
Brian Paul [Thu, 8 Aug 2002 16:54:43 +0000 (16:54 +0000)]
comments

22 years agochange GLvector3f to GLvector4f for normal transformation
Brian Paul [Thu, 8 Aug 2002 16:53:12 +0000 (16:53 +0000)]
change GLvector3f to GLvector4f for normal transformation

22 years agochange dest stride to 16 bytes instead of 12
Brian Paul [Thu, 8 Aug 2002 15:36:50 +0000 (15:36 +0000)]
change dest stride to 16 bytes instead of 12

22 years agoinitialize SWvertex array to zeros
Brian Paul [Thu, 8 Aug 2002 00:41:11 +0000 (00:41 +0000)]
initialize SWvertex array to zeros

22 years agochanged normal stride from 12 to 16 bytes since normals are now GLfloat[4] (for verte...
Brian Paul [Wed, 7 Aug 2002 16:40:18 +0000 (16:40 +0000)]
changed normal stride from 12 to 16 bytes since normals are now GLfloat[4] (for vertex program)

22 years agore-check-in - something didn't work on the previous check-in
Brian Paul [Wed, 7 Aug 2002 15:18:42 +0000 (15:18 +0000)]
re-check-in - something didn't work on the previous check-in

22 years agolatest bug fixes
Brian Paul [Wed, 7 Aug 2002 00:46:17 +0000 (00:46 +0000)]
latest bug fixes

22 years agostruct sw_span is again allocated on the stack, but the arrays of span
Brian Paul [Wed, 7 Aug 2002 00:45:07 +0000 (00:45 +0000)]
struct sw_span is again allocated on the stack, but the arrays of span
data are broken out into a new struct span_arrays which is allocated
per-context (to avoid huge stack allocations - a problem on Windows).
This lets us use span.redStep instead of span->redStep (for example) to
hopefully get slightly better performance in the triangle functions.

22 years agoCoerce vsnprintf to _vsnprintf for windows
Karl Schultz [Sat, 3 Aug 2002 16:19:20 +0000 (16:19 +0000)]
Coerce vsnprintf to _vsnprintf for windows

22 years agomisc updates
Brian Paul [Thu, 1 Aug 2002 15:16:46 +0000 (15:16 +0000)]
misc updates

22 years agodefine MAXSTRING and use vsnprintf to preven overflows
Brian Paul [Thu, 1 Aug 2002 15:10:23 +0000 (15:10 +0000)]
define MAXSTRING and use vsnprintf to preven overflows

22 years agoCatch up windows driver with recent context mods
Karl Schultz [Mon, 29 Jul 2002 00:01:00 +0000 (00:01 +0000)]
Catch up windows driver with recent context mods

22 years agoexport new symbols for osmesa lib
Karl Schultz [Sun, 28 Jul 2002 18:01:36 +0000 (18:01 +0000)]
export new symbols for osmesa lib

22 years agofix warnings (bug 580528)
Brian Paul [Mon, 22 Jul 2002 13:45:31 +0000 (13:45 +0000)]
fix warnings (bug 580528)

22 years agofix patching offsets (Sven Panne) (patch 544637)
Brian Paul [Fri, 12 Jul 2002 16:00:57 +0000 (16:00 +0000)]
fix patching offsets (Sven Panne) (patch 544637)

22 years agosilence warnings
Brian Paul [Fri, 12 Jul 2002 15:54:19 +0000 (15:54 +0000)]
silence warnings

22 years agoPedantic compiler fixes (Sven Panne)
Brian Paul [Fri, 12 Jul 2002 15:54:01 +0000 (15:54 +0000)]
Pedantic compiler fixes (Sven Panne)

22 years agoapplied Eric Anholt's patch for Athlon SSE
Brian Paul [Thu, 11 Jul 2002 15:33:02 +0000 (15:33 +0000)]
applied Eric Anholt's patch for Athlon SSE

22 years agore-enable X86 code
Brian Paul [Wed, 10 Jul 2002 01:25:50 +0000 (01:25 +0000)]
re-enable X86 code

22 years agoadded Read/DrawBuffer porting info
Brian Paul [Tue, 9 Jul 2002 01:28:03 +0000 (01:28 +0000)]
added Read/DrawBuffer porting info

22 years agoOverhaul of glRead/DrawBuffer() code. Now, swrast->Driver.SetBuffer()
Brian Paul [Tue, 9 Jul 2002 01:22:50 +0000 (01:22 +0000)]
Overhaul of glRead/DrawBuffer() code.  Now, swrast->Driver.SetBuffer()
indicates the read AND draw color buffer for all software rasterization.
Lots of related clean-ups.  See RELNOTES-4.1 for details.

22 years ago Committing in .
Jouk Jansen [Mon, 1 Jul 2002 08:26:00 +0000 (08:26 +0000)]
 Committing in .

 Adding a missing ',' in a parameter list of a routine called

 Modified Files:
  Mesa/src/imports.c
 ----------------------------------------------------------------------

22 years agoAdded divide by zero check (Jon Perry). Remove dead vars. Fix indentation.
Brian Paul [Sun, 30 Jun 2002 16:58:11 +0000 (16:58 +0000)]
Added divide by zero check (Jon Perry).  Remove dead vars.  Fix indentation.

22 years agoadded Gerk Huisma's GLchan=GLfloat fixes
Brian Paul [Sun, 30 Jun 2002 16:16:03 +0000 (16:16 +0000)]
added Gerk Huisma's GLchan=GLfloat fixes

22 years agoCHAN_TYPE==GL_FLOAT clamping. call _tnl_MakeCurrent. (Gerk Huisma)
Brian Paul [Sun, 30 Jun 2002 16:07:18 +0000 (16:07 +0000)]
CHAN_TYPE==GL_FLOAT clamping.  call _tnl_MakeCurrent.  (Gerk Huisma)

22 years agoblending fixes for CHAN_TYPE==GL_FLOAT (Gerk Huisma)
Brian Paul [Sun, 30 Jun 2002 15:57:45 +0000 (15:57 +0000)]
blending fixes for CHAN_TYPE==GL_FLOAT (Gerk Huisma)

22 years agoadded GL_EXT_multi_draw_arrays
Brian Paul [Sun, 30 Jun 2002 15:49:03 +0000 (15:49 +0000)]
added GL_EXT_multi_draw_arrays

22 years agoadded unofficial dispatch offsets for GL_EXT_multi_draw_arrays functions
Brian Paul [Sun, 30 Jun 2002 15:47:43 +0000 (15:47 +0000)]
added unofficial dispatch offsets for GL_EXT_multi_draw_arrays functions

22 years agoImplemented GL_EXT_multi_draw_arrays: glMultiDrawArraysEXT() and glMultiDrawElementsE...
Brian Paul [Sun, 30 Jun 2002 15:47:00 +0000 (15:47 +0000)]
Implemented GL_EXT_multi_draw_arrays: glMultiDrawArraysEXT() and glMultiDrawElementsEXT().

22 years agoindentation fix
Brian Paul [Sat, 29 Jun 2002 20:04:57 +0000 (20:04 +0000)]
indentation fix

22 years agoprep for OpenGL 1.4 feature set
Brian Paul [Sat, 29 Jun 2002 20:03:13 +0000 (20:03 +0000)]
prep for OpenGL 1.4 feature set

22 years agoApplied Matt Sealey's patch to remove/isolate all stdio.h function calls.
Brian Paul [Sat, 29 Jun 2002 19:48:15 +0000 (19:48 +0000)]
Applied Matt Sealey's patch to remove/isolate all stdio.h function calls.
Instead of mstdio.[ch], use imports.[ch] to isolate these functions.

22 years agofix CHAN_TYPE==GL_FLOAT compile problem
Brian Paul [Wed, 26 Jun 2002 14:56:20 +0000 (14:56 +0000)]
fix CHAN_TYPE==GL_FLOAT compile problem

22 years agopull in 4.0.3 docs to trunk
Brian Paul [Wed, 26 Jun 2002 02:36:34 +0000 (02:36 +0000)]
pull in 4.0.3 docs to trunk

22 years agoremoved extra right-paren
Brian Paul [Tue, 25 Jun 2002 15:25:17 +0000 (15:25 +0000)]
removed extra right-paren

22 years agoFRONT_AND_BACK culling
Keith Whitwell [Tue, 25 Jun 2002 08:44:27 +0000 (08:44 +0000)]
FRONT_AND_BACK culling

22 years agofinish-up vertex program evaluators
Brian Paul [Tue, 25 Jun 2002 02:56:45 +0000 (02:56 +0000)]
finish-up vertex program evaluators

22 years agoremove an unneeded statement in update_polygon(), added a comment
Brian Paul [Tue, 25 Jun 2002 02:31:37 +0000 (02:31 +0000)]
remove an unneeded statement in update_polygon(), added a comment

22 years agotest program for NV_vertex_program and evaluators
Brian Paul [Sun, 23 Jun 2002 02:57:33 +0000 (02:57 +0000)]
test program for NV_vertex_program and evaluators

22 years agofix problems in _mesa_debug/printf()
Brian Paul [Sun, 23 Jun 2002 02:53:22 +0000 (02:53 +0000)]
fix problems in _mesa_debug/printf()

22 years agoadded some _mesa_debug() calls
Brian Paul [Sun, 23 Jun 2002 02:52:18 +0000 (02:52 +0000)]
added some _mesa_debug() calls

22 years agocheckpoint: updates for NV_vertex_program evaluators - a bit more left to do
Brian Paul [Sun, 23 Jun 2002 02:47:38 +0000 (02:47 +0000)]
checkpoint: updates for NV_vertex_program evaluators - a bit more left to do

22 years agoset stage->inputs properly (I think), plus debug/comment updates
Brian Paul [Sun, 23 Jun 2002 02:40:48 +0000 (02:40 +0000)]
set stage->inputs properly (I think), plus debug/comment updates

22 years agoadded support for NV_vertex_program evaluators
Brian Paul [Sun, 23 Jun 2002 02:36:27 +0000 (02:36 +0000)]
added support for NV_vertex_program evaluators

22 years agoAdded new bitfields to tnl_eval_store for NV_vertex_program evaluators
Brian Paul [Sun, 23 Jun 2002 02:32:39 +0000 (02:32 +0000)]
Added new bitfields to tnl_eval_store for NV_vertex_program evaluators

22 years agoput XSync in get_buffer_size(), plus clean-up
Brian Paul [Wed, 19 Jun 2002 21:49:37 +0000 (21:49 +0000)]
put XSync in get_buffer_size(), plus clean-up

22 years agoMoved GL_PROGRAM_ERROR_POSITION_NV state (it's not per-program).
Brian Paul [Tue, 18 Jun 2002 16:53:46 +0000 (16:53 +0000)]
Moved GL_PROGRAM_ERROR_POSITION_NV state (it's not per-program).
Finished all glGet* queries for GL_NV_vertex_program.
Improved error reporting in glEnable/Disable/Get, etc.

22 years ago Committing in .
Jouk Jansen [Tue, 18 Jun 2002 08:35:25 +0000 (08:35 +0000)]
 Committing in .

 Added mtypes.h inclusion

 Modified Files:
  Mesa/src/imports.c
 ----------------------------------------------------------------------

22 years agonew fix for initial window size problem
Brian Paul [Mon, 17 Jun 2002 23:38:14 +0000 (23:38 +0000)]
new fix for initial window size problem

22 years agoPort glXCopyContext bug from 4.0 branch.
Brian Paul [Mon, 17 Jun 2002 23:36:31 +0000 (23:36 +0000)]
Port glXCopyContext bug from 4.0 branch.

22 years agoJoe Krahn's context sharing test program
Brian Paul [Sun, 16 Jun 2002 03:57:48 +0000 (03:57 +0000)]
Joe Krahn's context sharing test program

22 years agoFix glXCopyContext bug
Brian Paul [Sun, 16 Jun 2002 03:56:11 +0000 (03:56 +0000)]
Fix glXCopyContext bug

22 years agofix a comment
Brian Paul [Sun, 16 Jun 2002 01:14:22 +0000 (01:14 +0000)]
fix a comment

22 years agofixed window size initialization bug
Brian Paul [Sun, 16 Jun 2002 01:11:10 +0000 (01:11 +0000)]
fixed window size initialization bug

22 years agoadded a comment
Brian Paul [Sun, 16 Jun 2002 01:10:41 +0000 (01:10 +0000)]
added a comment

22 years agoadded some braces
Brian Paul [Sun, 16 Jun 2002 01:09:16 +0000 (01:09 +0000)]
added some braces

22 years agothe GGI driver is up to date
Brian Paul [Sat, 15 Jun 2002 03:15:16 +0000 (03:15 +0000)]
the GGI driver is up to date

22 years agotest for GL_NV_texture_rectangle
Brian Paul [Sat, 15 Jun 2002 03:08:19 +0000 (03:08 +0000)]
test for GL_NV_texture_rectangle

22 years agoadded GL_ARB_texture_env_crossbar
Brian Paul [Sat, 15 Jun 2002 03:06:16 +0000 (03:06 +0000)]
added GL_ARB_texture_env_crossbar

22 years agoupdates to 4.1 features
Brian Paul [Sat, 15 Jun 2002 03:05:36 +0000 (03:05 +0000)]
updates to 4.1 features

22 years agoupdated with 4.0.x -> 4.1 porting info
Brian Paul [Sat, 15 Jun 2002 03:03:58 +0000 (03:03 +0000)]
updated with 4.0.x -> 4.1 porting info

22 years agoImplemented GL_NV_texture_rectangle extension.
Brian Paul [Sat, 15 Jun 2002 03:03:06 +0000 (03:03 +0000)]
Implemented GL_NV_texture_rectangle extension.
Replace struct gl_texure_object's Dimension w/ Target field.
Added _EnabledUnits to struct gl_texture_attrib - the _ReallyEnabled
  field is obsolete, but still present for now.  This effectively
  removes the 8-texture units limit, 32 units now possible, but unlikely!
New TEXTURE_1D/2D/3D/CUBE/RECT_BIT tokens for unit->_ReallyEnabled field.
Updated device drivers to use ctx->Texture._EnabledUnits.

22 years ago#ifdef-out unused big-endian texel fetch functions
Brian Paul [Sat, 15 Jun 2002 02:55:22 +0000 (02:55 +0000)]
#ifdef-out unused big-endian texel fetch functions

22 years agoadded missing ctx parameter to _mesa_debug() calls
Brian Paul [Sat, 15 Jun 2002 02:54:01 +0000 (02:54 +0000)]
added missing ctx parameter to _mesa_debug() calls

22 years agoAdded ctx parameter to _mesa_debug()
Brian Paul [Sat, 15 Jun 2002 02:38:15 +0000 (02:38 +0000)]
Added ctx parameter to _mesa_debug()
Added _mesa_printf()
Updated SetDrawBuffer() function in all drivers (ala 4.0.3)
Import 4.0.3/DRI changes.

22 years ago Committing in .
Jouk Jansen [Thu, 13 Jun 2002 08:27:32 +0000 (08:27 +0000)]
 Committing in .

  Added <stdarg.h>

 Modified Files:
  Mesa/src/imports.c
  ----------------------------------------------------------------------

22 years ago Committing in .
Jouk Jansen [Thu, 13 Jun 2002 07:22:59 +0000 (07:22 +0000)]
 Committing in .

 Removed config.c

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

22 years agoadded Porting Information section
Brian Paul [Thu, 13 Jun 2002 04:50:09 +0000 (04:50 +0000)]
added Porting Information section

22 years agomore removal of fprintf() calls
Brian Paul [Thu, 13 Jun 2002 04:49:17 +0000 (04:49 +0000)]
more removal of fprintf() calls

22 years agofixed a couple dumb mistakes
Brian Paul [Thu, 13 Jun 2002 04:31:09 +0000 (04:31 +0000)]
fixed a couple dumb mistakes

22 years agoNew _mesa_debug() function to replace fprintf() calls.
Brian Paul [Thu, 13 Jun 2002 04:28:29 +0000 (04:28 +0000)]
New _mesa_debug() function to replace fprintf() calls.
Some source files updated to call _mesa_debug(), but not finished.
Added __GLimports as a parameter to _mesa_create/init_context() and
updated drivers accordingly.
Fleshed-out more of the __GLimports and __GLexports functionality.
Removed run-time config file support (config.c)

22 years agoMoved big/little endian code to glheader.h.
Brian Paul [Wed, 12 Jun 2002 00:52:50 +0000 (00:52 +0000)]
Moved big/little endian code to glheader.h.
Define either MESA_BIG_ENDIAN or MESA_LITTLE_ENDIAN.

22 years agoFix NASM problems, remove static var in SSE detection code. (Josh Vanderhoof)
Brian Paul [Tue, 11 Jun 2002 01:26:58 +0000 (01:26 +0000)]
Fix NASM problems, remove static var in SSE detection code.  (Josh Vanderhoof)

22 years agoAdded CPLUSPLUS for sunos5 entries
Brian Paul [Mon, 10 Jun 2002 17:01:46 +0000 (17:01 +0000)]
Added CPLUSPLUS for sunos5 entries

22 years agoGGI driver updates (Filip Spacek)
Brian Paul [Mon, 10 Jun 2002 15:16:44 +0000 (15:16 +0000)]
GGI driver updates (Filip Spacek)

22 years agoadded missing texture cube map targets
Brian Paul [Sat, 8 Jun 2002 12:39:18 +0000 (12:39 +0000)]
added missing texture cube map targets

22 years agoversion 15 of glext.h
Brian Paul [Fri, 7 Jun 2002 20:21:12 +0000 (20:21 +0000)]
version 15 of glext.h

22 years agos/GL_MAX_TEXTURE_RECTANGLE_SIZE_NV/GL_MAX_RECTANGLE_TEXTURE_SIZE_NV/
Brian Paul [Fri, 7 Jun 2002 19:29:49 +0000 (19:29 +0000)]
s/GL_MAX_TEXTURE_RECTANGLE_SIZE_NV/GL_MAX_RECTANGLE_TEXTURE_SIZE_NV/

22 years agofixed point sprite bug
Brian Paul [Fri, 7 Jun 2002 16:01:03 +0000 (16:01 +0000)]
fixed point sprite bug

22 years agoreplaced hard-coded 4 with NUM_TEXTURE_TARGETS
Brian Paul [Thu, 6 Jun 2002 16:31:24 +0000 (16:31 +0000)]
replaced hard-coded 4 with NUM_TEXTURE_TARGETS

22 years agoreplaced 0xf and 0xf0 with TEXTURE0_ANY and TEXTURE1_ANY
Brian Paul [Thu, 6 Jun 2002 16:19:25 +0000 (16:19 +0000)]
replaced 0xf and 0xf0 with TEXTURE0_ANY and TEXTURE1_ANY

22 years agoNASM fix for *_CONTENT() macros (Josh Vanderhoof)
Brian Paul [Thu, 6 Jun 2002 15:33:37 +0000 (15:33 +0000)]
NASM fix for *_CONTENT() macros (Josh Vanderhoof)

22 years agomore big-endian tweaks
Brian Paul [Wed, 5 Jun 2002 16:48:54 +0000 (16:48 +0000)]
more big-endian tweaks

22 years agouse CONTENT() macro on line 205 (Josh Vanderhoof)
Brian Paul [Tue, 4 Jun 2002 21:29:20 +0000 (21:29 +0000)]
use CONTENT() macro on line 205 (Josh Vanderhoof)

22 years agobring over Michel Daenzer's DRI changes
Brian Paul [Mon, 3 Jun 2002 16:06:34 +0000 (16:06 +0000)]
bring over Michel Daenzer's DRI changes

22 years agoadded another spot-check to verify dispatch table correctness
Brian Paul [Wed, 29 May 2002 15:23:16 +0000 (15:23 +0000)]
added another spot-check to verify dispatch table correctness

22 years agoAdded GL_NV_point_sprite functions: glPointParameteri[v]NV().
Brian Paul [Wed, 29 May 2002 15:16:01 +0000 (15:16 +0000)]
Added GL_NV_point_sprite functions: glPointParameteri[v]NV().
Removed dead ARB_window_pos functions (we alias the MESA_window_pos funcs).

22 years agoadded GL_NV_point_sprite entrypoints
Brian Paul [Wed, 29 May 2002 15:14:13 +0000 (15:14 +0000)]
added GL_NV_point_sprite entrypoints

22 years agoadded -axK to linux-icc CFLAGS
Brian Paul [Mon, 27 May 2002 17:13:42 +0000 (17:13 +0000)]
added -axK to linux-icc CFLAGS

22 years agosome initial work for fbconfigs/pbuffers
Brian Paul [Mon, 27 May 2002 17:06:59 +0000 (17:06 +0000)]
some initial work for fbconfigs/pbuffers

22 years agoadded GL_NV_point_sprite
Brian Paul [Mon, 27 May 2002 17:05:51 +0000 (17:05 +0000)]
added GL_NV_point_sprite

22 years agoremoved experiemental GL_MESA_sprite_point extension
Brian Paul [Mon, 27 May 2002 17:05:19 +0000 (17:05 +0000)]
removed experiemental GL_MESA_sprite_point extension

22 years agoreplaced experimental MESA_sprite_point with NV_point_sprite
Brian Paul [Mon, 27 May 2002 17:04:52 +0000 (17:04 +0000)]
replaced experimental MESA_sprite_point with NV_point_sprite

22 years agodispatch offsets for ARB_window_pos
Brian Paul [Mon, 27 May 2002 17:03:08 +0000 (17:03 +0000)]
dispatch offsets for ARB_window_pos

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