mesa.git
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.

20 years agoremove redundant program field initializers in BindProgram(); ctx->Driver.NewProgram...
Brian Paul [Sun, 20 Jun 2004 20:55:36 +0000 (20:55 +0000)]
remove redundant program field initializers in BindProgram(); ctx->Driver.NewProgram() does the inits

20 years agolatest bug fixes, etc.
Brian Paul [Sun, 20 Jun 2004 19:17:39 +0000 (19:17 +0000)]
latest bug fixes, etc.

20 years agostore's to RC/HC didn't work (bug 976287)
Brian Paul [Sun, 20 Jun 2004 19:16:55 +0000 (19:16 +0000)]
store's to RC/HC didn't work (bug 976287)

20 years agoBig-endian texture fixes from Michel Dänzer.
Brian Paul [Sat, 19 Jun 2004 17:44:23 +0000 (17:44 +0000)]
Big-endian texture fixes from Michel Dänzer.

20 years agoRemove ADD_POINTERS code from import() function - it broke UT2004.
Brian Paul [Sat, 19 Jun 2004 15:38:31 +0000 (15:38 +0000)]
Remove ADD_POINTERS code from import() function - it broke UT2004.
Code clean-ups, reformatting, const-correctness, etc.

20 years agoHack for linear fogging. Added empty routines for WGL_ARB_pixel_format WGL_ARB_render...
Daniel Borca [Sat, 19 Jun 2004 11:07:58 +0000 (11:07 +0000)]
Hack for linear fogging. Added empty routines for WGL_ARB_pixel_format WGL_ARB_render_texture WGL_ARB_pbuffer

20 years agoUse correct macros for packing pixel colors -- this bug is probably
Keith Whitwell [Fri, 18 Jun 2004 10:58:30 +0000 (10:58 +0000)]
Use correct macros for packing pixel colors -- this bug is probably
present in many of the other drivers as well.

20 years agoadd missing license texts
Keith Whitwell [Fri, 18 Jun 2004 10:54:48 +0000 (10:54 +0000)]
add missing license texts

20 years agouse I8 internal format for GL_INTENSITY, GL_ALPHA and GL_LUMINANCE texture formats...
Roland Scheidegger [Thu, 17 Jun 2004 21:19:21 +0000 (21:19 +0000)]
use I8 internal format for GL_INTENSITY, GL_ALPHA and GL_LUMINANCE texture formats. Fix various small bugs with tex env combine mode GL_DOT3_RGB(A)/GL_DOT3_RGB(A)_EXT

20 years agouse I8 internal format for GL_INTENSITY, GL_ALPHA and GL_LUMINANCE texture formats...
Roland Scheidegger [Thu, 17 Jun 2004 21:08:02 +0000 (21:08 +0000)]
use I8 internal format for GL_INTENSITY, GL_ALPHA and GL_LUMINANCE texture formats. Fix potential bug with tex env combine mode GL_DOT3_RGB/GL_DOT3_RGB_EXT and ALPHA_SCALE

20 years agofix tex env mode GL_BLEND for GL_INTENSITY texture formats
Roland Scheidegger [Thu, 17 Jun 2004 20:54:46 +0000 (20:54 +0000)]
fix tex env mode GL_BLEND for GL_INTENSITY texture formats

20 years agoMake the test check for core GL version 1.3 in addition to testing for
Ian Romanick [Thu, 17 Jun 2004 20:53:07 +0000 (20:53 +0000)]
Make the test check for core GL version 1.3 in addition to testing for
GL_ARB_texture_compression.  Also make the test list the compression formats
the driver "encourages" the app to use.

20 years agoFix up texture compression mipmapping .. not sure if it fixes FXT1 but
Dave Airlie [Thu, 17 Jun 2004 13:42:45 +0000 (13:42 +0000)]
Fix up texture compression mipmapping .. not sure if it fixes FXT1 but
with S3TC patch it fixes those

20 years agofix component indexing bug in _mesa_texstore_al88()
Brian Paul [Wed, 16 Jun 2004 16:49:59 +0000 (16:49 +0000)]
fix component indexing bug in _mesa_texstore_al88()

20 years agodon't use // comments (Thomas Hellstrom)
Brian Paul [Wed, 16 Jun 2004 15:33:33 +0000 (15:33 +0000)]
don't use // comments (Thomas Hellstrom)

20 years agoremove unused mode function
Dave Airlie [Wed, 16 Jun 2004 12:38:47 +0000 (12:38 +0000)]
remove unused mode function

20 years agoswitch to using driFillInModes fix depthbuffer = 0
Dave Airlie [Wed, 16 Jun 2004 12:31:23 +0000 (12:31 +0000)]
switch to using driFillInModes fix depthbuffer = 0

20 years agoFix batch.ptr when dropping a batchbuffer segment due to zero cliprects.
Keith Whitwell [Wed, 16 Jun 2004 12:03:53 +0000 (12:03 +0000)]
Fix batch.ptr when dropping a batchbuffer segment due to zero cliprects.

20 years agoFix a couple typeos in the tables for driFillInModes.
Ian Romanick [Tue, 15 Jun 2004 16:22:45 +0000 (16:22 +0000)]
Fix a couple typeos in the tables for driFillInModes.

20 years agoadded more compressed formats to is_color_format()
Roland Scheidegger [Tue, 15 Jun 2004 14:11:09 +0000 (14:11 +0000)]
added more compressed formats to is_color_format()

20 years agofix correct parameters passed to StoreImage
Daniel Borca [Tue, 15 Jun 2004 09:06:53 +0000 (09:06 +0000)]
fix correct parameters passed to StoreImage

20 years ago_really_ fix parameters to StoreImage calls.
Adam Jackson [Mon, 14 Jun 2004 23:38:00 +0000 (23:38 +0000)]
_really_ fix parameters to StoreImage calls.

20 years agoadded compressed formats to is_color_format() and updated some comments
Brian Paul [Mon, 14 Jun 2004 21:01:08 +0000 (21:01 +0000)]
added compressed formats to is_color_format() and updated some comments

20 years agoFixed a bug in vertex emitter (untile we move to t_vertex.c)
Daniel Borca [Mon, 14 Jun 2004 09:11:13 +0000 (09:11 +0000)]
Fixed a bug in vertex emitter (untile we move to t_vertex.c)

20 years agoadd i915 as it seems to build okay..
Dave Airlie [Sat, 12 Jun 2004 02:36:42 +0000 (02:36 +0000)]
add i915 as it seems to build okay..

20 years agojust a comment
Brian Paul [Fri, 11 Jun 2004 22:47:47 +0000 (22:47 +0000)]
just a comment

20 years agodisable GL_INTENTSITY in _mesa_is_legal_format_and_type(). See table 3.6 of the...
Brian Paul [Fri, 11 Jun 2004 22:47:22 +0000 (22:47 +0000)]
disable GL_INTENTSITY in _mesa_is_legal_format_and_type().  See table 3.6 of the 1.5 spec