mesa.git
22 years agoremove GLint t, pass target to _mesa_init_teximage_fields()
Brian Paul [Tue, 17 Sep 2002 14:14:18 +0000 (14:14 +0000)]
remove GLint t, pass target to _mesa_init_teximage_fields()

22 years agofixed _mesa_generate_mipmaps() target problem
Brian Paul [Mon, 16 Sep 2002 17:57:14 +0000 (17:57 +0000)]
fixed _mesa_generate_mipmaps() target problem

22 years agomore detailed _mesa_error() messages
Brian Paul [Mon, 16 Sep 2002 17:56:02 +0000 (17:56 +0000)]
more detailed _mesa_error() messages

22 years agodoxygen comments
Brian Paul [Mon, 16 Sep 2002 17:55:36 +0000 (17:55 +0000)]
doxygen comments

22 years agofixed pixel pack bug in glGetTexImage()
Brian Paul [Sat, 14 Sep 2002 16:51:34 +0000 (16:51 +0000)]
fixed pixel pack bug in glGetTexImage()

22 years agoMark destroyed context as not current. (Frank Warmerdam)
Karl Schultz [Thu, 12 Sep 2002 17:05:55 +0000 (17:05 +0000)]
Mark destroyed context as not current.  (Frank Warmerdam)

22 years agooptimizations to _math_matrix_rotate() (Rudolf Opalla)
Brian Paul [Thu, 12 Sep 2002 16:26:04 +0000 (16:26 +0000)]
optimizations to _math_matrix_rotate() (Rudolf Opalla)

22 years agomore detailed _mesa_error() strings
Brian Paul [Sun, 8 Sep 2002 17:29:16 +0000 (17:29 +0000)]
more detailed _mesa_error() strings

22 years agoincorrect dimenstion passed to texture_error_check() in compressed teximage functions
Brian Paul [Fri, 6 Sep 2002 14:42:04 +0000 (14:42 +0000)]
incorrect dimenstion passed to texture_error_check() in compressed teximage functions

22 years agoremoved GL_MAX_CONVOLUTION_WIDTH/HEIGHT
Brian Paul [Fri, 6 Sep 2002 13:00:50 +0000 (13:00 +0000)]
removed GL_MAX_CONVOLUTION_WIDTH/HEIGHT

22 years agodon't query GL_MAX_CONVOLUTION_WIDTH/HEIGHT
Brian Paul [Fri, 6 Sep 2002 12:58:56 +0000 (12:58 +0000)]
don't query GL_MAX_CONVOLUTION_WIDTH/HEIGHT

22 years agominor updates to sync with XFree86
Brian Paul [Fri, 6 Sep 2002 03:47:34 +0000 (03:47 +0000)]
minor updates to sync with XFree86

22 years agoadded -l option to print interesting OpenGL limits
Brian Paul [Fri, 6 Sep 2002 03:35:43 +0000 (03:35 +0000)]
added -l option to print interesting OpenGL limits

22 years agofixed glSampleCoverage typo
Brian Paul [Fri, 6 Sep 2002 03:30:20 +0000 (03:30 +0000)]
fixed glSampleCoverage typo

22 years agoimplemented glProgramParameters4[df]vNV()
Brian Paul [Fri, 6 Sep 2002 03:25:03 +0000 (03:25 +0000)]
implemented glProgramParameters4[df]vNV()

22 years agohook-up dispatch for glActiveStencilFaceEXT()
Brian Paul [Fri, 6 Sep 2002 03:20:21 +0000 (03:20 +0000)]
hook-up dispatch for glActiveStencilFaceEXT()

22 years agoadded GL_EXT_stencil_two_side and GL_NV_fence
Brian Paul [Fri, 6 Sep 2002 03:19:32 +0000 (03:19 +0000)]
added GL_EXT_stencil_two_side and GL_NV_fence

22 years agoGL_EXT_stencil_two_side extension, not 100% complete yet.
Brian Paul [Fri, 6 Sep 2002 02:56:08 +0000 (02:56 +0000)]
GL_EXT_stencil_two_side extension, not 100% complete yet.

22 years agoremoved glext.h fix-ups corrected in glext.h version 17
Brian Paul [Fri, 6 Sep 2002 02:52:23 +0000 (02:52 +0000)]
removed glext.h fix-ups corrected in glext.h version 17

22 years agoversion 17
Brian Paul [Fri, 6 Sep 2002 02:48:09 +0000 (02:48 +0000)]
version 17

22 years agoadded OpenGL 1.4 entrypoints
Brian Paul [Fri, 6 Sep 2002 02:46:08 +0000 (02:46 +0000)]
added OpenGL 1.4 entrypoints

22 years agoadded GL_IBM_texture_mirrored_repeat (Ian Romanick)
Brian Paul [Thu, 5 Sep 2002 21:16:30 +0000 (21:16 +0000)]
added GL_IBM_texture_mirrored_repeat (Ian Romanick)

22 years agotest for ARB_texture_cube_map when getting GL version(Ian Romanick)
Brian Paul [Thu, 5 Sep 2002 21:14:36 +0000 (21:14 +0000)]
test for ARB_texture_cube_map when getting GL version(Ian Romanick)

22 years ago Committing in .
Jouk Jansen [Thu, 5 Sep 2002 08:38:01 +0000 (08:38 +0000)]
 Committing in .

 Adding vsnprintf support for OpenVMS (needed in src/imports.c)

 Modified Files:
  Mesa/src/Makefile.am Mesa/src/descrip.mms
 Added Files:
  Mesa/src/vsnprintf.c
 ----------------------------------------------------------------------

22 years agoupdated wglGetProcAddress
Brian Paul [Wed, 4 Sep 2002 14:14:36 +0000 (14:14 +0000)]
updated wglGetProcAddress

22 years agoupdated DOS file list
Brian Paul [Tue, 3 Sep 2002 18:14:08 +0000 (18:14 +0000)]
updated DOS file list

22 years agoupdates from Daniel Borca
Brian Paul [Tue, 3 Sep 2002 18:11:32 +0000 (18:11 +0000)]
updates from Daniel Borca

22 years agoimproved error string
Brian Paul [Tue, 3 Sep 2002 18:05:17 +0000 (18:05 +0000)]
improved error string

22 years agos/5/NUM_TEXTURE_TARGETS/
Brian Paul [Tue, 3 Sep 2002 18:03:45 +0000 (18:03 +0000)]
s/5/NUM_TEXTURE_TARGETS/

22 years agofixed compilation problem for swdd->SetBuffer
Brian Paul [Tue, 3 Sep 2002 17:10:54 +0000 (17:10 +0000)]
fixed compilation problem for swdd->SetBuffer

22 years agofix up stuff accidentaly checked in a few days ago
Brian Paul [Thu, 29 Aug 2002 14:02:27 +0000 (14:02 +0000)]
fix up stuff accidentaly checked in a few days ago

22 years agoDon't call _mesa_initialize_context because we are using
Karl Schultz [Wed, 28 Aug 2002 18:26:38 +0000 (18:26 +0000)]
Don't call _mesa_initialize_context because we are using
_mesa_create_context.  This avoids calling initialize twice and fixes
memory leaks.  Add call to free the GL context because we are creating it
with _mesa_create_context, fixing another leak.

22 years agodefine GLAPIENTRY and GLAPI if not defined in gl.h
Brian Paul [Tue, 27 Aug 2002 21:47:31 +0000 (21:47 +0000)]
define GLAPIENTRY and GLAPI if not defined in gl.h

22 years agoadded glXAllocate/FreeMemoryNV()
Brian Paul [Thu, 22 Aug 2002 21:10:37 +0000 (21:10 +0000)]
added glXAllocate/FreeMemoryNV()

22 years agostub functions for glXAllocate/FreeMemoryNV()
Brian Paul [Thu, 22 Aug 2002 21:10:01 +0000 (21:10 +0000)]
stub functions for glXAllocate/FreeMemoryNV()

22 years agominor error message changes
Brian Paul [Wed, 21 Aug 2002 16:39:39 +0000 (16:39 +0000)]
minor error message changes

22 years agore-enable ASSIGN_NORM_GROUP( 3dnow )
Brian Paul [Wed, 21 Aug 2002 13:07:17 +0000 (13:07 +0000)]
re-enable ASSIGN_NORM_GROUP( 3dnow )

22 years agoreplace Current.Color with Current.Attrib[VERT_ATTRIB_COLOR0]
Brian Paul [Wed, 21 Aug 2002 13:05:37 +0000 (13:05 +0000)]
replace Current.Color with Current.Attrib[VERT_ATTRIB_COLOR0]

22 years agoupdate colormaterial state on swtcl wakeup
Keith Whitwell [Wed, 21 Aug 2002 10:39:59 +0000 (10:39 +0000)]
update colormaterial state on swtcl wakeup

22 years agos/DrawDestMask/_DrawDestMask/
Brian Paul [Wed, 21 Aug 2002 02:59:31 +0000 (02:59 +0000)]
s/DrawDestMask/_DrawDestMask/

22 years agos/ProjectedClipPtr/NdcPtr/
Brian Paul [Wed, 21 Aug 2002 02:59:00 +0000 (02:59 +0000)]
s/ProjectedClipPtr/NdcPtr/

22 years agofix problems in FXgetImage()
Brian Paul [Wed, 21 Aug 2002 02:57:58 +0000 (02:57 +0000)]
fix problems in FXgetImage()

22 years agofixed array index typo in VERT_SAVE_RGBA() macro
Brian Paul [Wed, 21 Aug 2002 02:56:58 +0000 (02:56 +0000)]
fixed array index typo in VERT_SAVE_RGBA() macro

22 years agoadded multitexture and line stipple
Brian Paul [Sat, 17 Aug 2002 00:30:36 +0000 (00:30 +0000)]
added multitexture and line stipple

22 years agominor tweaks
Brian Paul [Sat, 17 Aug 2002 00:29:55 +0000 (00:29 +0000)]
minor tweaks

22 years agoadded error checking for glCallLists() type parameter
Brian Paul [Sat, 17 Aug 2002 00:26:29 +0000 (00:26 +0000)]
added error checking for glCallLists() type parameter

22 years agoadded new GLUT features
Brian Paul [Sat, 17 Aug 2002 00:23:19 +0000 (00:23 +0000)]
added new GLUT features

22 years agobump lib version to 3.7.1, more make clean commands
Brian Paul [Sat, 17 Aug 2002 00:20:48 +0000 (00:20 +0000)]
bump lib version to 3.7.1, more make clean commands

22 years agoadded glutGetProcAddress()
Brian Paul [Sat, 17 Aug 2002 00:12:48 +0000 (00:12 +0000)]
added glutGetProcAddress()

22 years agoadded glutGetProcAddress() and GLUT_FPS env var option
Brian Paul [Sat, 17 Aug 2002 00:12:12 +0000 (00:12 +0000)]
added glutGetProcAddress() and GLUT_FPS env var option

22 years agoAdd note about needing to run VCVARS32.BAT when compiling.
Karl Schultz [Thu, 15 Aug 2002 15:13:31 +0000 (15:13 +0000)]
Add note about needing to run VCVARS32.BAT when compiling.
Add book and samples to the list of dirs that are built.
Reword some notes about the build process.

22 years agoadded (char *) casts
Brian Paul [Thu, 8 Aug 2002 17:12:38 +0000 (17:12 +0000)]
added (char *) casts

22 years agofix up resulting FOGC and PSIZ when needed
Brian Paul [Thu, 8 Aug 2002 16:55:56 +0000 (16:55 +0000)]
fix up resulting FOGC and PSIZ when needed

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