mesa.git
20 years agoupdates from Stephane Marchesin
Brian Paul [Fri, 23 Jul 2004 19:30:33 +0000 (19:30 +0000)]
updates from Stephane Marchesin

20 years agoadded MESA_GLX_FORCE_ALPHA env var
Brian Paul [Fri, 23 Jul 2004 15:49:12 +0000 (15:49 +0000)]
added MESA_GLX_FORCE_ALPHA env var

20 years agoadded support for MESA_GLX_FORCE_ALPHA env var
Brian Paul [Fri, 23 Jul 2004 15:47:04 +0000 (15:47 +0000)]
added support for MESA_GLX_FORCE_ALPHA env var

20 years agoALIGN16 macro repairs
Brian Paul [Fri, 23 Jul 2004 15:45:56 +0000 (15:45 +0000)]
ALIGN16 macro repairs

20 years agofixed pixelpiped DrawBitmap / DrawPixels (clipping was upside-down)
Daniel Borca [Fri, 23 Jul 2004 08:59:09 +0000 (08:59 +0000)]
fixed pixelpiped DrawBitmap / DrawPixels (clipping was upside-down)

20 years agopartial GL_BLEND for Voodoo1
Daniel Borca [Wed, 21 Jul 2004 08:46:55 +0000 (08:46 +0000)]
partial GL_BLEND for Voodoo1

20 years agominor doc update
Daniel Borca [Wed, 21 Jul 2004 08:45:35 +0000 (08:45 +0000)]
minor doc update

20 years agofixed a bug in clear routine
Daniel Borca [Wed, 21 Jul 2004 08:44:26 +0000 (08:44 +0000)]
fixed a bug in clear routine

20 years agofix compare w/ zero warnings (bug 988766)
Brian Paul [Tue, 20 Jul 2004 21:16:07 +0000 (21:16 +0000)]
fix compare w/ zero warnings (bug 988766)

20 years agoerror message fixups and some debug code
Brian Paul [Tue, 20 Jul 2004 21:15:13 +0000 (21:15 +0000)]
error message fixups and some debug code

20 years agofix compare w/ zero warnings (bug #988766)
Brian Paul [Tue, 20 Jul 2004 21:12:56 +0000 (21:12 +0000)]
fix compare w/ zero warnings (bug #988766)

20 years agonew image (see mesa bug #993926)
Brian Paul [Tue, 20 Jul 2004 21:00:34 +0000 (21:00 +0000)]
new image (see mesa bug #993926)

20 years agoremove -lXm (motif) from GLW_LIB_DEPS since it's not needed by default
Brian Paul [Tue, 20 Jul 2004 20:43:24 +0000 (20:43 +0000)]
remove -lXm (motif) from GLW_LIB_DEPS since it's not needed by default

20 years agoGL_EXT_texture_env_add shouldn't be conditioned by multitex, or should it?
Daniel Borca [Tue, 20 Jul 2004 10:33:21 +0000 (10:33 +0000)]
GL_EXT_texture_env_add shouldn't be conditioned by multitex, or should it?

20 years agotrying vertex_program...
Daniel Borca [Mon, 19 Jul 2004 14:08:46 +0000 (14:08 +0000)]
trying vertex_program...

20 years agoseveral new bugs
Daniel Borca [Mon, 19 Jul 2004 08:06:00 +0000 (08:06 +0000)]
several new bugs

20 years agominor corrections
Daniel Borca [Fri, 16 Jul 2004 07:54:46 +0000 (07:54 +0000)]
minor corrections

20 years agoGL_MODULATE/GL_REPLACE multitex (wasteful, but apparently needed by some apps)
Daniel Borca [Fri, 16 Jul 2004 07:53:53 +0000 (07:53 +0000)]
GL_MODULATE/GL_REPLACE multitex (wasteful, but apparently needed by some apps)

20 years agoSGIS_generate_mipmap
Daniel Borca [Fri, 16 Jul 2004 07:53:02 +0000 (07:53 +0000)]
SGIS_generate_mipmap

20 years agoMiniglx clients now authorize with server DRM
Jon Smirl [Fri, 16 Jul 2004 04:27:00 +0000 (04:27 +0000)]
Miniglx clients now authorize with server DRM

20 years agoadd debugging for compresssed textures
Dave Airlie [Thu, 15 Jul 2004 10:51:17 +0000 (10:51 +0000)]
add debugging for compresssed textures

20 years agofix up heights for i830/i915 texture compression
Dave Airlie [Thu, 15 Jul 2004 10:47:13 +0000 (10:47 +0000)]
fix up heights for i830/i915 texture compression

20 years agomove config options to same place as other drivers (again for S3TC patch later)
Dave Airlie [Thu, 15 Jul 2004 08:50:27 +0000 (08:50 +0000)]
move config options to same place as other drivers (again for S3TC patch later)

20 years agouse a switch statement makes integrating the s3tc patch easier
Dave Airlie [Thu, 15 Jul 2004 08:41:26 +0000 (08:41 +0000)]
use a switch statement makes integrating the s3tc patch easier

20 years agoenable FXT1 texture compression for ixxx chipsets
Dave Airlie [Thu, 15 Jul 2004 08:08:44 +0000 (08:08 +0000)]
enable FXT1 texture compression for ixxx chipsets
commented out Keiths extensions strings

20 years agomove over changes to intel driver from i830 driver for modes
Dave Airlie [Thu, 15 Jul 2004 06:29:16 +0000 (06:29 +0000)]
move over changes to intel driver from i830 driver for modes

20 years agofixed vertex RGBA
Daniel Borca [Tue, 13 Jul 2004 06:45:56 +0000 (06:45 +0000)]
fixed vertex RGBA

20 years agoMake solo radeon/r128 drivers track fix for DRI bug 849
Jon Smirl [Sat, 10 Jul 2004 21:17:52 +0000 (21:17 +0000)]
Make solo radeon/r128 drivers track fix for DRI bug 849

20 years agoRemove DRM_PAGE_SIZE from fb and i810 drivers since it was being used.
Jon Smirl [Sat, 10 Jul 2004 19:14:18 +0000 (19:14 +0000)]
Remove DRM_PAGE_SIZE from fb and i810 drivers since it was being used.

20 years agoFix unichrome solo build to not need X11 headers. Minor change to
Jon Smirl [Sat, 10 Jul 2004 17:09:57 +0000 (17:09 +0000)]
Fix unichrome solo build to not need X11 headers. Minor change to
use mesa_alloc/free.

20 years agoMake GET_PROGRAM_NAME work with uCLibc using the __progname hack.
Felix Kuehling [Sat, 10 Jul 2004 11:25:02 +0000 (11:25 +0000)]
Make GET_PROGRAM_NAME work with uCLibc using the __progname hack.
Improved that hack to remove leading directory names.

20 years agoFix mesa-solo config to define _GNU_SOURCE so that program_invocation_short_name
Jon Smirl [Fri, 9 Jul 2004 18:46:51 +0000 (18:46 +0000)]
Fix mesa-solo config to define _GNU_SOURCE so that program_invocation_short_name
will be correctly defined.

20 years agouse tnl_emit_func, it's safer
Daniel Borca [Tue, 6 Jul 2004 12:37:09 +0000 (12:37 +0000)]
use tnl_emit_func, it's safer

20 years agocorrect X86_DISPATCH_FUNCTION_SIZE if THREADS is defined
Roland Scheidegger [Tue, 6 Jul 2004 00:32:03 +0000 (00:32 +0000)]
correct X86_DISPATCH_FUNCTION_SIZE if THREADS is defined

20 years agoConvert miniglx to use xf86drm from dri/drm/libdrm instead of src/mesa/drivers/dri...
Jon Smirl [Mon, 5 Jul 2004 23:51:48 +0000 (23:51 +0000)]
Convert miniglx to use xf86drm from dri/drm/libdrm instead of src/mesa/drivers/dri/dri_client

20 years agoConvert miniglx to use Ian's fancy new driver config code.
Jon Smirl [Mon, 5 Jul 2004 23:42:02 +0000 (23:42 +0000)]
Convert miniglx to use Ian's fancy new driver config code.
This removes the miniglx driver function InitContextModes().
All of the server directories were edited to remove the implementations.

20 years agoFix typos in comments.
Ian Romanick [Mon, 5 Jul 2004 22:42:14 +0000 (22:42 +0000)]
Fix typos in comments.

20 years agoAnother "if it ain't broke, don't fix it" moment. Revert some more
Ian Romanick [Mon, 5 Jul 2004 22:40:54 +0000 (22:40 +0000)]
Another "if it ain't broke, don't fix it" moment.  Revert some more
code in _glapi_set_dispatch to its 1.74 form.  This fixes a "problem"
with buggy apps that make GL calls with no bound GL context (i.e.,
Enemy Territory during shut-down).

20 years agofixed AIX color interpolation bug
Brian Paul [Mon, 5 Jul 2004 14:54:16 +0000 (14:54 +0000)]
fixed AIX color interpolation bug

20 years agopatch for AIX (bug 983144)
Brian Paul [Mon, 5 Jul 2004 14:50:12 +0000 (14:50 +0000)]
patch for AIX (bug 983144)

20 years agoadded cast to fix AIX color interpolation problem (bug 983144)
Brian Paul [Mon, 5 Jul 2004 14:48:15 +0000 (14:48 +0000)]
added cast to fix AIX color interpolation problem (bug 983144)

20 years agoadded GL_ARB_point_sprite.
Daniel Borca [Mon, 5 Jul 2004 06:47:17 +0000 (06:47 +0000)]
added GL_ARB_point_sprite.
color masking correctly implemented for 15bpp.
small fixes for textures and tri engine.

20 years agofixed non-threaded codepath
Daniel Borca [Mon, 5 Jul 2004 06:15:37 +0000 (06:15 +0000)]
fixed non-threaded codepath

20 years agoBugzilla #755: Fix polygon offset by setting DEPTH_SCALE to depth_scale instead
Eric Anholt [Sun, 4 Jul 2004 20:49:04 +0000 (20:49 +0000)]
Bugzilla #755: Fix polygon offset by setting DEPTH_SCALE to depth_scale instead
of 1.0.

20 years agoPatch removes _SOLO definition needed for mesa-solo. mesa-solo
Jon Smirl [Sun, 4 Jul 2004 20:33:48 +0000 (20:33 +0000)]
Patch removes _SOLO definition needed for mesa-solo. mesa-solo
uses the NEW_INTERFACE now so _SOLO isn't necessary anymore.
Tested with the hardware that I own.

20 years agodocument some assumptions made about compressed texture tile size
Brian Paul [Fri, 2 Jul 2004 16:39:59 +0000 (16:39 +0000)]
document some assumptions made about compressed texture tile size

20 years agoa few comments
Brian Paul [Fri, 2 Jul 2004 16:36:29 +0000 (16:36 +0000)]
a few comments

20 years agodisable some debug printfs
Brian Paul [Fri, 2 Jul 2004 14:35:50 +0000 (14:35 +0000)]
disable some debug printfs

20 years agoredo the event loop to make event response better
Brian Paul [Fri, 2 Jul 2004 14:35:05 +0000 (14:35 +0000)]
redo the event loop to make event response better

20 years agoinit some vars to silence warnings
Brian Paul [Fri, 2 Jul 2004 14:22:42 +0000 (14:22 +0000)]
init some vars to silence warnings

20 years agoadded GL_EXT_fog_coord.
Daniel Borca [Fri, 2 Jul 2004 10:34:48 +0000 (10:34 +0000)]
added GL_EXT_fog_coord.
added GL_EXT_blend_equation_separate.
minor cleanup.

20 years agoput back the correct dispatcher for non-threaded builds.
Daniel Borca [Fri, 2 Jul 2004 10:32:52 +0000 (10:32 +0000)]
put back the correct dispatcher for non-threaded builds.
fixed x86 entrypoints for Mingw/DJGPP.

20 years agoFix a potential race condition. Fix a couple of places where
Ian Romanick [Fri, 2 Jul 2004 00:01:09 +0000 (00:01 +0000)]
Fix a potential race condition.  Fix a couple of places where
_glapi_DispatchTSD wasn't properly handled.

20 years agoMake sure THREADS is set no matter which threading model is selected.
Ian Romanick [Thu, 1 Jul 2004 23:58:15 +0000 (23:58 +0000)]
Make sure THREADS is set no matter which threading model is selected.

20 years agojust a test; no change
Brian Paul [Thu, 1 Jul 2004 20:13:26 +0000 (20:13 +0000)]
just a test; no change

20 years agojust a test; no change
Brian Paul [Thu, 1 Jul 2004 20:12:44 +0000 (20:12 +0000)]
just a test; no change

20 years agojust a test; no change
Brian Paul [Thu, 1 Jul 2004 17:57:00 +0000 (17:57 +0000)]
just a test; no change

20 years agojust a test; no change
Brian Paul [Thu, 1 Jul 2004 17:56:29 +0000 (17:56 +0000)]
just a test; no change

20 years agojust a test; no change
Brian Paul [Thu, 1 Jul 2004 16:06:32 +0000 (16:06 +0000)]
just a test; no change

20 years agoadded commands for AIX shared libs (Shane Blackett)
Brian Paul [Thu, 1 Jul 2004 15:33:14 +0000 (15:33 +0000)]
added commands for AIX shared libs (Shane Blackett)

20 years agoadded aix-static config, make aix config build dynamic libs
Brian Paul [Thu, 1 Jul 2004 15:32:51 +0000 (15:32 +0000)]
added aix-static config, make aix config build dynamic libs

20 years agoRename the various function types in t_context.h to include a tnl_ prefix.
Keith Whitwell [Thu, 1 Jul 2004 13:14:05 +0000 (13:14 +0000)]
Rename the various function types in t_context.h to include a tnl_ prefix.

20 years agoRemove __driRegisterExtensions
Keith Whitwell [Thu, 1 Jul 2004 13:00:19 +0000 (13:00 +0000)]
Remove __driRegisterExtensions

20 years agoRename 'emit_func' usages in drivers. Will also rename the ones in
Keith Whitwell [Thu, 1 Jul 2004 12:01:59 +0000 (12:01 +0000)]
Rename 'emit_func' usages in drivers.  Will also rename the ones in
t_context.h.

20 years agofix for older gcc's (from freedesktop bug id #419)
Alan Hourihane [Thu, 1 Jul 2004 11:35:53 +0000 (11:35 +0000)]
fix for older gcc's (from freedesktop bug id #419)

20 years agoAdd t_context.h include for drivers.
Keith Whitwell [Thu, 1 Jul 2004 05:35:12 +0000 (05:35 +0000)]
Add t_context.h include for drivers.

20 years agoAdd infrastructure for t_vertex.c codegen. Add an example driver
Keith Whitwell [Wed, 30 Jun 2004 11:48:21 +0000 (11:48 +0000)]
Add infrastructure for t_vertex.c codegen.  Add an example driver
for this which spits out C code for the generated functions.

20 years agoFirst phase of TLS work. At this point SPARC assembly dispatch is
Ian Romanick [Tue, 29 Jun 2004 19:08:20 +0000 (19:08 +0000)]
First phase of TLS work.  At this point SPARC assembly dispatch is
broken, but it will be fixed "shortly."  This is pretty much the same
as the patch I sent to the dri-devel list on 22-Jun-2004.

20 years agoThis should make most linux-solo drivers work again. Mainly a fix
Jon Smirl [Tue, 29 Jun 2004 04:50:29 +0000 (04:50 +0000)]
This should make most linux-solo drivers work again. Mainly a fix
for changing SAREA size form DRM_PAGE_SIZE to SAREA_MAX. fb driver
is still broken.

20 years agofixed vertex program state references
Brian Paul [Tue, 29 Jun 2004 00:30:06 +0000 (00:30 +0000)]
fixed vertex program state references

20 years agofix another bug in get_register_pointer()
Brian Paul [Tue, 29 Jun 2004 00:21:04 +0000 (00:21 +0000)]
fix another bug in get_register_pointer()

20 years agothe get_register_pointer() function was pretty well broken in a few ways
Brian Paul [Tue, 29 Jun 2004 00:03:59 +0000 (00:03 +0000)]
the get_register_pointer() function was pretty well broken in a few ways

20 years agodisable some debug code
Brian Paul [Tue, 29 Jun 2004 00:00:29 +0000 (00:00 +0000)]
disable some debug code

20 years agoremove trailing whitespace and misc clean-ups
Brian Paul [Tue, 29 Jun 2004 00:00:06 +0000 (00:00 +0000)]
remove trailing whitespace and misc clean-ups

20 years agoadd missing R200_RB3D_BLENDCOLOR to r200/radeon_sanity.c
Roland Scheidegger [Mon, 28 Jun 2004 22:32:38 +0000 (22:32 +0000)]
add missing R200_RB3D_BLENDCOLOR to r200/radeon_sanity.c

20 years agooption to test with display lists
Brian Paul [Mon, 28 Jun 2004 22:03:44 +0000 (22:03 +0000)]
option to test with display lists

20 years agoglBegin/EndQueryARB bug fix
Brian Paul [Mon, 28 Jun 2004 22:02:23 +0000 (22:02 +0000)]
glBegin/EndQueryARB bug fix

20 years agoglBegin/EndQueryARB didn't work inside display lists
Brian Paul [Mon, 28 Jun 2004 22:01:12 +0000 (22:01 +0000)]
glBegin/EndQueryARB didn't work inside display lists

20 years agomake sure Q has a good value before drawing a sample
Brian Paul [Mon, 28 Jun 2004 15:16:28 +0000 (15:16 +0000)]
make sure Q has a good value before drawing a sample

20 years agoMesa-solo builds with these changes. There are still more fixups needed to
Jon Smirl [Sat, 26 Jun 2004 17:16:42 +0000 (17:16 +0000)]
Mesa-solo builds with these changes. There are still more fixups needed to
get individual drivers working again. This converts miniglx to the new
dri interface. Thanks to Erdi Chen for the new interface code.

20 years agoRe-enable SPARC assembly on sunos5-gcc platform.
Ian Romanick [Sat, 26 Jun 2004 00:02:51 +0000 (00:02 +0000)]
Re-enable SPARC assembly on sunos5-gcc platform.

20 years agoMake sure mklib sees the definition of CC and CXX. Make mklib respect
Ian Romanick [Fri, 25 Jun 2004 22:51:39 +0000 (22:51 +0000)]
Make sure mklib sees the definition of CC and CXX.  Make mklib respect
the definitions of CC and CXX on Linux.  This fixed build issues with
sunos5-gcc and build issues on GCC 2.x Linux when CC and CXX are set
to a GCC 3.x compiler.

20 years agoCorrected a float to ubyte conversion bug with fog enabled.
Erdi Chen [Fri, 25 Jun 2004 20:31:40 +0000 (20:31 +0000)]
Corrected a float to ubyte conversion bug with fog enabled.

20 years agoremove program from hash table when deleted (bug 979514)
Brian Paul [Fri, 25 Jun 2004 14:46:48 +0000 (14:46 +0000)]
remove program from hash table when deleted (bug 979514)

20 years agonew test which uses mixed texgen/non-texgen texture coordinates to exhibit potential...
Roland Scheidegger [Fri, 25 Jun 2004 13:49:46 +0000 (13:49 +0000)]
new test which uses mixed texgen/non-texgen texture coordinates to exhibit potential bugs in hardware drivers

20 years agofix GL_HP_occlusion_test bug, use glext.h version 23
Brian Paul [Thu, 24 Jun 2004 16:39:53 +0000 (16:39 +0000)]
fix GL_HP_occlusion_test bug, use glext.h version 23

20 years agofix HP occlusion testing when using generic span path
Brian Paul [Thu, 24 Jun 2004 16:35:18 +0000 (16:35 +0000)]
fix HP occlusion testing when using generic span path

20 years agofix capitalization, new comments, etc
Brian Paul [Thu, 24 Jun 2004 16:32:27 +0000 (16:32 +0000)]
fix capitalization, new comments, etc

20 years agoadded library dependencies (bug #978758)
Brian Paul [Thu, 24 Jun 2004 15:35:42 +0000 (15:35 +0000)]
added library dependencies (bug #978758)

20 years agohack for compressed textures with aspectratio greater than 8:1
Daniel Borca [Thu, 24 Jun 2004 06:48:05 +0000 (06:48 +0000)]
hack for compressed textures with aspectratio greater than 8:1

20 years agodisabled unnecessary assertions in texture replicator
Daniel Borca [Thu, 24 Jun 2004 06:44:38 +0000 (06:44 +0000)]
disabled unnecessary assertions in texture replicator

20 years agoadded back x86 entrypoints
Daniel Borca [Thu, 24 Jun 2004 06:42:21 +0000 (06:42 +0000)]
added back x86 entrypoints

20 years agoFixed occlusion_zless_triangle() to work with 16 or 32-bit Z buffers.
Brian Paul [Wed, 23 Jun 2004 22:47:46 +0000 (22:47 +0000)]
Fixed occlusion_zless_triangle() to work with 16 or 32-bit Z buffers.
Removed some unneeded lines, other minor clean-ups.

20 years agorevert accidental change from rev. 1.10
Roland Scheidegger [Wed, 23 Jun 2004 17:37:16 +0000 (17:37 +0000)]
revert accidental change from rev. 1.10

20 years agoupdated to version 23
Brian Paul [Wed, 23 Jun 2004 14:48:04 +0000 (14:48 +0000)]
updated to version 23

20 years agoDon't include glapi_*.S files in DRI / solo builds.
Ian Romanick [Tue, 22 Jun 2004 21:32:59 +0000 (21:32 +0000)]
Don't include glapi_*.S files in DRI / solo builds.

20 years agoAlexander Gottwald's patch for cygwin
Brian Paul [Tue, 22 Jun 2004 17:16:02 +0000 (17:16 +0000)]
Alexander Gottwald's patch for cygwin

20 years agocheck for NULL pointer to glTexImage (fix verified by Adam Jackson)
Brian Paul [Tue, 22 Jun 2004 17:06:30 +0000 (17:06 +0000)]
check for NULL pointer to glTexImage (fix verified by Adam Jackson)

20 years agoadded support for non-64bit compilers
Daniel Borca [Mon, 21 Jun 2004 10:41:01 +0000 (10:41 +0000)]
added support for non-64bit compilers

20 years agocall ctx->Driver.NewProgram() instead of CALLOC/etc in _mesa_LoadProgramNV. Fixes...
Brian Paul [Sun, 20 Jun 2004 20:57:22 +0000 (20:57 +0000)]
call ctx->Driver.NewProgram() instead of CALLOC/etc in _mesa_LoadProgramNV.  Fixes problems found with Cg demos.