mesa.git
20 years agoCall UpdateMaterial() unconditionally on GL_COLOR_MATERIAL state change
Michel Dänzer [Fri, 23 Jan 2004 03:33:04 +0000 (03:33 +0000)]
Call UpdateMaterial() unconditionally on GL_COLOR_MATERIAL state change
(Roland Scheidegger), and update lighting state unconditionally there.
Fixes lighting oddities in the xscreensaver endgame hack, bzflag and
possibly elsewhere.

20 years agoFix attenuation hardware state handling, inspired by the R200 DDK reference
Michel Dänzer [Fri, 23 Jan 2004 03:19:47 +0000 (03:19 +0000)]
Fix attenuation hardware state handling, inspired by the R200 DDK reference
driver (our r200 driver basically didn't do this at all, maybe got lost
along the way?)

20 years agoInitial support for floating point and signed texture formats.
Brian Paul [Fri, 23 Jan 2004 01:59:54 +0000 (01:59 +0000)]
Initial support for floating point and signed texture formats.
New "FetchTexelFuncF()" function returns texels in floating point format.
Only used for depth component images at this time.
Changed original FetchTexelFunc to return GLchan instead of GLvoid, removing
need for a bunch of ugly casts.

20 years agomisc updates
Brian Paul [Fri, 23 Jan 2004 01:56:26 +0000 (01:56 +0000)]
misc updates

20 years agoMinor tweaks to help out at a driver level.
Keith Whitwell [Thu, 22 Jan 2004 22:40:40 +0000 (22:40 +0000)]
Minor tweaks to help out at a driver level.

20 years agoCorrected a comment about how the DOT3 hardware works in the R200.
Ian Romanick [Thu, 22 Jan 2004 16:25:02 +0000 (16:25 +0000)]
Corrected a comment about how the DOT3 hardware works in the R200.

20 years ago Committing in .
Jouk Jansen [Thu, 22 Jan 2004 15:02:17 +0000 (15:02 +0000)]
 Committing in .

 Updated OpenVMS compile support

 Modified Files:
  Mesa/Makefile.X11 Mesa/src/mesa/descrip.mms
  Mesa/src/mesa/drivers/osmesa/descrip.mms
  Mesa/src/mesa/drivers/x11/descrip.mms
 Added Files:
  Mesa/src/mesa/drivers/common/descrip.mms
 ----------------------------------------------------------------------

20 years agoSilence some compiler warnings.
Ian Romanick [Wed, 21 Jan 2004 17:03:58 +0000 (17:03 +0000)]
Silence some compiler warnings.

20 years agoMake the R200 driver work with the NewTextureObject in Mesa. Other
Ian Romanick [Wed, 21 Jan 2004 16:42:30 +0000 (16:42 +0000)]
Make the R200 driver work with the NewTextureObject in Mesa.  Other
drivers that use the texmem interface will likely need similar changes.

20 years agoSilence a compiler warning DRI builds using gcc3.
Ian Romanick [Wed, 21 Jan 2004 16:26:05 +0000 (16:26 +0000)]
Silence a compiler warning DRI builds using gcc3.

20 years agoUse new EMIT_PAD functionality for spec and/or fog as available.
Keith Whitwell [Wed, 21 Jan 2004 16:24:05 +0000 (16:24 +0000)]
Use new EMIT_PAD functionality for spec and/or fog as available.
Fix a couple of problems with texture emit.

20 years agoRemove dd_function_table::BlendFunc. All drivers now use
Ian Romanick [Wed, 21 Jan 2004 16:08:43 +0000 (16:08 +0000)]
Remove dd_function_table::BlendFunc.  All drivers now use
dd_function_table:BlendFuncSeparate.  If a driver does not actually
support EXT_blend_func_separate, it can assume that the RGB and alpha
blend functions are the same.

20 years agoAnother mechanism to create vertices with holes - a new EMIT_PAD style
Keith Whitwell [Wed, 21 Jan 2004 15:31:46 +0000 (15:31 +0000)]
Another mechanism to create vertices with holes - a new EMIT_PAD style

20 years agodon't call glVertex functions directly, call _glapi_Dispatch->Vertex(), etc
Brian Paul [Wed, 21 Jan 2004 04:13:49 +0000 (04:13 +0000)]
don't call glVertex functions directly, call _glapi_Dispatch->Vertex(), etc

20 years agoremove _mesa_check_driver_hooks() - it's really not too useful anymore
Brian Paul [Tue, 20 Jan 2004 23:55:45 +0000 (23:55 +0000)]
remove _mesa_check_driver_hooks() - it's really not too useful anymore

20 years agoUndo some bits from last check-in related to the ctx->Driver.NewTextureObject
Brian Paul [Tue, 20 Jan 2004 15:24:50 +0000 (15:24 +0000)]
Undo some bits from last check-in related to the ctx->Driver.NewTextureObject
functions.  Don't allocate the driver-specific data during texture object
creation but do it later as needed (as code originally was).

20 years agofixed a bug in VGA initialization routine
Daniel Borca [Tue, 20 Jan 2004 14:15:35 +0000 (14:15 +0000)]
fixed a bug in VGA initialization routine

20 years agoremove duplicate t_dd_* files
Keith Whitwell [Tue, 20 Jan 2004 11:22:20 +0000 (11:22 +0000)]
remove duplicate t_dd_* files

20 years agoinitial 6.1 release notes with info about recent _mesa_create_context changes, etc.
Brian Paul [Tue, 20 Jan 2004 02:54:51 +0000 (02:54 +0000)]
initial 6.1 release notes with info about recent _mesa_create_context changes, etc.

20 years agoBefore calling _mesa_create_context(), initialize a dd_function_table struct
Brian Paul [Tue, 20 Jan 2004 02:49:27 +0000 (02:49 +0000)]
Before calling _mesa_create_context(), initialize a dd_function_table struct
by calling _mesa_init_driver_functions() and then plugging in the driver-
specific functions.
In particular, make sure ctx->Driver.NewTextureObject points to the
appropriate driver function so that _all_ texture objects are augmented
with the driver-specific data.
Put in a bunch of assertions in the texture-related driver functions that
texObj->DriverData is valid.  Remove old dead code in near future.

20 years ago_mesa_init_driver_functions() to initialize dd_function_table
Brian Paul [Tue, 20 Jan 2004 02:36:44 +0000 (02:36 +0000)]
_mesa_init_driver_functions() to initialize dd_function_table

20 years agosome more count vs. end confusion
Keith Whitwell [Mon, 19 Jan 2004 23:29:40 +0000 (23:29 +0000)]
some more count vs. end confusion

20 years agoreplace -lm with $(GL_LIB_DEPS) to get -lexpat
Brian Paul [Mon, 19 Jan 2004 18:06:30 +0000 (18:06 +0000)]
replace -lm with $(GL_LIB_DEPS) to get -lexpat

20 years agoreplace CALLOC with MALLOC in _mesa_new_texture_object()
Brian Paul [Mon, 19 Jan 2004 17:41:02 +0000 (17:41 +0000)]
replace CALLOC with MALLOC in _mesa_new_texture_object()

20 years agoremove incorrect comments, added _mesa_bzero() call in _mesa_initialize_texture_object()
Brian Paul [Mon, 19 Jan 2004 17:35:41 +0000 (17:35 +0000)]
remove incorrect comments, added _mesa_bzero() call in _mesa_initialize_texture_object()

20 years agoomit CVS directories from tarballs, bump version to 6.1
Brian Paul [Mon, 19 Jan 2004 16:56:50 +0000 (16:56 +0000)]
omit CVS directories from tarballs, bump version to 6.1

20 years agoMigrate i830 driver to t_vertex.[ch] for building hw vertices.
Keith Whitwell [Mon, 19 Jan 2004 10:41:35 +0000 (10:41 +0000)]
Migrate i830 driver to t_vertex.[ch] for building hw vertices.

20 years agofix glitch from previous check-in (pointer vs int)
Brian Paul [Mon, 19 Jan 2004 00:32:43 +0000 (00:32 +0000)]
fix glitch from previous check-in (pointer vs int)

20 years agominor changes to silence warnings
Brian Paul [Sun, 18 Jan 2004 17:22:50 +0000 (17:22 +0000)]
minor changes to silence warnings

20 years agoChange get_ust_nop()'s parameter from int64_t to uint64_t to silence warnings.
Brian Paul [Sun, 18 Jan 2004 17:22:25 +0000 (17:22 +0000)]
Change get_ust_nop()'s parameter from int64_t to uint64_t to silence warnings.

20 years agochange Data ptr from GLbyte to GLubyte to silence warnings
Brian Paul [Sun, 18 Jan 2004 17:21:15 +0000 (17:21 +0000)]
change Data ptr from GLbyte to GLubyte to silence warnings

20 years agoinclude texobj.h to silence warnings
Brian Paul [Sun, 18 Jan 2004 17:20:41 +0000 (17:20 +0000)]
include texobj.h to silence warnings

20 years agos/char/GLubyte/ to silence warnings
Brian Paul [Sun, 18 Jan 2004 17:19:45 +0000 (17:19 +0000)]
s/char/GLubyte/ to silence warnings

20 years agoinclude sched.h to get sched_yield() prototype
Brian Paul [Sun, 18 Jan 2004 17:19:05 +0000 (17:19 +0000)]
include sched.h to get sched_yield() prototype

20 years agomake second param of driParseConfigFiles() const
Brian Paul [Sun, 18 Jan 2004 17:18:43 +0000 (17:18 +0000)]
make second param of driParseConfigFiles() const

20 years agotweak OpenBSD and SunOS commands
Brian Paul [Sat, 17 Jan 2004 18:31:12 +0000 (18:31 +0000)]
tweak OpenBSD and SunOS commands

20 years agotweak openbsd config
Brian Paul [Sat, 17 Jan 2004 18:30:52 +0000 (18:30 +0000)]
tweak openbsd config

20 years agoadded some missing FLUSH_VERTICES calls
Brian Paul [Sat, 17 Jan 2004 17:33:22 +0000 (17:33 +0000)]
added some missing FLUSH_VERTICES calls

20 years agoFix cosmetic GL_RENDERER string problem (Andreas Stenglein)
Michel Dänzer [Sat, 17 Jan 2004 16:05:40 +0000 (16:05 +0000)]
Fix cosmetic GL_RENDERER string problem (Andreas Stenglein)

20 years agobump version to 6.1 (new development)
Brian Paul [Fri, 16 Jan 2004 21:26:30 +0000 (21:26 +0000)]
bump version to 6.1 (new development)

20 years agoRespect the 'in_use' field in the global LRU as a marker for
Keith Whitwell [Fri, 16 Jan 2004 13:41:18 +0000 (13:41 +0000)]
Respect the 'in_use' field in the global LRU as a marker for
kernel-reserved memory regions.

20 years agofixed refresh rate control in Glide wrapper
Daniel Borca [Fri, 16 Jan 2004 06:59:50 +0000 (06:59 +0000)]
fixed refresh rate control in Glide wrapper

20 years agotweaks for 6.0 release
Brian Paul [Thu, 15 Jan 2004 15:47:57 +0000 (15:47 +0000)]
tweaks for 6.0 release

20 years agoadd casts to quiet compiler warnings
Karl Schultz [Thu, 15 Jan 2004 15:43:07 +0000 (15:43 +0000)]
add casts to quiet compiler warnings

20 years agofix -fomit-frame_pointer typo
Brian Paul [Thu, 15 Jan 2004 14:24:37 +0000 (14:24 +0000)]
fix -fomit-frame_pointer typo

20 years agoimplemented glutTimerFunc
Daniel Borca [Thu, 15 Jan 2004 08:30:05 +0000 (08:30 +0000)]
implemented glutTimerFunc

20 years agodocumentation update
Daniel Borca [Thu, 15 Jan 2004 07:17:31 +0000 (07:17 +0000)]
documentation update

20 years ago_mesa_delete_texture_object and some other updates
Daniel Borca [Thu, 15 Jan 2004 07:16:06 +0000 (07:16 +0000)]
_mesa_delete_texture_object and some other updates

20 years agoCosmetic changes.
Brian Paul [Thu, 15 Jan 2004 00:29:51 +0000 (00:29 +0000)]
Cosmetic changes.
Added a bunch of const qualifiers.
Use _mesa_memcpy() instead of memcpy(), etc.

20 years agochange MALLOC to CALLOC to silence valgrind error in _playback_copy_to_current()
Brian Paul [Thu, 15 Jan 2004 00:09:01 +0000 (00:09 +0000)]
change MALLOC to CALLOC to silence valgrind error in _playback_copy_to_current()

20 years agouse -G not -shared for gcc on SunOS
Brian Paul [Wed, 14 Jan 2004 23:18:47 +0000 (23:18 +0000)]
use -G not -shared for gcc on SunOS

20 years agoadded blurb about NVIDIA extensions
Brian Paul [Wed, 14 Jan 2004 19:51:19 +0000 (19:51 +0000)]
added blurb about NVIDIA extensions

20 years agolatest changes, bug fixes
Brian Paul [Wed, 14 Jan 2004 19:49:22 +0000 (19:49 +0000)]
latest changes, bug fixes

20 years agobump MAX_WIDTH/HEIGHT to 4K pixels
Brian Paul [Wed, 14 Jan 2004 19:48:58 +0000 (19:48 +0000)]
bump MAX_WIDTH/HEIGHT to 4K pixels

20 years agoGenerate mesa.def file for Windows.
Karl Schultz [Wed, 14 Jan 2004 17:45:24 +0000 (17:45 +0000)]
Generate mesa.def file for Windows.

20 years agoReplace with version generated from new python script.
Karl Schultz [Wed, 14 Jan 2004 17:38:14 +0000 (17:38 +0000)]
Replace with version generated from new python script.

20 years agoFix up more confusions with count vs end in array functions
Keith Whitwell [Wed, 14 Jan 2004 10:52:51 +0000 (10:52 +0000)]
Fix up more confusions with count vs end in array functions

20 years agofixed a bug in texture memory manager when in UMA mode
Daniel Borca [Wed, 14 Jan 2004 07:10:12 +0000 (07:10 +0000)]
fixed a bug in texture memory manager when in UMA mode

20 years agoFix initialisation of cubic tecture offsets (Andreas Stenglein)
Michel Dänzer [Wed, 14 Jan 2004 02:26:28 +0000 (02:26 +0000)]
Fix initialisation of cubic tecture offsets (Andreas Stenglein)

20 years agoadd new entrypoints
Karl Schultz [Tue, 13 Jan 2004 23:45:42 +0000 (23:45 +0000)]
add new entrypoints

20 years agotweak aix-gcc config
Brian Paul [Tue, 13 Jan 2004 23:39:34 +0000 (23:39 +0000)]
tweak aix-gcc config

20 years agoAdded support for EXT_texture_mirror_clamp.
Ian Romanick [Tue, 13 Jan 2004 16:21:06 +0000 (16:21 +0000)]
Added support for EXT_texture_mirror_clamp.

20 years agoupdated glext.h, fixed bug 876160
Brian Paul [Tue, 13 Jan 2004 16:18:33 +0000 (16:18 +0000)]
updated glext.h, fixed bug 876160

20 years agoexercise glDeleteProgramsARB
Brian Paul [Tue, 13 Jan 2004 16:17:21 +0000 (16:17 +0000)]
exercise glDeleteProgramsARB

20 years agoglDeleteProgramsARB() failed for fragment programs (bug 876160)
Brian Paul [Tue, 13 Jan 2004 16:14:09 +0000 (16:14 +0000)]
glDeleteProgramsARB() failed for fragment programs (bug 876160)

20 years ago Committing in .
Jouk Jansen [Tue, 13 Jan 2004 16:04:46 +0000 (16:04 +0000)]
 Committing in .

 optional compilation of progs/test/ since it seems not to appear in the
 releases.

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

20 years agoadded support for textures bigger than HW can support (SW rescaling)
Daniel Borca [Tue, 13 Jan 2004 08:47:44 +0000 (08:47 +0000)]
added support for textures bigger than HW can support (SW rescaling)

20 years agore-enabled trilinearness
Daniel Borca [Tue, 13 Jan 2004 08:46:46 +0000 (08:46 +0000)]
re-enabled trilinearness

20 years agosmall fixes
Daniel Borca [Tue, 13 Jan 2004 08:46:12 +0000 (08:46 +0000)]
small fixes

20 years agoupdated FX wrapper
Daniel Borca [Tue, 13 Jan 2004 08:24:43 +0000 (08:24 +0000)]
updated FX wrapper

20 years agoRemoved some dead code. R128 does not (as far as I can tell) support
Ian Romanick [Tue, 13 Jan 2004 02:18:58 +0000 (02:18 +0000)]
Removed some dead code.  R128 does not (as far as I can tell) support
GL_ARB_texture_border_clamp.  The ATI drivers for Windows support it,
but I can see no way to make it work without a fallback.

20 years agoAdded some missing extension strings.
Ian Romanick [Tue, 13 Jan 2004 02:15:29 +0000 (02:15 +0000)]
Added some missing extension strings.

20 years agoremove stuff that's now in glext.h
Brian Paul [Tue, 13 Jan 2004 02:04:57 +0000 (02:04 +0000)]
remove stuff that's now in glext.h

20 years agoupdated to version 21 with OpenGL 1.5 support
Brian Paul [Tue, 13 Jan 2004 01:54:03 +0000 (01:54 +0000)]
updated to version 21 with OpenGL 1.5 support

20 years agosilence compiler warnings
Karl Schultz [Tue, 13 Jan 2004 01:11:09 +0000 (01:11 +0000)]
silence compiler warnings

20 years agoremove unused variable
Karl Schultz [Tue, 13 Jan 2004 01:10:05 +0000 (01:10 +0000)]
remove unused variable

20 years agochange type of loop index var to remove compiler warning.
Karl Schultz [Tue, 13 Jan 2004 01:09:17 +0000 (01:09 +0000)]
change type of loop index var to remove compiler warning.

20 years agoadd cast to quiet compiler warning
Karl Schultz [Tue, 13 Jan 2004 01:08:23 +0000 (01:08 +0000)]
add cast to quiet compiler warning

20 years agoinit an uninitialized variable. This doesn't fix a latent bug because
Karl Schultz [Tue, 13 Jan 2004 01:07:28 +0000 (01:07 +0000)]
init an uninitialized variable.  This doesn't fix a latent bug because
the variable was multiplied by zero.

20 years agoadd casts to silence compiler warnings
Karl Schultz [Tue, 13 Jan 2004 01:05:28 +0000 (01:05 +0000)]
add casts to silence compiler warnings

20 years agoadd t_vertex.c to project
Karl Schultz [Tue, 13 Jan 2004 00:24:03 +0000 (00:24 +0000)]
add t_vertex.c to project

20 years agoremove ss_vb.c from project
Karl Schultz [Tue, 13 Jan 2004 00:23:31 +0000 (00:23 +0000)]
remove ss_vb.c from project

20 years agoDon't call _tnl_draw_range_elements() unless start == 0.
Keith Whitwell [Mon, 12 Jan 2004 23:21:54 +0000 (23:21 +0000)]
Don't call _tnl_draw_range_elements() unless start == 0.

20 years agoRemoved redundant extension strings. The Mesa extension mechanism
Ian Romanick [Mon, 12 Jan 2004 22:50:01 +0000 (22:50 +0000)]
Removed redundant extension strings.  The Mesa extension mechanism
automatically enables "duplicate" extensions without the driver
explicitly enabling them.

20 years agolatest bug fixes
Brian Paul [Mon, 12 Jan 2004 15:30:55 +0000 (15:30 +0000)]
latest bug fixes

20 years agoadded note about mklib permissions
Brian Paul [Mon, 12 Jan 2004 15:30:42 +0000 (15:30 +0000)]
added note about mklib permissions

20 years agomake executable
Brian Paul [Mon, 12 Jan 2004 14:52:21 +0000 (14:52 +0000)]
make executable

20 years agoGlide driver (windowed mode) fix for Voodoo2
Daniel Borca [Mon, 12 Jan 2004 12:28:05 +0000 (12:28 +0000)]
Glide driver (windowed mode) fix for Voodoo2

20 years agocomment-out the touch/rm depend lines
Brian Paul [Sun, 11 Jan 2004 17:15:03 +0000 (17:15 +0000)]
comment-out the touch/rm depend lines

20 years agochange -O to -O2 for aix-gcc
Brian Paul [Sun, 11 Jan 2004 17:14:37 +0000 (17:14 +0000)]
change -O to -O2 for aix-gcc

20 years agofix vertex program debugger issues (Bug 874382)
Brian Paul [Sun, 11 Jan 2004 16:48:14 +0000 (16:48 +0000)]
fix vertex program debugger issues (Bug 874382)

20 years agocall _mesa_delete_texture_object() from in the driver's DeleteTexture function
Brian Paul [Sun, 11 Jan 2004 16:27:53 +0000 (16:27 +0000)]
call _mesa_delete_texture_object() from in the driver's DeleteTexture function

20 years agoadd GL_TEXTURE_CUBE_MAP_ARB to _mesa_max_texture_levels(), reordered some comments
Brian Paul [Sun, 11 Jan 2004 16:21:13 +0000 (16:21 +0000)]
add GL_TEXTURE_CUBE_MAP_ARB to _mesa_max_texture_levels(), reordered some comments

20 years agoActually disable HW TCL capability when SW TCL is forced.
Michel Dänzer [Sun, 11 Jan 2004 13:10:08 +0000 (13:10 +0000)]
Actually disable HW TCL capability when SW TCL is forced.

+ remove some gratuitous whitespace

20 years agomore aix-gcc tweaking
Brian Paul [Sun, 11 Jan 2004 00:05:34 +0000 (00:05 +0000)]
more aix-gcc tweaking

20 years agoaix-gcc tweaks
Brian Paul [Sat, 10 Jan 2004 22:42:34 +0000 (22:42 +0000)]
aix-gcc tweaks

20 years agoremoved MAKELIB lines. tweak openbsd config
Brian Paul [Sat, 10 Jan 2004 22:22:41 +0000 (22:22 +0000)]
removed MAKELIB lines.  tweak openbsd config

20 years agoadded OSMESA_LIB_DEPS needed for some platforms
Brian Paul [Sat, 10 Jan 2004 22:18:41 +0000 (22:18 +0000)]
added OSMESA_LIB_DEPS needed for some platforms

20 years agoadded aix-gcc config
Brian Paul [Sat, 10 Jan 2004 22:14:51 +0000 (22:14 +0000)]
added aix-gcc config

20 years agoUse same steps for Linux and OpenBSD.
Brian Paul [Sat, 10 Jan 2004 22:12:21 +0000 (22:12 +0000)]
Use same steps for Linux and OpenBSD.
Added AIX/gcc support.